Closed Bug 90829 Opened 23 years ago Closed 23 years ago

Crash on deleting all bookmarks

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: kazhik, Assigned: bugzilla)

References

Details

(Keywords: crash)

Crash on deleting all bookmarks.

(1) Open "Manage Bookmarks" dialog.
(2) Select All.
(3) Drag scrollbar to the bottom.
(4) Delete bookmarks.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 465)]
0x41debd49 in nsXULTreeGroupFrame::GetNextTreeBox (this=0x892d5b4, 
    aBox=0x8985ffc, aCreated=0xbfff9740) at nsXULTreeGroupFrame.cpp:373
373
    parentContent->IndexOf(prevContent, i);
(gdb) where
#0  0x41debd49 in nsXULTreeGroupFrame::GetNextTreeBox (this=0x892d5b4, 
    aBox=0x8985ffc, aCreated=0xbfff9740) at nsXULTreeGroupFrame.cpp:373
#1  0x41de7d7a in nsTreeLayout::LazyRowCreator (this=0x88da430, 
    aState=@0xbfff97b8, aGroup=0x892d5b4) at nsTreeLayout.cpp:376
#2  0x41df3c7c in nsXULTreeOuterGroupFrame::ReflowFinished (this=0x892d5b4, 
    aPresShell=0x88ae250, aFlushFlag=0xbfff9838)
    at nsXULTreeOuterGroupFrame.cpp:1321
#3  0x41d13c46 in PresShell::HandlePostedReflowCallbacks (this=0x88ae250)
    at nsPresShell.cpp:4771
#4  0x41d16cf0 in PresShell::ProcessReflowCommands (this=0x88ae250, 
    aInterruptible=0) at nsPresShell.cpp:5959
#5  0x41d1402f in PresShell::FlushPendingNotifications (this=0x88ae250)
    at nsPresShell.cpp:4860
#6  0x41dec566 in nsXULTreeGroupFrame::OnContentRemoved (this=0x892d5b4, 
    aPresContext=0x88b9668, aChildFrame=0x8981ef4, aIndex=0, 
    aOnScreenRowCount=@0xbfff9d50) at nsXULTreeGroupFrame.cpp:502
#7  0x41da21a4 in nsCSSFrameConstructor::ContentRemoved (this=0x88ab370, 
    aPresContext=0x88b9668, aContainer=0x88fd7a0, aChild=0x890ea90, 
    aIndexInContainer=0) at nsCSSFrameConstructor.cpp:9115
#8  0x4145165b in StyleSetImpl::ContentRemoved (this=0x88a7ca8, 
    aPresContext=0x88b9668, aContainer=0x88fd7a0, aChild=0x890ea90, 
    aIndexInContainer=0) at nsStyleSet.cpp:1126
#9  0x41d147f8 in PresShell::ContentRemoved (this=0x88ae250, 
    aDocument=0x88adb90, aContainer=0x88fd7a0, aChild=0x890ea90, 
    aIndexInContainer=0) at nsPresShell.cpp:5020
#10 0x4134e90e in nsXULDocument::ContentRemoved (this=0x88adb90, 
    aContainer=0x88fd7a0, aChild=0x890ea90, aIndexInContainer=0)
    at nsXULDocument.cpp:1750
#11 0x4132caae in nsXULElement::RemoveChildAt (this=0x88fd7a0, aIndex=0, 
    aNotify=1) at nsXULElement.cpp:2765
#12 0x4137a8f0 in nsXULContentBuilder::RemoveMember (this=0x88fdf00, 
    aContainerElement=0x88c0558, aMember=0x82dde40, aNotify=1)
    at nsXULContentBuilder.cpp:1103
#13 0x4137e012 in nsXULContentBuilder::ReplaceMatch (this=0x88fdf00, 
    aMember=0x82dde40, aOldMatch=0x86ccd68, aNewMatch=0x0)
    at nsXULContentBuilder.cpp:1847
#14 0x413967ee in nsXULTemplateBuilder::Retract (this=0x88fdf00, 
    aSource=0x82b2438, aProperty=0x8127d18, aTarget=0x82dde40)
    at nsXULTemplateBuilder.cpp:600
#15 0x4139697b in nsXULTemplateBuilder::OnUnassert (this=0x88fdf00, 
    aDataSource=0x88fec38, aSource=0x82b2438, aProperty=0x8127d18, 
    aTarget=0x82dde40) at nsXULTemplateBuilder.cpp:635
#16 0x40a401a6 in CompositeDataSourceImpl::OnUnassert (this=0x88fec38, 
    aDataSource=0x82b23cc, aSource=0x82b2438, aProperty=0x8127d18, 
    aTarget=0x82dde40) at nsCompositeDataSource.cpp:1574
#17 0x41ab7b70 in nsBookmarksService::OnUnassert (this=0x82b23c8, 
    aDataSource=0x8310ef8, aSource=0x82b2438, aProperty=0x8127d18, 
    aTarget=0x82dde40) at nsBookmarksService.cpp:4741
#18 0x40a43d71 in InMemoryDataSource::Unassert (this=0x8310ef8, 
    aSource=0x82b2438, aProperty=0x8127d18, aTarget=0x82dde40)
    at nsInMemoryDataSource.cpp:1295
#19 0x41aafd6d in nsBookmarksService::Unassert (this=0x82b23c8, 
    aSource=0x82b2438, aProperty=0x8127d18, aTarget=0x82dde40)
    at nsBookmarksService.cpp:2980
#20 0x40a4b08f in RDFContainerImpl::RemoveElement (this=0x8963928, 
    aElement=0x82dde40, aRenumber=1) at nsRDFContainer.cpp:261
#21 0x4020e180 in XPTC_InvokeByIndex (that=0x8963928, methodIndex=9, 
    paramCount=2, params=0xbfffa7a4) at xptcinvoke_unixish_x86.cpp:138
#22 0x4090a04b in XPCWrappedNative::CallMethod (ccx=@0xbfffa860, 
    mode=CALL_METHOD) at xpcwrappednative.cpp:1881
#23 0x40912948 in XPC_WN_CallMethod (cx=0x88a3680, obj=0x891a190, argc=2, 
    argv=0x8a95058, vp=0xbfffa990) at xpcwrappednativejsops.cpp:1252
#24 0x400bdf66 in js_Invoke (cx=0x88a3680, argc=2, flags=0) at jsinterp.c:807
#25 0x400cc5e9 in js_Interpret (cx=0x88a3680, result=0xbfffb30c)
    at jsinterp.c:2701
#26 0x400bdfe8 in js_Invoke (cx=0x88a3680, argc=1, flags=0) at jsinterp.c:824
#27 0x400cc5e9 in js_Interpret (cx=0x88a3680, result=0xbfffbcbc)
    at jsinterp.c:2701
#28 0x400bdfe8 in js_Invoke (cx=0x88a3680, argc=1, flags=0) at jsinterp.c:824
#29 0x400cc5e9 in js_Interpret (cx=0x88a3680, result=0xbfffc66c)
    at jsinterp.c:2701
#30 0x400bdfe8 in js_Invoke (cx=0x88a3680, argc=1, flags=2) at jsinterp.c:824
#31 0x40902f7b in nsXPCWrappedJSClass::CallMethod (this=0x8607a70, 
    wrapper=0x8917c38, methodIndex=5, info=0x82044f8, nativeParams=0xbfffcbb8)
    at xpcwrappedjsclass.cpp:1019
#32 0x40900595 in nsXPCWrappedJS::CallMethod (this=0x8917c38, methodIndex=5, 
    info=0x82044f8, params=0xbfffcbb8) at xpcwrappedjs.cpp:426
#33 0x4020e583 in PrepareAndDispatch (self=0x8917c38, methodIndex=5, 
    args=0xbfffcc90) at xptcstubs_unixish_x86.cpp:80
#34 0x4020e70b in nsXPTCStubBase::Stub5 (this=0x8917c38)
    at ../../../../../../dist/include/xptcstubsdef.inc:7
#35 0x4020e180 in XPTC_InvokeByIndex (that=0x8917c38, methodIndex=5, 
    paramCount=1, params=0xbfffce28) at xptcinvoke_unixish_x86.cpp:138
#36 0x4090a04b in XPCWrappedNative::CallMethod (ccx=@0xbfffcee4, 
    mode=CALL_METHOD) at xpcwrappednative.cpp:1881
#37 0x40912948 in XPC_WN_CallMethod (cx=0x88a3680, obj=0x831bed0, argc=1, 
    argv=0x8a94f10, vp=0xbfffd014) at xpcwrappednativejsops.cpp:1252
#38 0x400bdf66 in js_Invoke (cx=0x88a3680, argc=1, flags=0) at jsinterp.c:807
#39 0x400cc5e9 in js_Interpret (cx=0x88a3680, result=0xbfffd990)
    at jsinterp.c:2701
#40 0x400bdfe8 in js_Invoke (cx=0x88a3680, argc=1, flags=2) at jsinterp.c:824
#41 0x400be30f in js_InternalInvoke (cx=0x88a3680, obj=0x849ab00, 
    fval=143761680, flags=0, argc=1, argv=0xbfffdce4, rval=0xbfffdb48)
    at jsinterp.c:896
#42 0x40091ae1 in JS_CallFunctionValue (cx=0x88a3680, obj=0x849ab00, 
    fval=143761680, argc=1, argv=0xbfffdce4, rval=0xbfffdb48) at jsapi.c:3320
#43 0x418916e5 in nsJSContext::CallEventHandler (this=0x88bc488, 
    aTarget=0x849ab00, aHandler=0x891a110, argc=1, argv=0xbfffdce4, 
    aBoolResult=0xbfffdc1c, aReverseReturnResult=0) at nsJSEnvironment.cpp:940
#44 0x418d138a in nsJSEventListener::HandleEvent (this=0x8455028, 
    aEvent=0x8a88d14) at nsJSEventListener.cpp:139
#45 0x411ffefb in nsEventListenerManager::HandleEventSubType (this=0x85eb268, 
    aListenerStruct=0x8863448, aDOMEvent=0x8a88d14, aCurrentTarget=0x88e0320, 
    aSubType=8, aPhaseFlags=7) at nsEventListenerManager.cpp:1161
#46 0x41203908 in nsEventListenerManager::HandleEvent (this=0x85eb268, 
    aPresContext=0x88b9668, aEvent=0xbfffeaac, aDOMEvent=0xbfffe8ac, 
    aCurrentTarget=0x88e0320, aFlags=7, aEventStatus=0xbfffeaf4)
    at nsEventListenerManager.cpp:2131
#47 0x41331ad3 in nsXULElement::HandleDOMEvent (this=0x88e0318, 
    aPresContext=0x88b9668, aEvent=0xbfffeaac, aDOMEvent=0xbfffe8ac, aFlags=1, 
    aEventStatus=0xbfffeaf4) at nsXULElement.cpp:3632
#48 0x41d163d2 in PresShell::HandleDOMEventWithTarget (this=0x88ae250, 
    aTargetContent=0x88e0318, aEvent=0xbfffeaac, aStatus=0xbfffeaf4)
    at nsPresShell.cpp:5677
#49 0x41e3148f in nsMenuFrame::Execute (this=0x8a90c20) at nsMenuFrame.cpp:1482
#50 0x41e2c5bb in nsMenuFrame::HandleEvent (this=0x8a90c20, 
    aPresContext=0x88b9668, aEvent=0xbffff214, aEventStatus=0xbffff0c8)
    at nsMenuFrame.cpp:456
#51 0x41d16220 in PresShell::HandleEventInternal (this=0x88ae250, 
    aEvent=0xbffff214, aView=0x8a8a5d8, aFlags=1, aStatus=0xbffff0c8)
    at nsPresShell.cpp:5645
#52 0x41d15c39 in PresShell::HandleEvent (this=0x88ae250, aView=0x8a8a5d8, 
    aEvent=0xbffff214, aEventStatus=0xbffff0c8, aForceHandle=0, 
    aHandled=@0xbffff050) at nsPresShell.cpp:5557
#53 0x41fc03f0 in nsView::HandleEvent (this=0x8a8a5d8, event=0xbffff214, 
    aEventFlags=8, aStatus=0xbffff0c8, aForceHandle=0, aHandled=@0xbffff050)
    at nsView.cpp:364
#54 0x41fc033f in nsView::HandleEvent (this=0x8a93420, event=0xbffff214, 
    aEventFlags=8, aStatus=0xbffff0c8, aForceHandle=0, aHandled=@0xbffff050)
    at nsView.cpp:348
#55 0x41fc033f in nsView::HandleEvent (this=0x8a1b9c8, event=0xbffff214, 
    aEventFlags=8, aStatus=0xbffff0c8, aForceHandle=0, aHandled=@0xbffff050)
    at nsView.cpp:348
#56 0x41fc033f in nsView::HandleEvent (this=0x88b99b8, event=0xbffff214, 
    aEventFlags=28, aStatus=0xbffff0c8, aForceHandle=1, aHandled=@0xbffff050)
    at nsView.cpp:348
#57 0x41fccda2 in nsViewManager::DispatchEvent (this=0x88b9b40, 
    aEvent=0xbffff214, aStatus=0xbffff0c8) at nsViewManager.cpp:2054
#58 0x41fbf8fd in HandleEvent (aEvent=0xbffff214) at nsView.cpp:67
#59 0x40d5f56b in nsWidget::DispatchEvent (this=0x8a86820, aEvent=0xbffff214, 
    aStatus=@0xbffff188) at nsWidget.cpp:1386
#60 0x40d5f15f in nsWidget::DispatchWindowEvent (this=0x8a86820, 
    event=0xbffff214) at nsWidget.cpp:1277
#61 0x40d5f628 in nsWidget::DispatchMouseEvent (this=0x8a86820, 
    aEvent=@0xbffff214) at nsWidget.cpp:1413
#62 0x40d60a95 in nsWidget::OnButtonReleaseSignal (this=0x8a86820, 
    aGdkButtonEvent=0x8209ab0) at nsWidget.cpp:1964
#63 0x40d670c3 in nsWindow::HandleGDKEvent (this=0x8a86820, event=0x8209ab0)
    at nsWindow.cpp:1593
#64 0x40d55e50 in dispatch_superwin_event (event=0x8209ab0, window=0x8a86820)
    at nsGtkEventHandler.cpp:1025
#65 0x40d55a60 in handle_gdk_event (event=0x8209ab0, data=0x0)
    at nsGtkEventHandler.cpp:879
#66 0x404564b7 in gdk_wm_protocols_filter ()
    at ../../../dist/include/nsCOMPtr.h:409
#67 0x40486308 in g_get_current_time () at ../../../dist/include/nsCOMPtr.h:409
#68 0x40486913 in g_get_current_time () at ../../../dist/include/nsCOMPtr.h:409
#69 0x40486aac in g_main_run () at ../../../dist/include/nsCOMPtr.h:409
#70 0x403a7667 in gtk_main () at ../../../dist/include/nsCOMPtr.h:409
#71 0x40d49b15 in nsAppShell::Run (this=0x81069b8) at nsAppShell.cpp:348
#72 0x40989ade in nsAppShellService::Run (this=0x811ebf8)
    at nsAppShellService.cpp:421
#73 0x0805bef1 in main1 (argc=1, argv=0xbffff8c4, nativeApp=0x0)
    at nsAppRunner.cpp:1174
#74 0x0805cd21 in main (argc=1, argv=0xbffff8c4) at nsAppRunner.cpp:1478
#75 0x405ca38b in __libc_start_main () at ../../../dist/include/nsCOMPtr.h:409
(gdb)
Severity: normal → critical
Keywords: crash
nav triage team:

Verified crash under win98, changing platform to all, os to all and reassigning 
to xptoolkit since it looks like xul problem
Assignee: ben → pinkerton
OS: Linux → All
Hardware: PC → All
ohhh hyatt? moving to outliner would fix this though.
Assignee: pinkerton → hyatt
I can't reproduce on Win98.  Claudius, can you?
I can reproduce this on Mac mozilla trunk, but not on win2k, although I think 
the key thing was to find the right amount/flavour of bookmark content (and I 
didn't have the same content on both platforms).
Will be fixed when bookmarks --> outliner.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
To resolve it why now just delete the bookmarks.html file as a whole?
--> me
Assignee: hyatt → blakeross
Status: ASSIGNED → NEW
Target Milestone: Future → mozilla0.9.6
Status: NEW → ASSIGNED
Depends on: 73508
bookmarksliner is landing in --> 0.9.7.
Target Milestone: mozilla0.9.6 → mozilla0.9.7
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
v Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.