Closed Bug 297073 Opened 20 years ago Closed 20 years ago

Crash closing compose window with [x]

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: tracy, Assigned: timeless)

Details

(Keywords: crash, regression)

Attachments

(1 obsolete file)

seen on linux Thunderbird trunk build 2005-06-08-06-trunk

-Open a compose window
-Close the window using the window control [X]

crash: Talkback Incident ID : TB6492950, TB6492713E
also see a segfault error in console ./run-mozilla.sh: line 131

workaround is to use the File | Close Window menu item
this wasn't a problem using 2005060606-trunk bits.

Stack Signature	 NS_ScriptErrorReporter() deea0064
Product ID	ThunderbirdTrunk
Build ID	2005060805
Trigger Time	2005-06-08 07:28:24.0
Platform	LinuxIntel
Operating System	Linux 2.6.10-1.770_FC3
Module	thunderbird-bin + (00408160)
Since Last Crash	0 sec
Total Uptime	0 sec
Trigger Reason	SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No.
/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1453
Stack Trace 	
NS_ScriptErrorReporter() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1453]
js_ReportErrorAgain() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/js/src/jscntxt.c,
line 1028]
js_ReportUncaughtException() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/js/src/jsexn.c,
line 1135]
JS_CallFunctionValue() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/js/src/jsapi.c,
line 3865]
nsJSContext::CallEventHandler() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1395]
nsJSEventListener::HandleEvent() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/dom/src/events/nsJSEventListener.cpp,
line 177]
nsEventListenerManager::HandleEventSubType() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/content/events/src/nsEventListenerManager.cpp,
line 848]
nsEventListenerManager::HandleEvent() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1667]
nsGlobalWindow::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 919]
nsWebShellWindow::ExecuteCloseHandler() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp,
line 818]
nsWebShellWindow::HandleEvent() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp,
line 405]
nsCommonWidget::DispatchEvent() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp,
line 219]
nsWindow::OnDeleteEvent() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/widget/src/gtk2/nsWindow.cpp,
line 1405]
delete_event_cb() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/widget/src/gtk2/nsWindow.cpp,
line 3625]
libgtk-x11-2.0.so.0 + 0x10d757 (0x04a54757)
libgobject-2.0.so.0 + 0x9347 (0x00d75347)
libgobject-2.0.so.0 + 0x1fae1 (0x00d8bae1)
libgobject-2.0.so.0 + 0x20913 (0x00d8c913)
libgobject-2.0.so.0 + 0x20f5a (0x00d8cf5a)
libgtk-x11-2.0.so.0 + 0x201545 (0x04b48545)
libgtk-x11-2.0.so.0 + 0x10bf7c (0x04a52f7c)
libgdk-x11-2.0.so.0 + 0x3d0a2 (0x0065d0a2)
libglib-2.0.so.0 + 0x237bb (0x00d127bb)
libglib-2.0.so.0 + 0x25242 (0x00d14242)
libglib-2.0.so.0 + 0x254ef (0x00d144ef)
libgtk-x11-2.0.so.0 + 0x10b07e (0x04a5207e)
nsAppShell::Run() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp,
line 141]
nsAppStartup::Run() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp,
line 145]
XRE_main() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/toolkit/xre/nsAppRunner.cpp,
line 848]
main() 
[/builds/tinderbox/thunderbird-trunk/Linux_2.4.18-14_Depend/mozilla/mail/app/nsMailApp.cpp,
line 63]
libc.so.6 + 0x14e33 (0x00a89e33)
this regressed between today and yesterday's builds.
Assignee: mscott → timeless
Caused by bug 294846, perhaps?
can you reproduce this on windows? the talkback line numbers for the first frame
are broken.
unable to reproduce this with 2005060805-trunk tbird build on Windows XPsp2.
Status: NEW → ASSIGNED
Component: Message Compose Window → DOM
Product: Thunderbird → Core
Attached patch properly group &&/|| operations (obsolete) — Splinter Review
r+sr=jst, analyzed and tested by taf2 (thanks!)
Attachment #185719 - Flags: superreview+
Attachment #185719 - Flags: review+
Attachment #185719 - Flags: approval1.8b3?
Attachment #185719 - Flags: approval1.8b3? → approval1.8b3+
Comment on attachment 185719 [details] [diff] [review]
properly group &&/|| operations

mozilla/dom/src/base/nsJSEnvironment.cpp	1.253
Attachment #185719 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
verified fixed with Linux Tbird trunk build 2005-06-09-05-trunk
Status: RESOLVED → VERIFIED
I get the following error in th JS Console:
Error: sMsgComposeService is not defined
Source File: chrome://messenger/content/messengercompose/MsgComposeCommands.js
Line: 1037
Build 20050608 Zip package New installation, old profile, Win2000 sp3

I have only been testing the rss subscriptions in TB so have not set up any mail
accounts. TB will crash if I cancel the account setup wizard that appears if I
write a new mail message.

Steps:

1. No mail accounts set up
2. Click Write
3. Account wizard appears
4. Click Cancel
5. TB crashes 

Seems fixed in 20050609.

Same bug?
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: