Closed
Bug 24374
Opened 25 years ago
Closed 25 years ago
another view/widget crasher opening mail/news window
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: dmosedale, Assigned: vidur)
Details
-g --enable-optimize --disable-debug built from the tip on Tuesday evening, Jan
18th.
#0 0x40dcc3f5 in vm_timer_callback (aTimer=0x80d0608, aClosure=0x403e1ea8)
at /u/dmose/s/browser-main/mozilla/view/src/nsViewManager2.cpp:80
#1 0x40345ef6 in nsJSContext::EvaluateString (this=0x8579938,
aScript=@0xbfffe03c, aScopeObject=0x842b7b8, aPrincipal=0x80d0608,
aURL=0x4066892c "|ü\001", aLineNo=134999312,
aVersion=0x40668730 "\026\001", aRetValue=@0xbfffdfa4,
aIsUndefined=0xbfffdfa0) at ../../../dist/include/nsCOMPtr.h:479
#2 0x40355f7a in GlobalWindowImpl::RunTimeout (this=0x85786b0,
aTimeout=0x8853e88)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsGlobalWindow.cpp:2074
#3 0x40355dc1 in nsGlobalWindow_RunTimeout (aTimer=0x8853f18,
aClosure=0x8853e88)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsGlobalWindow.cpp:1989
#4 0x40dd5cf4 in nsTimerGtk::FireTimeout (this=0x8853f18)
at
/u/dmose/s/browser-main/mozilla/widget/timer/src/unix/gtk/nsTimerGtk.cpp:38
#5 0x40dd5fdc in nsTimerExpired (aCallData=0x8853f18)
at
/u/dmose/s/browser-main/mozilla/widget/timer/src/unix/gtk/nsTimerGtk.cpp:154
#6 0x40658fa3 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#7 0x406582c6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#8 0x40658801 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#9 0x406588a3 in g_main_iteration () from /usr/lib/libglib-1.2.so.0
#10 0x404ca13d in nsAppShell::DispatchNativeEvent (this=0x87d2170,
aRealEvent=0, aEvent=0x0)
at /u/dmose/s/browser-main/mozilla/widget/src/gtk/nsAppShell.cpp:340
#11 0x40414e42 in nsWebShellWindow::ShowModalInternal (this=0x8854fc0)
at
/u/dmose/s/browser-main/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp:1786
#12 0x40414c9c in nsWebShellWindow::ShowModal (this=0x8854fc0)
at
/u/dmose/s/browser-main/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp:1748
#13 0x40414fff in nsWebShellWindow::ShowModally (this=0x8854fc0, aPrepare=0)
at
/u/dmose/s/browser-main/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp:1824
#14 0x403570a2 in GlobalWindowImpl::OpenInternal (this=0x85786b0,
cx=0x857b000, argv=0x859fa74, argc=4, aDialog=1, aReturn=0xbfffe588)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsGlobalWindow.cpp:2513
#15 0x4035674e in GlobalWindowImpl::OpenDialog (this=0x85786b0, cx=0x857b000,
argv=0x859fa74, argc=4, aReturn=0xbfffe588)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsGlobalWindow.cpp:2354
#16 0x4034d70d in WindowOpenDialog (cx=0x857b000, obj=0x842b7b8, argc=4,
argv=0x859fa74, rval=0xbfffe634)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsJSWindow.cpp:2609
#17 0x40061c98 in js_Invoke (cx=0x857b000, argc=4, flags=0)
at /u/dmose/s/browser-main/mozilla/js/src/jsinterp.c:666
#18 0x40067f7a in js_Interpret (cx=0x857b000, result=0xbfffea4c)
at /u/dmose/s/browser-main/mozilla/js/src/jsinterp.c:2262
#19 0x40061ced in js_Invoke (cx=0x857b000, argc=0, flags=0)
at /u/dmose/s/browser-main/mozilla/js/src/jsinterp.c:682
#20 0x40067f7a in js_Interpret (cx=0x857b000, result=0xbfffef20)
at /u/dmose/s/browser-main/mozilla/js/src/jsinterp.c:2262
#21 0x40062055 in js_Execute (cx=0x857b000, chain=0x842b7b8, script=0x87c6680,
fun=0x0, down=0x0, special=0, result=0xbfffef20)
at /u/dmose/s/browser-main/mozilla/js/src/jsinterp.c:839
#22 0x4004a434 in JS_EvaluateUCScriptForPrincipals (cx=0x857b000,
obj=0x842b7b8, principals=0x81c4474, chars=0xbffff080, length=23,
filename=0x87c1fd0 "chrome://messenger/content/widgetglue.js", lineno=587,
rval=0xbfffef20) at /u/dmose/s/browser-main/mozilla/js/src/jsapi.c:2724
#23 0x403461fa in nsJSContext::EvaluateString (this=0x8579938,
aScript=@0xbffff068, aScopeObject=0x842b7b8, aPrincipal=0x81c4470,
aURL=0x87c1fd0 "chrome://messenger/content/widgetglue.js", aLineNo=587,
aVersion=0x4008b2c9 "default", aRetValue=@0xbfffefd0,
aIsUndefined=0xbfffefcc)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsJSEnvironment.cpp:294
#24 0x40355f7a in GlobalWindowImpl::RunTimeout (this=0x85786b0,
aTimeout=0x87c1f70)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsGlobalWindow.cpp:2074
#25 0x40355dc1 in nsGlobalWindow_RunTimeout (aTimer=0x87f2350,
aClosure=0x87c1f70)
at /u/dmose/s/browser-main/mozilla/dom/src/base/nsGlobalWindow.cpp:1989
#26 0x40dd5cf4 in nsTimerGtk::FireTimeout (this=0x87f2350)
at
/u/dmose/s/browser-main/mozilla/widget/timer/src/unix/gtk/nsTimerGtk.cpp:38
#27 0x40dd5fdc in nsTimerExpired (aCallData=0x87f2350)
at
/u/dmose/s/browser-main/mozilla/widget/timer/src/unix/gtk/nsTimerGtk.cpp:154
#28 0x40658fa3 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#29 0x406582c6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#30 0x40658801 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#31 0x40658979 in g_main_run () from /usr/lib/libglib-1.2.so.0
#32 0x40587f3a in gtk_main () from /usr/lib/libgtk-1.2.so.0
#33 0x404ca0ca in nsAppShell::Run (this=0x80894c8)
at /u/dmose/s/browser-main/mozilla/widget/src/gtk/nsAppShell.cpp:304
#34 0x4040fc42 in nsAppShellService::Run (this=0x80a6af8)
at
/u/dmose/s/browser-main/mozilla/xpfe/appshell/src/nsAppShellService.cpp:465
#35 0x804a425 in main1 (argc=1, argv=0xbffff3e4)
at /u/dmose/s/browser-main/mozilla/xpfe/bootstrap/nsAppRunner.cpp:598
#36 0x804a794 in main (argc=1, argv=0xbffff3e4)
at /u/dmose/s/browser-main/mozilla/xpfe/bootstrap/nsAppRunner.cpp:691
| Reporter | ||
Comment 1•25 years ago
|
||
Looking at stderr, it looks like this may not be a view/widget bug:
title string = [Mail - Mozilla]
title string = [Mozilla]
attempt to UpgradePrefs. If that fails, open the account wizard.
start message pane with: http://www.mozilla.org/mailnews/start.html
In sortColumn
in showthreads
In onLoadfolderPane
In sortColumn
SetupCommandUpdateHandlers
JavaScript Error: uncaught exception: [Exception... "Component returned failure
code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgAccountManager.defaultAccount]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
chrome://messenger/content/msgMail3PaneWindow.js :: loadStartFolder :: line
272" data: no]
WEBSHELL+ = 7
title string = [Welcome to Mozilla Mail & News - Mozilla]
Program received signal SIGSEGV, Segmentation fault.
0x40345ef1 in ?? ()
from
/u/dmose/s/browser-main/mozilla/obj-i686-pc-linux-gnu/dist/bin/libjsdom.so
I'll let you reassign as appropriate.
| Reporter | ||
Comment 2•25 years ago
|
||
Though it seems like an uncaught JS exception still shouldn't be causing a
segfault.
Comment 3•25 years ago
|
||
This isn't a view manager bug, and nsViewManager2.cpp isn't part of the current
building tree.
Assignee: beard → vidur
Component: Views → DOM Level 0
QA Contact: petersen → desale
| Assignee | ||
Comment 4•25 years ago
|
||
Dude, you've got to give me a bit more to work with here. The crash doesn't seem
to be a direct result of the exception thrown (there's more stuff printed out to
the console after the exception string). Bringing up mail and news works fine
for me on Windows and Linux debug builds. If this is an optimized build issue on
Linux, it's possible that it's related to the platform-specific timer
implementation.
Either way, I can't recreate it on the builds I have and I'm going to mark it
WORKSFORME. If you can recreate it on an optimized Linux build, I'd suggest
reopening and starting with either someone on the mail team (to deal with the
exception) or one of the Linux-heads.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•