GCJ application runs not too bad with shared libs, but crasheswith static libs

Scott Gilbertson scottg@mantatest.com
Thu Nov 21 09:55:00 GMT 2002


> On Wed, 20 Nov 2002, Scott Gilbertson wrote:
> > (gdb) run
> > Starting program: /home/scott/mts5000/java/mts5000.bin PC
> > ... lots of application-generated stuff...
> > Program received signal SIGABRT, Aborted.
> > 0x0817b8e4 in __libc_write ()
> > (gdb) where
> > #0  0x0817b8e4 in __libc_write ()
>
> What are other threads doing?  I doubt that write() can trigger a
> SIGABRT.  More likely, this thread is waiting for I/O while some other
> thread caused the abort.
>
> Jeff

That's my guess too, but "info threads" doesn't give any output in gdb.
Since I'm new to linux debugging I assume I'm doing something wrong.



More information about the Java mailing list