Segmentation Fault
Tom Tromey
tromey@cygnus.com
Fri Aug 6 18:56:00 GMT 1999
>>>>> "Kresten" == Kresten Krab Thorup <krab@gnu.org> writes:
Kresten> What is happening here is, that the "module initializer" for
Kresten> the module natClass.cc has not yet been run. (I.e., the
Kresten> logic that also does C++ file-scope initialization). This
Kresten> renders the variable `init_name' and `init_signature'
Kresten> unititialized (which asre the null values you observe). This
Kresten> is strange, since you've reached main, and this stuff happens
Kresten> in __main (which is secretly called as the first thing in
Kresten> main).
This makes it sound like either a Solaris runtime (ld.so) bug, or
perhaps a bug in the linker being used. Gregor, what linker are you
using? Can you try a static link and tell me if it works for you?
Kresten> I had the same problem on Solaris a while back, linking
Kresten> statically solved the problem, but that's a pain of cause.
Especially since the LGPL is really a pain when static linking.
Tom
More information about the Java
mailing list