Chris Toshok ([EMAIL PROTECTED]) wrote:
> wow, interesting.  can you run it under gdb and get a stack trace?

Your wish is my command:

larissa:~/cvs/mozilla/nsprpub/pr/src/pthreads$ gdb japhar
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i486-slackware-linux), 
Copyright 1996 Free Software Foundation, Inc...
(gdb) run
Starting program: /usr/local/japhar/bin/japhar 
Assertion failure: _PT_PTHREAD_MUTEX_IS_LOCKED(lock->mutex), at ptsynch.c:183

Program received signal SIGBUS, Bus error.
0x403824f1 in __kill ()
(gdb) where
#0  0x403824f1 in __kill ()
#1  0x4038230f in raise (sig=7) at ../sysdeps/posix/raise.c:28
#2  0x400b891a in SIGNAL_crash () at signals.c:66
#3  0x400982d5 in abort () at abort.c:101
#4  0x4002556f in PR_Assert () at prlog.c:281
#5  0x4003e6e4 in PR_Unlock () at ptsynch.c:126
#6  0x40032710 in PR_GetEnv () at prenv.c:57
#7  0x400205d4 in _PR_InitFdCache () at prfdcach.c:131
#8  0x4004258c in _PR_InitIO () at ptio.c:1192
#9  0x40033414 in _PR_InitStuff () at prinit.c:196
#10 0x40033460 in _PR_ImplicitInitialization () at prinit.c:208
#11 0x400326ca in PR_GetEnv () at prenv.c:57
#12 0x40098f11 in HVM_ClasspathGetUserClasspath () at classpath.c:125
#13 0x804926d in parse_command_line (argc=1, argv=0xbffffa98) at japhar.c:157
#14 0x80493e3 in main (argc=1, argv=0xbffffa98) at japhar.c:234
(gdb) 

This looks like we can't even start things up.  Maybe this version
from CVS is bad and I should try downloading one of the prepackaged
ones.

-- 
Aaron M. Renn ([EMAIL PROTECTED]) http://www.urbanophile.com/arenn/

Reply via email to