Crash when using Mozilla (1.1b1) under GDB.

RESOLVED WORKSFORME

Status

()

Core
XPCOM
--
critical
RESOLVED WORKSFORME
15 years ago
13 years ago

People

(Reporter: Ramón García, Assigned: rpotts (gone))

Tracking

({crash})

Trunk
x86
Linux
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
It seems that this crash is rather frequent for me when using Mozilla, 1.1b1
under GDB. The problem could be in nsprpub (in that case sorry for assigning
to browser). However, I'm not quite sure

#0  0x4030e384 in pthread_cond_signal () from /lib/libpthread.so.0
#1  0x402e7713 in pt_PostNotifies (lock=0x8152500, unlock=1) at ptsynch.c:129
#2  0x402e7c59 in PR_Unlock (lock=0x8152500) at ptsynch.c:220
#3  0x401c9376 in nsAutoLock::~nsAutoLock (this=0xbfff9c7c, __in_chrg=2)
    at ../../../../dist/include/xpcom/nsAutoLock.h:182
#4  0x40238e33 in nsThreadPool::DispatchRequest (this=0x812af10, 
    runnable=0x8a49c08) at nsThread.cpp:550
#5  0x409bda0f in nsFileTransportService::DispatchRequest (this=0x812aea8, 
    runnable=0x8a49c08) at nsFileTransportService.cpp:231
#6  0x409b6c85 in nsFileTransport::AsyncRead (this=0x8a49c00, 
    aListener=0x8a49b64, aContext=0x0, aTransferOffset=0, 
    aTransferCount=4294967295, aFlags=0, aResult=0x8a49bc0)
    at nsFileTransport.cpp:535
#7  0x409bfa2e in nsStreamIOChannel::AsyncOpen (this=0x8a49b60, 
    listener=0x8a49be0, ctxt=0x0) at nsInputStreamChannel.cpp:328
#8  0x40dffc59 in nsDocumentOpenInfo::Open (this=0x8a49be0, 
    aChannel=0x8a49b60, aIsContentPreferred=0, aWindowContext=0x8a3e5a0)
    at nsURILoader.cpp:170
#9  0x40e015aa in nsURILoader::OpenURIVia (this=0x81aac58, channel=0x8a49b60, 
    aIsContentPreferred=0, aWindowContext=0x8a3e5a0, aLocalIP=0)
    at nsURILoader.cpp:538
#10 0x40e01365 in nsURILoader::OpenURI (this=0x81aac58, channel=0x8a49b60, 
    aIsContentPreferred=0, aWindowContext=0x8a3e5a0) at nsURILoader.cpp:499
---Type <return> to continue, or q <return> to quit---
#11 0x40edc088 in nsDocShell::DoChannelLoad (this=0x8a3e5a0, 
    aChannel=0x8a49b60, aURILoader=0x81aac58) at nsDocShell.cpp:5353
#12 0x40edb66c in nsDocShell::DoURILoad (this=0x8a3e5a0, aURI=0x8a498d0, 
    aReferrerURI=0x87b2390, aOwner=0x8a499e8, aPostData=0x0, aHeadersData=0x0, 
    firstParty=0, aDocShell=0x0, aRequest=0x0) at nsDocShell.cpp:5128
#13 0x40eda577 in nsDocShell::InternalLoad (this=0x8a3e5a0, aURI=0x8a498d0, 
    aReferrer=0x87b2390, aOwner=0x0, aInheritOwner=1, aWindowTarget=0x8a49980, 
    aPostData=0x0, aHeadersData=0x0, aLoadType=1, aSHEntry=0x0, firstParty=0, 
    aDocShell=0x0, aRequest=0x0) at nsDocShell.cpp:4921
#14 0x40ec76c3 in nsDocShell::LoadURI (this=0x8a3e5a0, aURI=0x8a498d0, 
    aLoadInfo=0x8a49930, aLoadFlags=0, firstParty=0) at nsDocShell.cpp:678
#15 0x415e8974 in nsFrameLoader::LoadFrame (this=0x8a3e588)
    at nsFrameLoader.cpp:272
#16 0x41a634b7 in nsHTMLFrameInnerFrame::GetDocShell (this=0x8a3bd88, 
    aDocShell=0xbfffa71c) at nsFrameFrame.cpp:970
#17 0x41a6373d in nsHTMLFrameInnerFrame::ShowDocShell (this=0x8a3bd88, 
    aPresContext=0x87bb3b0) at nsFrameFrame.cpp:1015
#18 0x41a641e4 in nsHTMLFrameInnerFrame::Init (this=0x8a3bd88, 
    aPresContext=0x87bb3b0, aContent=0x8a29bd0, aParent=0x8a3bd44, 
    aContext=0x8a3bdc4, aPrevInFlow=0x0) at nsFrameFrame.cpp:1165
#19 0x41a61730 in nsHTMLFrameOuterFrame::Init (this=0x8a3bd44, 
    aPresContext=0x87bb3b0, aContent=0x8a29bd0, aParent=0x8a3bb2c, 
    aContext=0x8a3bc90, aPrevInFlow=0x0) at nsFrameFrame.cpp:391
---Type <return> to continue, or q <return> to quit---
#20 0x41ab86b5 in nsCSSFrameConstructor::InitAndRestoreFrame (this=0x895b3d8, 
    aPresContext=0x87bb3b0, aState=@0xbfffc77c, aContent=0x8a29bd0, 
    aParentFrame=0x8a3bb2c, aStyleContext=0x8a3bc90, aPrevInFlow=0x0, 
    aNewFrame=0x8a3bd44) at nsCSSFrameConstructor.cpp:6754
#21 0x41ab6164 in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a29bd0, aParentFrame=0x8a3bb2c, aTag=0x81bbdb8, 
    aNameSpaceID=8, aStyleContext=0x8a3bc90, aFrameItems=@0xbfffacc4, 
    aXBLBaseTag=0, aHaltProcessing=@0xbfffaa68)
    at nsCSSFrameConstructor.cpp:5785
#22 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8a29bd0, aParentFrame=0x8a3bb2c, 
    aTag=0x81bbdb8, aNameSpaceID=8, aStyleContext=0x8a3bc90, 
    aFrameItems=@0xbfffacc4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7374
#23 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a29bd0, aParentFrame=0x8a3bb2c, aFrameItems=@0xbfffacc4)
    at nsCSSFrameConstructor.cpp:7258
#24 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a29b30, aFrame=0x8a3bb2c, aCanHaveGeneratedContent=0, 
    aFrameItems=@0xbfffacc4, aParentIsBlock=0, aTableCreator=0x0)
---Type <return> to continue, or q <return> to quit---
    at nsCSSFrameConstructor.cpp:12347
#25 0x41ab627e in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a29b30, aParentFrame=0x8a2ed30, aTag=0x81bb778, 
    aNameSpaceID=8, aStyleContext=0x8a39b60, aFrameItems=@0xbfffb0d4, 
    aXBLBaseTag=0, aHaltProcessing=@0xbfffae78)
    at nsCSSFrameConstructor.cpp:5821
#26 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8a29b30, aParentFrame=0x8a2ed30, 
    aTag=0x81bb778, aNameSpaceID=8, aStyleContext=0x8a39b60, 
    aFrameItems=@0xbfffb0d4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7374
#27 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a29b30, aParentFrame=0x8a2ed30, aFrameItems=@0xbfffb0d4)
    at nsCSSFrameConstructor.cpp:7258
#28 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a05890, aFrame=0x8a2ed30, aCanHaveGeneratedContent=0, 
    aFrameItems=@0xbfffb0d4, aParentIsBlock=0, aTableCreator=0x0)
    at nsCSSFrameConstructor.cpp:12347
#29 0x41ab627e in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
---Type <return> to continue, or q <return> to quit---
    aContent=0x8a05890, aParentFrame=0x8a2ec0c, aTag=0x81bb4b0, 
    aNameSpaceID=8, aStyleContext=0x8a2ea54, aFrameItems=@0xbfffb5b4, 
    aXBLBaseTag=1, aHaltProcessing=@0xbfffb288)
    at nsCSSFrameConstructor.cpp:5821
#30 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8a05890, aParentFrame=0x8a2ec0c, 
    aTag=0x81bb4b0, aNameSpaceID=8, aStyleContext=0x8a2ea54, 
    aFrameItems=@0xbfffb5b4, aXBLBaseTag=1) at nsCSSFrameConstructor.cpp:7374
#31 0x41aba0c7 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8a05890, aParentFrame=0x8a2ec0c, 
    aTag=0x81bb738, aNameSpaceID=8, aStyleContext=0x8a2ea54, 
    aFrameItems=@0xbfffb5b4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7326
#32 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8a05890, aParentFrame=0x8a2ec0c, aFrameItems=@0xbfffb5b4)
    at nsCSSFrameConstructor.cpp:7258
#33 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875eb0, aFrame=0x8a2ec0c, aCanHaveGeneratedContent=0, 
    aFrameItems=@0xbfffb5b4, aParentIsBlock=0, aTableCreator=0x0)
    at nsCSSFrameConstructor.cpp:12347
---Type <return> to continue, or q <return> to quit---
#34 0x41ab627e in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875eb0, aParentFrame=0x8a268b4, aTag=0x824bea0, 
    aNameSpaceID=8, aStyleContext=0x8a26998, aFrameItems=@0xbfffb9c4, 
    aXBLBaseTag=0, aHaltProcessing=@0xbfffb768)
    at nsCSSFrameConstructor.cpp:5821
#35 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8875eb0, aParentFrame=0x8a268b4, 
    aTag=0x824bea0, aNameSpaceID=8, aStyleContext=0x8a26998, 
    aFrameItems=@0xbfffb9c4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7374
#36 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875eb0, aParentFrame=0x8a268b4, aFrameItems=@0xbfffb9c4)
    at nsCSSFrameConstructor.cpp:7258
#37 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875e70, aFrame=0x8a268b4, aCanHaveGeneratedContent=0, 
    aFrameItems=@0xbfffb9c4, aParentIsBlock=0, aTableCreator=0x0)
    at nsCSSFrameConstructor.cpp:12347
#38 0x41ab627e in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875e70, aParentFrame=0x8a267fc, aTag=0x81bb4d0, 
---Type <return> to continue, or q <return> to quit---
    aNameSpaceID=8, aStyleContext=0x8a264e8, aFrameItems=@0xbfffbdd4, 
    aXBLBaseTag=0, aHaltProcessing=@0xbfffbb78)
    at nsCSSFrameConstructor.cpp:5821
#39 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8875e70, aParentFrame=0x8a267fc, 
    aTag=0x81bb4d0, aNameSpaceID=8, aStyleContext=0x8a264e8, 
    aFrameItems=@0xbfffbdd4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7374
#40 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875e70, aParentFrame=0x8a267fc, aFrameItems=@0xbfffbdd4)
    at nsCSSFrameConstructor.cpp:7258
#41 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875d78, aFrame=0x8a267fc, aCanHaveGeneratedContent=0, 
    aFrameItems=@0xbfffbdd4, aParentIsBlock=0, aTableCreator=0x0)
    at nsCSSFrameConstructor.cpp:12347
#42 0x41ab627e in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875d78, aParentFrame=0x8a19dd4, aTag=0x81bb4f0, 
    aNameSpaceID=8, aStyleContext=0x8a26204, aFrameItems=@0xbfffc1e4, 
    aXBLBaseTag=0, aHaltProcessing=@0xbfffbf88)
    at nsCSSFrameConstructor.cpp:5821
---Type <return> to continue, or q <return> to quit---
#43 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x8875d78, aParentFrame=0x8a19dd4, 
    aTag=0x81bb4f0, aNameSpaceID=8, aStyleContext=0x8a26204, 
    aFrameItems=@0xbfffc1e4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7374
#44 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8875d78, aParentFrame=0x8a19dd4, aFrameItems=@0xbfffc1e4)
    at nsCSSFrameConstructor.cpp:7258
#45 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x84e8ad8, aFrame=0x8a19dd4, aCanHaveGeneratedContent=0, 
    aFrameItems=@0xbfffc1e4, aParentIsBlock=0, aTableCreator=0x0)
    at nsCSSFrameConstructor.cpp:12347
#46 0x41ab627e in nsCSSFrameConstructor::ConstructXULFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x84e8ad8, aParentFrame=0x8984cb0, aTag=0x81bb4d0, 
    aNameSpaceID=8, aStyleContext=0x8984d58, aFrameItems=@0xbfffc5e4, 
    aXBLBaseTag=0, aHaltProcessing=@0xbfffc398)
    at nsCSSFrameConstructor.cpp:5821
#47 0x41aba3b1 in nsCSSFrameConstructor::ConstructFrameInternal (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aContent=0x84e8ad8, aParentFrame=0x8984cb0, 
---Type <return> to continue, or q <return> to quit---
    aTag=0x81bb4d0, aNameSpaceID=8, aStyleContext=0x8984d58, 
    aFrameItems=@0xbfffc5e4, aXBLBaseTag=0) at nsCSSFrameConstructor.cpp:7374
#48 0x41ab9d91 in nsCSSFrameConstructor::ConstructFrame (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x84e8ad8, aParentFrame=0x8984cb0, aFrameItems=@0xbfffc5e4)
    at nsCSSFrameConstructor.cpp:7258
#49 0x41aca8bf in nsCSSFrameConstructor::ProcessChildren (this=0x895b3d8, 
    aPresShell=0x8895250, aPresContext=0x87bb3b0, aState=@0xbfffc77c, 
    aContent=0x8957ff8, aFrame=0x8984cb0, aCanHaveGeneratedContent=1, 
    aFrameItems=@0xbfffc5e4, aParentIsBlock=0, aTableCreator=0x0)
    at nsCSSFrameConstructor.cpp:12347
#50 0x41aaff14 in nsCSSFrameConstructor::ConstructDocElementFrame (
    this=0x895b3d8, aPresShell=0x8895250, aPresContext=0x87bb3b0, 
    aState=@0xbfffc77c, aDocElement=0x8957ff8, aParentFrame=0x8984abc, 
    aParentStyleContext=0x8984b88, aNewFrame=@0xbfffc864)
    at nsCSSFrameConstructor.cpp:3487
#51 0x41abf793 in nsCSSFrameConstructor::ContentInserted (this=0x895b3d8, 
    aPresContext=0x87bb3b0, aContainer=0x0, aChild=0x8957ff8, 
    aIndexInContainer=0, aFrameState=0x0, aInContentReplaced=0)
    at nsCSSFrameConstructor.cpp:8939
#52 0x415c17c7 in StyleSetImpl::ContentInserted (this=0x895b2d8, 
    aPresContext=0x87bb3b0, aContainer=0x0, aChild=0x8957ff8, 
    aIndexInContainer=0) at nsStyleSet.cpp:1536
---Type <return> to continue, or q <return> to quit---
#53 0x41a27783 in PresShell::InitialReflow (this=0x8895250, aWidth=19, 
    aHeight=19) at nsPresShell.cpp:2820
#54 0x414809ed in nsXULDocument::StartLayout (this=0x88c4f50)
    at nsXULDocument.cpp:4592
#55 0x41485a3b in nsXULDocument::ResumeWalk (this=0x88c4f50)
    at nsXULDocument.cpp:5718
#56 0x4148c82e in nsXULDocument::CachedChromeStreamListener::OnStopRequest (
    this=0x87682d8, request=0x896a8f0, aContext=0x0, aStatus=0)
    at nsXULDocument.cpp:6983
#57 0x40dfff7b in nsDocumentOpenInfo::OnStopRequest (this=0x896a920, 
    request=0x896a8f0, aCtxt=0x0, aStatus=0) at nsURILoader.cpp:255
#58 0x40c92642 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libchrome.so
#59 0x40232b80 in PL_HandleEvent (self=0x8957da0) at plevent.c:596
#60 0x40232995 in PL_ProcessPendingEvents (self=0x8898ca0) at plevent.c:526
#61 0x40234c56 in nsEventQueueImpl::ProcessPendingEvents (this=0x88b6fb8)
    at nsEventQueue.cpp:388
#62 0x40b23554 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libwidget_gtk.so
#63 0x40b23133 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libwidget_gtk.so
#64 0x40496f9e in ?? () from /usr/lib/libglib-1.2.so.0
#65 0x40498773 in ?? () from /usr/lib/libglib-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#66 0x40498d39 in ?? () from /usr/lib/libglib-1.2.so.0
#67 0x40498e1e in ?? () from /usr/lib/libglib-1.2.so.0
#68 0x40b23b82 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libwidget_gtk.so
#69 0x40aca6cf in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libnsappshell.so
#70 0x40ae45db in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libnsappshell.so
#71 0x40ac5cf6 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libnsappshell.so
#72 0x4086ec85 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libembedcomponents.so
#73 0x40f99ba4 in GlobalWindowImpl::OpenInternal (this=0x8119970, 
    aUrl=@0xbfffd76c, aName=@0xbfffd6dc, aOptions=@0xbfffd64c, aDialog=1, 
    argv=0x88b8c5c, argc=4, aExtraArgument=0x0, aReturn=0xbfffd9e0)
    at nsGlobalWindow.cpp:4217
#74 0x40f946bc in GlobalWindowImpl::OpenDialog (this=0x8119970, 
    _retval=0xbfffd9e0) at nsGlobalWindow.cpp:2989
#75 0x4025fd98 in XPTC_InvokeByIndex ()
   from /home/ramon/mozilla-src/dist/bin/libxpcom.so
#76 0x407f4a30 in ?? ()
   from /home/ramon/mozilla-src/dist/bin/components/libxpconnect.so
#77 0x407ff462 in ?? ()
---Type <return> to continue, or q <return> to quit---
   from /home/ramon/mozilla-src/dist/bin/components/libxpconnect.so
#78 0x400c558c in ?? () from /home/ramon/mozilla-src/dist/bin/libmozjs.so
#79 0x400d3c30 in ?? () from /home/ramon/mozilla-src/dist/bin/libmozjs.so
#80 0x400c5616 in ?? () from /home/ramon/mozilla-src/dist/bin/libmozjs.so
#81 0x400c598e in ?? () from /home/ramon/mozilla-src/dist/bin/libmozjs.so
#82 0x4009522b in ?? () from /home/ramon/mozilla-src/dist/bin/libmozjs.so
#83 0x40f7b135 in nsJSContext::CallEventHandler (this=0x8119b48, 
    aTarget=0x8872e38, aHandler=0x8872e48, argc=1, argv=0xbfffe598, 
    aBoolResult=0xbfffe468, aReverseReturnResult=0) at nsJSEnvironment.cpp:1041
#84 0x40fea269 in nsJSEventListener::HandleEvent (this=0x84def10, 
    aEvent=0x88ac830) at nsJSEventListener.cpp:202
#85 0x4126b133 in nsEventListenerManager::HandleEventSubType (this=0x84deed8, 
    aListenerStruct=0x83db3d0, aDOMEvent=0x88ac830, aCurrentTarget=0x83dc118, 
    aSubType=8, aPhaseFlags=7) at nsEventListenerManager.cpp:1221
#86 0x4126e8d3 in nsEventListenerManager::HandleEvent (this=0x84deed8, 
[...]

I had mozilla locked in a modal dialog box, where both OK and Cancel where
ignored. Following a suggestion of ere on the #mozilla IRC channel, I typed
mozilla, which on my Redhat Linux system is an script that causes a new window
of the current browser to be opened. Then it crashed.

The inmediate reason for the crash is an attempt to signal an invalid condition
variable. The variable (struct pthread_cond_t) has under Linux a member
__c_waiting that points to invalid memory. It seems that nsThreadPool hold a
lock that has a bad condition variable stored.
(Reporter)

Comment 1

15 years ago
"It seems that nsThreadPool hold a lock that has a bad condition variable stored."

Wrong. It is the nsAutoLock who holds a lock with a bad condition variable stored.

Updated

15 years ago
Keywords: crash

Updated

15 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Moving all threading bugs to XPCOM. See bug 160356.
Component: Threading → XPCOM

Comment 3

15 years ago
If this happens again, it would be interesting to see the output from "where
full" rather than just "where"...
and what gdb version - if its less than 5.2 we may not want to know.

Although this does hint at a race condition of some sort....

Comment 5

15 years ago
hmm... this looks a lot like "about:blank" being loaded.
Is this still an issue? Currently we have Mozilla1.7 (almost) and this crasher
bug talks about Mozilla1.1b
I'm marking this WORKSFORME. If this still is an issue, then please reopen.
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.