Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 01:44:35 +0100
From:      Joan Picanyol <lists-freebsd@biaix.org>
To:        freebsd-ports@freebsd.org, freebsd-mozilla@freebsd.org
Subject:   mozilla installation hangs
Message-ID:  <20041230004435.GB58425@grummit.biaix.org>

next in thread | raw e-mail | index | archive | help
[please honour MFT, not subscribed]

Hi,

After succesfully building Mozilla, it hangs while installing at:

+++ JavaScript debugging hooks installed.
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: SelfRegisterDll(libnegotiateauth.so) Load FAILED with error: /usr/X11R6/lib/mozilla/components/libnegotiateauth.so: Undefined symbol "GSS_C_NT_HOSTBASED_SERVICE"
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
WARNING: nsExceptionService ignoring thread destruction after shutdown, file nsExceptionService.cpp, line 191
+++ JavaScript debugging hooks removed.
nsStringStats
 => mAllocCount: 5272
 => mReallocCount: 1755
 => mFreeCount: 5272
 => mShareCount: 7881
 => mAdoptCount: 2389
 => mAdoptFreeCount: 2388
Type Manifest File: /usr/X11R6/lib/mozilla/components/xpti.dat
*** Chrome Registration of package: Checking for contents.rdf at jar:resource:/chrome/comm.jar!/content/necko/

^T tells me that regchrome is waiting on the "kserel" state, and in top
I can see there are actually four threads:

 1863 root      96    0 22600K 10784K select   0:00  0.00%  0.00% regchrome
 1863 root      20    0 22600K 10784K ksesig   0:00  0.00%  0.00% regchrome
 1863 root      20    0 22600K 10784K kserel   0:00  0.00%  0.00% regchrome
 1863 root      -8    0 22600K 10784K piperd   0:00  0.00%  0.00% regchrome

Which sit there doing nothing. If I killall the installation continues
and finishes successfully, but mozilla doesn't start, I get the same
thing when trying to to start it:

 3336 joan      96    0 36392K 18772K select   0:00  0.00%  0.00% mozilla-bin
 3336 joan      20    0 36392K 18772K kserel   0:00  0.00%  0.00% mozilla-bin
 3336 joan      20    0 36392K 18772K ksesig   0:00  0.00%  0.00% mozilla-bin
 3336 joan      -8    0 36392K 18772K piperd   0:00  0.00%  0.00% mozilla-bin

Starting with mozilla -g I can see:

(gdb) run
Starting program: /usr/X11R6/lib/mozilla/mozilla-bin 
Type Manifest File: /usr/X11R6/lib/mozilla/components/xpti.dat
+++ JavaScript debugging hooks installed.
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: SelfRegisterDll(libnegotiateauth.so) Load FAILED with error: /usr/X11R6/lib/mozilla/components/libnegotiateauth.so: Undefined symbol "GSS_C_NT_HOSTBASED_SERVICE"
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)

*** Chrome Registration of package: Checking for contents.rdf at jar:resource:/chrome/comm.jar!/content/necko/
^C
Program received signal SIGINT, Interrupt.
[Switching to Thread 2 (LWP 100158)]
0x2897d01f in pthread_testcancel () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0x2897d01f in pthread_testcancel () from /usr/lib/libpthread.so.1
#1  0x2896cf44 in sigaction () from /usr/lib/libpthread.so.1
#2  0x2896dbb2 in sigaction () from /usr/lib/libpthread.so.1
#3  0x2896c39f in sigaction () from /usr/lib/libpthread.so.1
#4  0x2896c114 in sigaction () from /usr/lib/libpthread.so.1
#5  0x289753b7 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#6  0x00000000 in ?? ()

Smells a lot like threading issues to me... I'm running

510,p1,0$ uname -v
FreeBSD 5.3-STABLE #5: Tue Dec 28 03:11:46 CET 2004     joan@pingu.biaix.org:/usr/obj/usr/src/sys/PINGU 

cvsuped some hours before that.

In case it rings some bells, I've got some funky messages from ld.so about
getpwuid_r being undefined, when doing something about glib (IIRC).

Any ideas about how to get mozilla to work?
-- 
pica



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041230004435.GB58425>