Closed
Bug 114953
Opened 23 years ago
Closed 23 years ago
viewer file>print setup crashes
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: timeless, Assigned: rods)
References
Details
(Keywords: crash)
###!!! Break: at file /home/timeless/mozilla/xpcom/base/nsDebug.cpp, line 528
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/xpcom/nsCOMPtr.h, line 650
###!!! Break: at file ../../../dist/include/xpcom/nsCOMPtr.h, line 650
Program received signal SIGSEGV, Segmentation fault.
0x08065277 in nsXPBaseWindow::Layout (this=0x82a4d00, aWidth=375, aHeight=510)
at /home/timeless/mozilla/webshell/tests/viewer/nsXPBaseWindow.cpp:296
296 webShellWin->SetPositionAndSize(rr.x, rr.y, rr.width, rr.height, PR_FALSE);
Current language: auto; currently c++
(gdb) where
#0 0x08065277 in nsXPBaseWindow::Layout (this=0x82a4d00, aWidth=375, aHeight=510)
at /home/timeless/mozilla/webshell/tests/viewer/nsXPBaseWindow.cpp:296
#1 0x08064afe in HandleXPDialogEvent (aEvent=0xbfbfe5c4)
at /home/timeless/mozilla/webshell/tests/viewer/nsXPBaseWindow.cpp:188
#2 0x28b0d465 in nsWidget::DispatchEvent (this=0x8367a00, aEvent=0xbfbfe5c4, aStatus=@0xbfbfe538)
at /home/timeless/mozilla/widget/src/gtk/nsWidget.cpp:1408
#3 0x28b0d005 in nsWidget::DispatchWindowEvent (this=0x8367a00, event=0xbfbfe5c4)
at /home/timeless/mozilla/widget/src/gtk/nsWidget.cpp:1299
#4 0x28b0b226 in nsWidget::OnResize (this=0x8367a00, event=0xbfbfe5c4)
at /home/timeless/mozilla/widget/src/gtk/nsWidget.cpp:549
#5 0x28b1900b in nsWindow::Resize (this=0x8367a00, aWidth=375, aHeight=510, aRepaint=0)
at /home/timeless/mozilla/widget/src/gtk/nsWindow.cpp:2819
#6 0x28b0cc09 in nsWidget::CreateWidget (this=0x8367a00, aParent=0x0, aRect=@0xbfbfe7bc,
aHandleEventFunction=0x8064a70 <HandleXPDialogEvent(nsGUIEvent *)>, aContext=0x0, aAppShell=0x81186c0,
aToolkit=0x0, aInitData=0xbfbfe7cc, aNativeParent=0x0) at /home/timeless/mozilla/widget/src/gtk/nsWidget.cpp:1163
#7 0x28b0ce12 in nsWidget::Create (this=0x8367a00, aParent=0x0, aRect=@0xbfbfe7bc,
aHandleEventFunction=0x8064a70 <HandleXPDialogEvent(nsGUIEvent *)>, aContext=0x0, aAppShell=0x81186c0,
aToolkit=0x0, aInitData=0xbfbfe7cc) at /home/timeless/mozilla/widget/src/gtk/nsWidget.cpp:1214
#8 0x08064cbb in nsXPBaseWindow::Init (this=0x82a4d00, aType=eXPBaseWindowType_dialog, aAppShell=0x81186c0,
aDialogURL=@0xbfbfe878, aTitle=@0xbfbfe854, aBounds=@0xbfbfe868, aChromeMask=4294967295, aAllowPlugins=0)
at /home/timeless/mozilla/webshell/tests/viewer/nsXPBaseWindow.cpp:240
#9 0x08071301 in nsBrowserWindow::DoPrintSetup (this=0x8123400)
at /home/timeless/mozilla/webshell/tests/viewer/nsBrowserWindow.cpp:2237
#10 0x0806b240 in nsBrowserWindow::DispatchMenuItem (this=0x8123400, aID=40031)
at /home/timeless/mozilla/webshell/tests/viewer/nsBrowserWindow.cpp:902
#11 0x08084d34 in nsNativeBrowserWindow::DispatchMenuItem (this=0x8123400, aID=40031)
at /home/timeless/mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp:125
#12 0x08084f11 in gtk_ifactory_cb (nbw=0x8123400, callback_action=40031, widget=0x826dab8)
at /home/timeless/mozilla/webshell/tests/viewer/unix/gtk/nsGtkMenu.cpp:55
#13 0x28455f49 in gtk_item_factory_callback_marshal () from /usr/X11R6/lib/libgtk12.so.2
#14 0x284662ad in gtk_marshal_NONE__NONE () from /usr/X11R6/lib/libgtk12.so.2
#15 0x28496af2 in gtk_handlers_run () from /usr/X11R6/lib/libgtk12.so.2
#16 0x28495f61 in gtk_signal_real_emit () from /usr/X11R6/lib/libgtk12.so.2
#17 0x28493fb7 in gtk_signal_emit () from /usr/X11R6/lib/libgtk12.so.2
#18 0x284cc1e4 in gtk_widget_activate () from /usr/X11R6/lib/libgtk12.so.2
#19 0x2846e970 in gtk_menu_shell_activate_item () from /usr/X11R6/lib/libgtk12.so.2
#20 0x2846dbe6 in gtk_menu_shell_button_release () from /usr/X11R6/lib/libgtk12.so.2
#21 0x28465f37 in gtk_marshal_BOOL__POINTER () from /usr/X11R6/lib/libgtk12.so.2
#22 0x28495f9a in gtk_signal_real_emit () from /usr/X11R6/lib/libgtk12.so.2
#23 0x28493fb7 in gtk_signal_emit () from /usr/X11R6/lib/libgtk12.so.2
#24 0x284cc094 in gtk_widget_event () from /usr/X11R6/lib/libgtk12.so.2
#25 0x28465e89 in gtk_propagate_event () from /usr/X11R6/lib/libgtk12.so.2
#26 0x28464ffa in gtk_main_do_event () from /usr/X11R6/lib/libgtk12.so.2
#27 0x28b04820 in handle_gdk_event (event=0x82aa018, data=0x0)
at /home/timeless/mozilla/widget/src/gtk/nsGtkEventHandler.cpp:897
#28 0x285158ec in gdk_event_dispatch () from /usr/X11R6/lib/libgdk12.so.2
#29 0x28543d03 in g_main_dispatch () from /usr/local/lib/libglib12.so.3
#30 0x2854432c in g_main_iterate () from /usr/local/lib/libglib12.so.3
#31 0x285444c4 in g_main_run () from /usr/local/lib/libglib12.so.3
#32 0x284648b7 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2
#33 0x28afab55 in nsAppShell::Run (this=0x81186c0) at /home/timeless/mozilla/widget/src/gtk/nsAppShell.cpp:349
#34 0x08084b2a in nsNativeViewerApp::Run (this=0x8185780)
at /home/timeless/mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp:73
#35 0x08084e40 in main (argc=1, argv=0xbfbff5d0)
at /home/timeless/mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp:195
#36 0x08062f39 in _start ()
(gdb) p webShellWin
$1 = {mRawPtr = 0x0}
(gdb) list
291 //----------------------------------------------------------------------
292 void nsXPBaseWindow::Layout(PRInt32 aWidth, PRInt32 aHeight)
293 {
294 nsRect rr(0, 0, aWidth, aHeight);
295 nsCOMPtr<nsIBaseWindow> webShellWin(do_QueryInterface(mWebShell));
296 webShellWin->SetPositionAndSize(rr.x, rr.y, rr.width, rr.height, PR_FALSE);
297 }
298
299 //----------------------------------------------------------------------
300 NS_IMETHODIMP nsXPBaseWindow::SetLocation(PRInt32 aX, PRInt32 aY)
Keywords: crash
Summary: viewer file>print setup crashes → viewer file>print setup crashes
Assignee | ||
Comment 1•23 years ago
|
||
I have removed the option in my current printing patch, so I will mark this
Assignee | ||
Comment 2•23 years ago
|
||
fixed, the menu item has been removed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•