Package: mozilla
Version: 2:1.7.8-1
Severity: normal

mozilla seems to hang on startup polling X socket forever. At least
"xclock" runs fine so openssh's X forwarding should be working. I ran
"strace -o strace.log -f mozilla" and now strace.log has 5767
lines. The last lines are:

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
...
connect(3, {sa_family=AF_INET, sin_port=htons(6010), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
...
ioctl(3, FIONREAD, [0])           = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1
ioctl(3, FIONREAD, [32])          = 0
read(3, "n\2\35\1\305^\377#\1\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0\0\3\37%\2\0\0", 
32) = 32
ioctl(3, FIONREAD, [0])           = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1
ioctl(3, FIONREAD, [32])          = 0
read(3, "n\2\35\1\23h\377#\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\37%\3\0\0", 
32) = 32
ioctl(3, FIONREAD, [0])           = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1
ioctl(3, FIONREAD, [32])          = 0
read(3, "n\2\35\1Z\200\377#\1\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0\0\3\37%\2\0\0", 
32) = 32
ioctl(3, FIONREAD, [0])           = 0
...

I recompiled mozilla with

DEB_BUILD_OPTIONS="nostrip debug noopt" fakeroot apt-get --build source

I also added --enable-debug to debian/rules which seemed to trigger
some assertions. Gdb shows the following backtrace:

#0  0x4080097b in nanosleep () from /lib/tls/libc.so.6
#1  0x408007af in sleep () from /lib/tls/libc.so.6
#2  0x0806c4b3 in ah_crap_handler (signum=1082691200) at nsSigHandlers.cpp:135
#3  0x41b91dcc in nsProfileLock::FatalSignalHandler (signo=6) at 
nsProfileLock.cpp:209
#4  <signal handler called>
#5  0x4077f83b in raise () from /lib/tls/libc.so.6
#6  0x40780fa2 in abort () from /lib/tls/libc.so.6
#7  0x400ceea8 in PR_Assert (s=0x40b37700 "PR_CLIST_IS_EMPTY(&self->link)", 
file=0x40b37533 "plevent.c", ln=1082691200) at prlog.c:530
#8  0x40aea013 in PL_DestroyEvent (self=0x82f70f0) at plevent.c:705
#9  0x40ac8337 in nsAStreamCopier::PostContinuationEvent_Locked 
(this=0x82f7050) at nsStreamUtils.cpp:442
#10 0x40ac8247 in nsAStreamCopier::PostContinuationEvent (this=0x82f7050) at 
nsStreamUtils.cpp:419
#11 0x40ac7a5c in nsAStreamCopier::Start (this=0x82f7050, source=0x0, sink=0x0, 
target=0x0, callback=0, closure=0x0, chunksize=0) at nsStreamUtils.cpp:304
#12 0x40ac7231 in NS_AsyncCopy (source=0x0, sink=0x0, target=0x82f6de0, 
mode=NS_ASYNCCOPY_VIA_WRITESEGMENTS, chunkSize=0, callback=0, closure=0x0) at 
nsStreamUtils.cpp:579
#13 0x40dd1ea8 in nsInputStreamTransport::OpenInputStream (this=0x82f6d98, 
flags=0, segsize=4096, segcount=16, result=0x6) at 
nsStreamTransportService.cpp:144
#14 0x40dd06a7 in nsInputStreamPump::AsyncRead (this=0x82f6d18, listener=0x0, 
ctxt=0x0) at nsInputStreamPump.cpp:277
#15 0x40dcd543 in nsInputStreamChannel::AsyncOpen (this=0x82f6c30, 
listener=0x0, ctxt=0x0) at nsInputStreamChannel.cpp:310
#16 0x41ef3133 in nsDocumentOpenInfo::Open (this=0x82f6cc8, aChannel=0x82f6c30) 
at nsURILoader.cpp:223
#17 0x41ef5ab5 in nsURILoader::OpenURI (this=0x82ba170, channel=0x82f6c30, 
aIsContentPreferred=0, aWindowContext=0x82ba268) at nsURILoader.cpp:842
#18 0x41ec0eb8 in nsDocShell::DoChannelLoad (this=0x82ba268, 
aChannel=0x82f6c30, aURILoader=0x82ba170) at nsDocShell.cpp:6031
#19 0x41ec0326 in nsDocShell::DoURILoad (this=0x82ba268, aURI=0x82b9fc8, 
aReferrerURI=0x0, aSendReferrer=1, aOwner=0x6, aTypeHint=0x0, aPostData=0x0, 
aHeadersData=0x0, aFirstParty=1,
    aDocShell=0x0, aRequest=0x0) at nsDocShell.cpp:5806
#20 0x41ebeb0c in nsDocShell::InternalLoad (this=0x82ba268, aURI=0x82b9fc8, 
aReferrer=0x0, aOwner=0x0, aFlags=1, aWindowTarget=0x815b350, aTypeHint=0x0, 
aPostData=0x0,
    aHeadersData=0x0, aLoadType=1, aSHEntry=0x0, aFirstParty=1, aDocShell=0x0, 
aRequest=0x0) at nsDocShell.cpp:5582
#21 0x41eaef39 in nsDocShell::LoadURI (this=0x82ba268, aURI=0x82b9fc8, 
aLoadInfo=0x1, aLoadFlags=0, aFirstParty=6) at nsDocShell.cpp:729
#22 0x41eb5984 in nsDocShell::LoadURI (this=0x82ba268, aURI=0xbffff4f8, 
aLoadFlags=1, aReferringURI=0x6, aPostStream=0x6, aHeaderStream=0x6) at 
nsDocShell.cpp:2695
#23 0x41a6e7ee in nsWebShellWindow::Initialize (this=0x81fcd90, aParent=0x0, 
aShell=0x6, aUrl=0x81fcd20, aCreatedVisible=0, aLoadDefaultPage=0, 
aInitialWidth=0, aInitialHeight=0,
    aIsHiddenWindow=0, [EMAIL PROTECTED]) at nsWebShellWindow.cpp:322
#24 0x41a639f0 in nsAppShellService::JustCreateTopWindow (this=0x81327b0, 
aParent=0x0, aUrl=0x6, aShowWindow=6, aLoadDefaultPage=6, aChromeMask=4094, 
aInitialWidth=100,
    aInitialHeight=100, aIsHiddenWindow=1, aResult=0xbffff7a0) at 
nsAppShellService.cpp:885
#25 0x41a62cdf in nsAppShellService::CreateHiddenWindow (this=0x81327b0) at 
nsAppShellService.cpp:488
#26 0x080625ad in main1 (argc=1, argv=0xbffffac4, nativeApp=0x0) at 
nsAppRunner.cpp:1219
#27 0x08063668 in main (argc=1, argv=0xbffffac4) at nsAppRunner.cpp:1781

Any idea what might be wrong or what I should try next?


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8met2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mozilla depends on:
ii  dpkg                          1.10.28    Package maintenance system for Deb
ii  mozilla-browser               2:1.7.8-1  The Mozilla Internet application s
ii  mozilla-mailnews              2:1.7.8-1  The Mozilla Internet application s
ii  mozilla-psm                   2:1.7.8-1  The Mozilla Internet application s

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to