serious(?) glibc backtrace() problem on IA64

Boehm, Hans hans_boehm@hp.com
Wed Apr 17 00:22:00 GMT 2002


Gcc 3.1 libjava seems to invoke the glibc backtrace() function
Throwable::fillInStackTrace whenever it appears to be available.
Unfortunately, at least my copy of glibc 2.2.4 seems to use the
sysdeps/generic implementation of backtrace() on IA64.  That implementation
in fact completely broken on IA64.  The end result seems to be that mostly
it quietly does nothing useful, occasionally it generates an unaligned
access, and even less frequently it generates a SIGSEGV.

Is this fixed in other versions of glibc?  Should the libjava configury
stuff explicitly turn off HAVE_BACKTRACE?  If so, can an autoconf expert add
that hack to at least the 3.1 tree?

In the longer term, if this is still in glibc, it seems to me that this is
the wrong default for backtrace() on IA64.

Thanks.

Hans



More information about the Java mailing list