Closed
Bug 18530
Opened 25 years ago
Closed 23 years ago
DOM viewer crashes apprunner...
Categories
(SeaMonkey :: General, defect, P3)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
INVALID
Future
People
(Reporter: roland.mainz, Assigned: alecf)
References
Details
(Keywords: crash, helpwanted, Whiteboard: [NoBlock])
I tried to run the DOM viewer (apprunner build from 19991108 sources) on my Solaris 7 box, and the result after pressing the "refresh" button was a core dump: The last console output was: -- snip -- Document file:////home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/chrome/domviewer/content/default/DOMDataSourceViewer.xul loaded successfully Document: Done (1.571 secs) Turning ON the content mode Turning ON the dom mode Turning ON the frame mode Turning ON the leaf mode Loading chrome://domviewer/content/domviewer.html into [object Window] failed to set the page title. Document: Done (0.25 secs) refresh.. Got root frame: creating arcs for frame Segmentation Fault - core dumped -- snip -- gdb produced the following output: -- snip -- #0 0xfd757424 in nsRDFDOMDataSource::GetTarget () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdfdomds.so (gdb) bt #0 0xfd757424 in nsRDFDOMDataSource::GetTarget () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdfdomds.so #1 0xfd5ce0ac in CompositeDataSourceImpl::GetTarget () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #2 0xfd5f5a8c in RDFGenericBuilderImpl::IsEmpty () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #3 0xfd5f35bc in RDFGenericBuilderImpl::BuildContentFromTemplate () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #4 0xfd5f3390 in RDFGenericBuilderImpl::BuildContentFromTemplate () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #5 0xfd5f4e14 in RDFGenericBuilderImpl::CreateContainerContents () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #6 0xfd5f00b0 in RDFGenericBuilderImpl::CreateContents () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #7 0xfd5f0778 in RDFGenericBuilderImpl::RebuildContainer () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #8 0xfd60419c in nsXULDocument::RebuildWidgetItem () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #9 0xfd600744 in nsXULDocument::AttributeChanged () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #10 0xfd5ea29c in nsXULElement::SetAttribute () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #11 0xfd5edd30 in nsXULElement::SetAttribute () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #12 0xfd615e74 in nsXULTreeElement::SetAttribute () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so #13 0xfd7d44ec in ElementSetAttribute () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libjsdom.so #14 0xff2b6248 in js_Invoke () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #15 0xff2bc45c in js_Interpret () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #16 0xff2b629c in js_Invoke () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #17 0xff2bc45c in js_Interpret () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #18 0xff2b629c in js_Invoke () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #19 0xff2b6554 in js_InternalCall () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #20 0xff295bf0 in JS_CallFunction () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libmozjs.so #21 0xfd7b3264 in nsJSContext::CallFunction () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libjsdom.so #22 0xfd7db8ec in nsJSEventListener::HandleEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libjsdom.so #23 0xfd278af8 in nsEventListenerManager::HandleEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorhtml.so #24 0xfd5eb4cc in nsXULElement::HandleDOMEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/librdf.so ---Type <return> to continue, or q <return> to quit--- #25 0xfd27c94c in nsEventStateManager::CheckForAndDispatchClick () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorhtml.so #26 0xfd27b640 in nsEventStateManager::PostHandleEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorhtml.so #27 0xfd2b2a78 in PresShell::HandleEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorhtml.so #28 0xfda1c2e8 in nsView::HandleEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorview.so #29 0xfda27444 in nsViewManager::DispatchEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorview.so #30 0xfda1d1ec in HandleEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/components/libraptorview.so #31 0xfc680ebc in nsWidget::DispatchEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libwidget_gtk.so #32 0xfc67fa7c in nsWidget::DispatchMouseEvent () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libwidget_gtk.so #33 0xfc6800d8 in nsWidget::OnButtonReleaseSignal () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libwidget_gtk.so #34 0xfc681b30 in nsWidget::ButtonReleaseSignal () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libwidget_gtk.so #35 0xfdc59750 in gtk_marshal_BOOL__POINTER (object=0x544da0, func=0xfc681aa4 <nsWidget::ButtonReleaseSignal(_GtkWidget *, _GdkEventButton *, void *)>, func_data=0x544cb8, args=0xffbee430) at gtkmarshal.c:30 #36 0xfdc072a0 in gtk_handlers_run (handlers=0x54cc90, signal=0xffbee390, object=0x544da0, params=0xffbee430, after=0) at gtksignal.c:1909 #37 0xfdc061c0 in gtk_signal_real_emit (object=0x544da0, signal_id=21, params=0xffbee430) at gtksignal.c:1469 #38 0xfdc033d0 in gtk_signal_emit (object=0x544da0, signal_id=21) at gtksignal.c:552 #39 0xfdc4bac0 in gtk_widget_event (widget=0x544da0, event=0x142a08) at gtkwidget.c:2790 #40 0xfdbc7870 in gtk_propagate_event (widget=0x544da0, event=0x142a08) at gtkmain.c:1296 #41 0xfdbc6770 in gtk_main_do_event (event=0x142a08) at gtkmain.c:753 #42 0xfdccd5dc in gdk_event_dispatch (source_data=0x142a08, current_time=0xffbeea18, user_data=0x0) at gdkevents.c:2098 #43 0xfdac7138 in g_main_dispatch (current_time=0xffbeea18) at gmain.c:652 #44 0xfdac7a24 in g_main_iterate (block=1228, dispatch=1) at gmain.c:870 #45 0xfdac7c34 in g_main_run (loop=0x1f5208) at gmain.c:928 #46 0xfdbc5fbc in gtk_main () at gtkmain.c:475 #47 0xfc66d360 in nsAppShell::Run () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libwidget_gtk.so #48 0xfc6d8ca0 in nsAppShellService::Run () from /home/gisburn/package-builds/mozilla5/mozilla/objdir/dist/bin/libnsappshell.so #49 0x13508 in main1 () #50 0x136b0 in main () -- snip -- Tested on a SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15
Assignee | ||
Comment 1•25 years ago
|
||
ugh, I really need to fix the UI so you can't display the DOM and frames at the same time :)
Comment 2•25 years ago
|
||
This is also present in Solaris 2.6 on a 5.6 Generic_105181-10 sun4u sparc SUNW,Ultra-5_10 using M11 mozilla -g dumped the following: PreCondition: "You can't dereference a NULL nsCOMPtr with operator->()." (mRawPtr != 0) at file ../../../dist/include/nsCOMPtr.h, line 546 Break: at file ../../../dist/include/nsCOMPtr.h, line 546 ^G Program received signal SIGSEGV, Segmentation fault. 0xec752b64 in nsRDFDOMDataSource::GetTarget (this=0x575300, aSource=0x28c880, aProperty=0xd84e0, aTruthValue=1, _retval=0xefffa948) at nsRDFDOMDataSource.cpp:172
Assignee | ||
Updated•25 years ago
|
Target Milestone: M15 → M17
Reporter | ||
Comment 4•25 years ago
|
||
DOM viewer still crashes. I tried to browse a SolBook SGML file and got the following response ;-( -- snip -- #0 0xfc0b0ba0 in nsISupportsKey::~nsISupportsKey (this=0xcb6878, __in_chrg=3) at ../../../dist/include/nsHashtable.h:125 125 NS_IF_RELEASE(mKey); (gdb) bt #0 0xfc0b0ba0 in nsISupportsKey::~nsISupportsKey (this=0xcb6878, __in_chrg=3) at ../../../dist/include/nsHashtable.h:125 #1 0xff1dfe28 in _hashFreeEntry (pool=0x0, entry=0xce1490, flag=1) at ../../../xpcom/ds/nsHashtable.cpp:65 #2 0xff3220cc in PL_HashTableRawRemove (ht=0x783688, hep=0xffbebdf4, he=0xce1490) at plhash.c:286 #3 0xff3225ac in PL_HashTableEnumerateEntries (ht=0x783688, f=0xff1e0244 <_hashEnumerateRemove(PLHashEntry *, int, void *)>, arg=0x0) at plhash.c:388 #4 0xff1e02ec in nsHashtable::Reset (this=0x924528, destroyFunc=0, closure=0x0) at ../../../xpcom/ds/nsHashtable.cpp:246 #5 0xff1e0294 in nsHashtable::Reset (this=0x924528) at ../../../xpcom/ds/nsHashtable.cpp:233 #6 0xff1e07bc in nsSupportsHashtable::Reset (this=0x924528) at ../../../xpcom/ds/nsHashtable.cpp:431 #7 0xfc0adc58 in nsRDFDOMDataSource::SetWindow (this=0x924508, window=0x97f5e8) at ../../../../rdf/tests/domds/nsRDFDOMDataSource.cpp:1208 #8 0xff23bd00 in XPTC_InvokeByIndex () at ../../../../../xpcom/reflect/xptinfo/src/nsInterfaceInfoManager.cpp:541 #9 0xfd7d111c in nsXPCWrappedNativeClass::CallWrappedMethod (this=0xa1e530, cx=0x83e700, wrapper=0xa1e5e8, desc=0xa1e5a4, callMode=18, argc=1, argv=0x984ebc, vp=0xffbec588) at ../../../../../js/src/xpconnect/src/xpcwrappednativeclass.cpp:898 #10 0xfd7d2b28 in WrappedNative_CallMethod (cx=0x83e700, obj=0xa1e5e8, argc=1, argv=0x984ebc, vp=0xffbec588) at ../../../../../js/src/xpconnect/src/xpcwrappednativejsops.cpp:200 #11 0xff2b68f0 in js_Invoke (cx=0x83e700, argc=1, flags=0) at ../../../js/src/jsinterp.c:665 #12 0xff2bddbc in js_Interpret (cx=0x83e700, result=0xffbec7e4) at ../../../js/src/jsinterp.c:2292 #13 0xff2b694c in js_Invoke (cx=0x83e700, argc=0, flags=0) at ../../../js/src/jsinterp.c:681 #14 0xff2bddbc in js_Interpret (cx=0x83e700, result=0xffbeca64) at ../../../js/src/jsinterp.c:2292 #15 0xff2b694c in js_Invoke (cx=0x83e700, argc=1, flags=2) at ../../../js/src/jsinterp.c:681 #16 0xff2b6b88 in js_InternalInvoke (cx=0x83e700, obj=0xc77028, fval=13070384, flags=0, argc=1, argv=0xffbece58, rval=0x83e700) at ../../../js/src/jsinterp.c:754 #17 0xff29a130 in JS_CallFunctionValue (cx=0x83e700, obj=0xc77028, fval=13070384, argc=1, argv=0xffbece58, rval=0xffbeccc8) at ../../../js/src/jsapi.c:2787 #18 0xfeebf1d4 in nsJSContext::CallEventHandler (this=0x836840, aTarget=0xc77028, aHandler=0xc77030, argc=1, argv=0xffbece58, aBoolResult=0xffbece54) at ../../../../dom/src/base/nsJSEnvironment.cpp:562 #19 0xfef19ea8 in nsJSEventListener::HandleEvent (this=0x84e7c8, aEvent=0xce497c) at ../../../../dom/src/events/nsJSEventListener.cpp:128 #20 0xfcee1ca4 in nsEventListenerManager::HandleEventSubType (this=0x0, aListenerStruct=0x8a47d8, aDOMEvent=0xce497c, aSubType=4, aPhaseFlags=7) at ../../../../layout/events/src/nsEventListenerManager.cpp:697 #21 0xfcee21a0 in nsEventListenerManager::HandleEvent (this=0x8bf9e8, aPresContext=0x8cc4f0, aEvent=0xffbed5d0, aDOMEvent=0xffbed394, aFlags=7, aEventStatus=0xffbedb48) at ../../../../layout/events/src/nsEventListenerManager.cpp:837 #22 0xfd59e7e0 in nsXULElement::HandleDOMEvent (this=0x8bf980, aPresContext=0x8cc4f0, aEvent=0xffbed5d0, aDOMEvent=0xffbed394, aFlags=1, aEventStatus=0xffbedb48) at ../../../../rdf/content/src/nsXULElement.cpp:2977 #23 0xfceec58c in nsEventStateManager::CheckForAndDispatchClick (this=0x8b0b80, aPresContext=0x8cc4f0, aEvent=0xffbedd98, aStatus=0xffbedb48) at ../../../../layout/events/src/nsEventStateManager.cpp:1668 #24 0xfcee94a4 in nsEventStateManager::PostHandleEvent (this=0x8b0b80, aPresContext=0x8cc4f0, aEvent=0xffbedd98, aTargetFrame=0x85caa8, aStatus=0xffbedb48, aView=0x876ed8) at ../../../../layout/events/src/nsEventStateManager.cpp:856 #25 0xfcf473f4 in PresShell::HandleEvent (this=0x91e470, aView=0x876ed8, aEvent=0xffbedd98, aEventStatus=0xffbedb48) at ../../../../../layout/html/base/src/nsPresShell.cpp:2955 #26 0xfcbc2498 in nsView::HandleEvent (this=0x876ed8, event=0xffbedd98, aEventFlags=28, aStatus=0xffbedb48, aHandled=@0xffbeda3c) at ../../../view/src/nsView.cpp:798 #27 0xfcbd5ce0 in nsViewManager2::DispatchEvent (this=0x870a20, aEvent=0xffbedd98, aStatus=0xffbedb48) at ../../../view/src/nsViewManager2.cpp:1214 #28 0xfcbbffac in HandleEvent (aEvent=0xffbedd98) at ../../../view/src/nsView.cpp:68 #29 0xfde4e8cc in nsWidget::DispatchEvent (this=0x870ad0, aEvent=0xffbedd98, aStatus=@0xffbedcb4) at ../../../../widget/src/gtk/nsWidget.cpp:1363 #30 0xfde4e57c in nsWidget::DispatchWindowEvent (this=0x870ad0, event=0xffbedd98) at ../../../../widget/src/gtk/nsWidget.cpp:1254 #31 0xfde4e97c in nsWidget::DispatchMouseEvent (this=0x870ad0, aEvent=@0xffbedd98) at ../../../../widget/src/gtk/nsWidget.cpp:1390 #32 0xfde4fca8 in nsWidget::OnButtonReleaseSignal (this=0x870ad0, aGdkButtonEvent=0x193ee8) ---Type <return> to continue, or q <return> to quit--- at ../../../../widget/src/gtk/nsWidget.cpp:2083 #33 0xfde55f1c in nsWindow::HandleGDKEvent (this=0x870ad0, event=0x193ee8) at ../../../../widget/src/gtk/nsWindow.cpp:1153 #34 0xfde40b3c in handle_gdk_event (event=0x193ee8, data=0x0) at ../../../../widget/src/gtk/nsGtkEventHandler.cpp:905 #35 0xfda2fe00 in gdk_event_dispatch () from /usr/local/lib/libgdk-1.2.so.0 #36 0xfd9b6c18 in g_main_dispatch () from /usr/local/lib/libglib-1.2.so.0 #37 0xfd9b7a00 in g_main_iterate () from /usr/local/lib/libglib-1.2.so.0 #38 0xfd9b7d9c in g_main_run () from /usr/local/lib/libglib-1.2.so.0 #39 0xfdbef918 in gtk_main () from /usr/local/lib/libgtk-1.2.so.0 #40 0xfde35a58 in nsAppShell::Run (this=0x139588) at ../../../../widget/src/gtk/nsAppShell.cpp:304 #41 0xfe94c208 in nsAppShellService::Run (this=0x111cf8) at ../../../../xpfe/appshell/src/nsAppShellService.cpp:400 #42 0x177b4 in main1 (argc=1, argv=0xffbee634, splashScreen=0x0) at ../../../xpfe/bootstrap/nsAppRunner.cpp:651 #43 0x17cf8 in main (argc=1, argv=0xffbee634) at ../../../xpfe/bootstrap/nsAppRunner.cpp:770 -- snip -- Seems to be a different kind of crash, isn't it ? Should I file a seperate bug report on this ?
Comment 5•25 years ago
|
||
[richb - 4/20/00] Is this a Solaris specific problem, or does it also crash on other platforms?
Reporter | ||
Comment 6•25 years ago
|
||
If I remeber correctly it put the Linux version to death, too ;-( (Sorry, but we have no OS/Platform=All_Unix...)
Assignee | ||
Updated•25 years ago
|
Target Milestone: M17 → M25
Per alecf... "the DOM viewer is not part of the product, so this is not a blocker". thus putting on [NoBlock] status so we know this is not a critical crasher.
Whiteboard: [NoBlock]
Reporter | ||
Comment 9•25 years ago
|
||
A full-featured DOM-Viewer/Editor would be a very good tool for SGML/XML/DocBook etc. -authoring/editing (someone from the composer group already stated this, right ?). IE >= 5.x has already a similar feature, therefore (IMO) it should be part of the Mozilla "product"...
Assignee | ||
Comment 10•25 years ago
|
||
I think it would be cool to make this start working again and make it part of mozilla. It's not really on Netscape's radar right now so I don't think it will make it into Netscape 6
Comment 11•25 years ago
|
||
I'm changing the OS platform to Linux as this bug has been tested to exist on linux platform too. On Linux the DOM viewer doesn't come up at all. -raghu
OS: Solaris → Linux
Assignee | ||
Comment 16•24 years ago
|
||
Moving DOM viewer bugs to future. I do not expect to get to these bugs any time soon, so feel free to work on them.
Comment 20•24 years ago
|
||
Also crashes WinNT as of build 2000111704 (Figured I'd mention it, even if it doesn't matter)
Comment 22•24 years ago
|
||
we have dumpdom and document inspector, but maybe i'll look into this. all/all per dupes
Comment 25•24 years ago
|
||
nav triage team: DOM Viewer is not in the product, marking nsbet1-
Keywords: nsbeta1-
Comment 26•23 years ago
|
||
I think this bug is invalid, the dom viewer does not exist any more
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Comment 27•22 years ago
|
||
Obsolete DOM Viewer bugs -> Browser-General; DOM Viewer component is going away.
Component: DOM Viewer → Browser-General
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•