forum.alglib.net
http://forum.alglib.net/

glibc memory errors
http://forum.alglib.net/viewtopic.php?f=2&t=559
Page 1 of 1

Author:  pmartin [ Fri Apr 06, 2012 8:17 pm ]
Post subject:  glibc memory errors

Hello all,

I am working on developing a C++ application using alglib. I have successfully compiled and run programs using alglib on an x86 architecture. I have run these programs 100s of times without errors.

Recently I have started cross-compiling these programs for the gumstix architecture. These programs will run fine on occasion, but will often have random memory allocation errors. I am not doing any sort of memory allocation in my programs, but merely using alglib for various linear algebra functions. The types of errors seem to be with glibc:

*** glibc detected *** corrupted double-linked list: 0xb7e15938 ***

*** glibc detected *** ./crLocalizer_test_arm: free(): invalid next size (fast):

Do you have any tips or sugesstions on why I might be getting these types of errors. Again all of this code seems to work fine on the x86 architecture. The errors result when trying to run on arm architecture.

Thanks in advance!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/