Subject: native threads trouble? (mozilla)
To: None <port-macppc@netbsd.org>
From: m. kolb <muk@msu.edu>
List: port-macppc
Date: 04/15/2003 10:54:09
I've been running netbsd-current on my g4 quicksilver for a few months
now, and have had much success thanks to the hard work of the developers
here.

I'm kind of at a loss right now though.  I updated my xsrc to the 4.3.0
stuff, and subsequently had to rebuild my x apps.  Unfortunetly,
phoenix/mozilla is not working after the rebuild.  Trying to start
mozilla results in the process getting stuck in a poll().  Here is the
backtrace derived by attaching gdb to the process (unfortunetly, I have
no idea how to do anything with gdb and threads, so I just did a
straight bt):

(gdb) bt
#0  0x41e83c60 in poll () at
    /usr/src/lib/csu/powerpc/../common_elf/crti.c:56
#1  0x41e3c41c in poll (fds=0x435bfd08, nfds=1, timeout=-1)
    at /usr/src/lib/libpthread/pthread_cancelstub.c:227
#2  0x4197c7bc in PR_OpenDir () from
    /usr/pkg/lib/mozilla/libnspr4.so
#3  0x4197c95c in PR_Poll () from /usr/pkg/lib/mozilla/libnspr4.so
#4  0x422b7d70 in nsSocketTransportService::Poll ()
    from /usr/pkg/lib/mozilla/components/libnecko.so
#5  0x422b87a0 in nsSocketTransportService::Run ()
    from /usr/pkg/lib/mozilla/components/libnecko.so
#6  0x4200c964 in nsThread::Main () from /usr/pkg/lib/mozilla/libxpcom.so
#7  0x4197df98 in PR_Select () from /usr/pkg/lib/mozilla/libnspr4.so
#8  0x41e3d5d4 in pthread__create_tramp (start=0xd1, arg=0x1)
    at /usr/src/lib/libpthread/pthread.c:333
#9  0x41ec18f0 in _resumecontext ()
    at /usr/src/lib/libc/gen/ieee754_ldexp.c:152
(gdb) continue
Continuing.
[New LWP 0]

Program exited with code 01.

the continue results in this at the shell:
pollywog: {13} mozilla
assertion "0" failed: file "/usr/src/lib/libpthread/pthread.c", line
377, function "pthread__idle"

heh, this might be helpful :)
pollywog: {3} uname -a
NetBSD pollywog 1.6R NetBSD 1.6R (MOE) #3: Mon Apr 14 10:44:19 EDT 2003
muk@pollywog:/usr/obj/sys/arch/macppc/compile/MOE macppc

Any additional information needed will be readily provided.  Just let me
know.  Thanks a lot.

./matt

-- 
m. kolb  <muk@msu.edu>