gnueabi-g++: Segmentation fault; glibc detected *** free(): invalid pointer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnueabi-g++: Segmentation fault; glibc detected *** free(): invalid pointer



    In running one of our test suites over our source code, calling 
CodeSourcery's arm-none-linux-gnueabi-g++ version 3.4.3, I encounter the 
following error message:

	*** glibc detected *** free(): invalid pointer: 0x410ed000 ***
	arm-none-linux-gnueabi-g++: Internal error: Segmentation fault (program
	cc1plus)
	Please submit a full bug report.
	Send email to arm-gnu@xxxxxxxxxxxxxxxx for instructions.

    The problem seems to be quite fragile.  It happens with -g3 -O0 -c -o 
<file> -fpic; I believe all of these options are necessary for the problem, 
except that at -O1, the "invalid pointer" message is still emitted, but not 
your email address and the request to report the problem.  (It doesn't happen 
at all at -O2 or -O3.)  It doesn't happen with a preprocessed file, I'm 
afraid, so I'd need to get permission to send you enough of our source to 
reproduce it.  
    It doesn't happen with the version of gcc-3.4.1-glibc-2.3.3 
arm-softfloat-linux-gnu-g++ we're using internally.
    This is on Suse 9.2/2.6.8-24.14.




---
flash@xxxxxxxxx
http://pobox.com/~flash
QA Lead for Compilers and Debuggers
PalmSource, Inc.