c++/9588: memory fault when user throws exception from terminate()

Alan Modra amodra@bigpond.net.au
Thu Feb 6 04:47:00 GMT 2003


I would guess that you have a library, most likely libc, built with
a buggy toolchain that didn't terminate .eh_frame with a zero.  You
can use a recent (later than 2002-11-04) version of readelf to
display the terminator with something like

powerpc64-linux-readelf --debug-dump=frames \
 /usr/local/powerpc64-linux/lib/libc.so.6 | grep ZERO

which should result in

xxxxxxxx ZERO terminator

As far as I know, Jakub Jelinek fixed the toolchain problem 2002-04-22.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gcc-bugs mailing list