Crash from typing Control-P twice in mail composer

VERIFIED FIXED

Status

MailNews Core
Printing
--
critical
VERIFIED FIXED
17 years ago
9 years ago

People

(Reporter: Fred Richardson, Assigned: dcone (gone))

Tracking

({crash})

Trunk
x86
Linux
crash

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
I'm accustom to emacs bindings (and I haven't yet looked in to customizing
mozilla's mail composer to use them), so I keep hitting Control-P twice while
I'm in the mail composer.  This results in the creation of two print dialog
boxes in a row.  I can either click `Ok' or `Cancel' from the first dialog box
without anything happening.  But clicking either of these in the second dialog
box causes Mozilla to crash.  (Of course, the second dialog shouldn't be coming
up in the first place).

Updated

17 years ago
Severity: normal → critical
Keywords: crash

Comment 1

17 years ago
Reporter do you have a stacktraceor talkack id fromt he crash?
WFM on Windows - but it's a native print dialog, so that's not surprising.

Gerv

Comment 3

17 years ago
I managed to duplicate this crash using a linux cvs build from today.  I hit
control P twice in the browser, then cancel cancel, and experienced the same
effect as doing it in mail.  Here's the stack:
#0  0x40be54bc in PrintData::OnEndPrinting ()
   from mozilla/dist/bin/components/libgkcontent.so
#1  0x40becab1 in DocumentViewerImpl::Print ()
   from mozilla/dist/bin/components/libgkcontent.so
#2  0x40949c4c in GlobalWindowImpl::Print ()
   from mozilla/dist/bin/components/libjsdom.so
#3  0x400d94d1 in XPTC_InvokeByIndex ()
   from mozilla/dist/bin/libxpcom.so
#4  0x40669449 in XPCWrappedNative::CallMethod ()
   from mozilla/dist/bin/components/libxpconnect.so
#5  0x4066e905 in XPC_WN_CallMethod ()
   from mozilla/dist/bin/components/libxpconnect.so
#6  0x4013e645 in js_Invoke ()
   from mozilla/dist/bin/libmozjs.so
#7  0x40145b72 in js_Interpret ()
   from mozilla/dist/bin/libmozjs.so
#8  0x4013e690 in js_Invoke ()
   from mozilla/dist/bin/libmozjs.so
#9  0x4013e88c in js_InternalInvoke ()
   from mozilla/dist/bin/libmozjs.so
#10 0x40122eff in JS_CallFunctionValue ()
   from mozilla/dist/bin/libmozjs.so
#11 0x409428b1 in nsJSContext::CallEventHandler ()
   from mozilla/dist/bin/components/libjsdom.so
#12 0x40963d4c in nsJSEventListener::HandleEvent ()
   from mozilla/dist/bin/components/libjsdom.so
#13 0x40bc3258 in nsXBLPrototypeHandler::ExecuteHandler ()
   from mozilla/dist/bin/components/libgkcontent.so
#14 0x40bc084b in nsXBLWindowHandler::WalkHandlersInternal ()
   from mozilla/dist/bin/components/libgkcontent.so
#15 0x40bc0f89 in nsXBLWindowKeyHandler::WalkHandlers ()
   from mozilla/dist/bin/components/libgkcontent.so
#16 0x40bc102a in nsXBLWindowKeyHandler::KeyPress ()
   from mozilla/dist/bin/components/libgkcontent.so
#17 0x40a98069 in nsEventListenerManager::HandleEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#18 0x40b88b1c in nsXULDocument::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#19 0x40b76990 in nsXULElement::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#20 0x40b76990 in nsXULElement::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#21 0x40b76990 in nsXULElement::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#22 0x40b76990 in nsXULElement::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#23 0x40b76990 in nsXULElement::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#24 0x40b79642 in nsXULElement::HandleChromeEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#25 0x4094657c in GlobalWindowImpl::HandleDOMEvent ()
   from mozilla/dist/bin/components/libjsdom.so
#26 0x40bdf874 in nsDocument::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#27 0x40bfadc3 in nsGenericElement::HandleDOMEvent ()
   from mozilla/dist/bin/components/libgkcontent.so
#28 0x40fddba7 in PresShell::HandleEventInternal ()
   from mozilla/dist/bin/components/libgklayout.so
#29 0x40fdda33 in PresShell::HandleEvent ()
   from mozilla/dist/bin/components/libgklayout.so
#30 0x4111a806 in nsView::HandleEvent ()
   from mozilla/dist/bin/components/libgkview.so
#31 0x4111a7ae in nsView::HandleEvent ()
   from mozilla/dist/bin/components/libgkview.so
#32 0x4111a7ae in nsView::HandleEvent ()
   from mozilla/dist/bin/components/libgkview.so
#33 0x41123e8e in nsViewManager::DispatchEvent ()
   from mozilla/dist/bin/components/libgkview.so
#34 0x4111a1ad in HandleEvent ()
   from mozilla/dist/bin/components/libgkview.so
#35 0x406bb32a in nsWidget::DispatchEvent ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#36 0x406bb255 in nsWidget::DispatchWindowEvent ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#37 0x406b9891 in nsWidget::OnInput ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#38 0x406b5a9f in handle_key_press_event ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#39 0x406b5f9f in dispatch_superwin_event ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#40 0x406b5d04 in handle_gdk_event ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#41 0x403184db in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#42 0x40348186 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#43 0x40348751 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#44 0x403488f1 in g_main_run () from /usr/lib/libglib-1.2.so.0
#45 0x4026c5b9 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#46 0x406ae1d0 in nsAppShell::Run ()
   from mozilla/dist/bin/components/libwidget_gtk.so
#47 0x406908ea in nsAppShellService::Run ()
   from mozilla/dist/bin/components/libnsappshell.so
#48 0x804e6b9 in main1 ()
#49 0x804eea5 in main () from /usr/local/mozilla/plugins/libflashplayer.so
#50 0x404499cb in __libc_start_main (main=0x804ed78 <main>, argc=1,
    argv=0xbffff934, init=0x804b120 <_init>, fini=0x8050b18 <_fini>,
    rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffff92c)
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Comment 4

17 years ago
fixed
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 5

17 years ago
Linux (2001-06-19-14 trunk)
Fixed
(Also, the second dialog does not come up.)
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.