Closed
Bug 23576
Opened 26 years ago
Closed 26 years ago
Crash after failure in XQueryPointer
Categories
(SeaMonkey :: General, defect, P2)
Tracking
(Not tracked)
VERIFIED
INVALID
M14
People
(Reporter: dejong, Assigned: pavlov)
Details
(Keywords: crash, Whiteboard: need new stack. this one is bogus)
I was testing out some of the menus with Alt-? combos when
I got a strange core dump. This seems to be because XQueryPointer()
failed for some reason. Should mozilla really exit if
gdk_window_get_pointer() does not work?
Here is the backtrace I got.
#0 0x402b0811 in __kill ()
#1 0x402b063f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x402b184f in abort () at ../sysdeps/generic/abort.c:83
#3 0x408d81e9 in g_logv (log_domain=0x408bc8a9 "Gdk",
log_level=G_LOG_LEVEL_ERROR, format=0x408bc973 "%s\n serial %ld error_code %d
request_code %d minor_code %d\n", args1=0xbffff278) at gmessages.c:389
#4 0x408d8296 in g_log (log_domain=0x408bc8a9 "Gdk",
log_level=G_LOG_LEVEL_ERROR, format=0x408bc973 "%s\n serial %ld error_code %d
request_code %d minor_code %d\n") at gmessages.c:406
#5 0x4089f804 in gdk_x_error (display=0x406144a8, error=0xbffff304) at
gdk.c:1048
#6 0x409270b9 in _XError ()
#7 0x40925886 in _XReply ()
#8 0x4091c2f8 in XQueryPointer ()
#9 0x408baec9 in gdk_window_get_pointer (window=0x0, x=0x0, y=0x0,
mask=0xbffff454) at gdkwindow.c:1646
#10 0x4073dc3d in nsGtkUtils::gdk_keyboard_get_modifiers () at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsGtkUtils.cpp:144
#11 0x4074b3f7 in nsWidget::DispatchEvent (this=0x41e12410, aEvent=0xbffff528,
aStatus=@0xbffff4ec) at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsWidget.cpp:1329
#12 0x4074b0e8 in nsWidget::DispatchWindowEvent (this=0x41e12410,
event=0xbffff528) at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsWidget.cpp:1238
#13 0x40749993 in nsWidget::OnResize (this=0x41e12410, event={<nsGUIEvent> =
{<nsEvent> = {eventStructType = 40 '(', message = 1081560064, point = {x =
1081333420, y = 1080544016}, refPoint = {x = 1080119555, y = 103}, time = 0,
flags = 0}, widget = 0x40615280, nativeMsg = 0xbffff58c}, windowSize = 0x0,
mWinWidth = 1080057112, mWinHeight = 1105273872}) at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsWidget.cpp:552
#14 0x4075443a in nsWindow::HandleXlibConfigureNotifyEvent (this=0x41e12410,
event=0xbffff658) at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsWindow.cpp:2688
#15 0x4073d6e1 in handle_xlib_shell_event (superwin=0x41c39db0,
event=0xbffff658, p=0x41e12410) at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsGtkEventHandler.cpp:913
#16 0x402108e4 in gdk_superwin_shell_filter (gdk_xevent=0xbffff658,
event=0x4067cb10, data=0x41c39db0) at
/home/mo/project/mozilla/mozilla/widget/src/gtksuperwin/gdksuperwin.c:376
#17 0x408aaa44 in gdk_event_apply_filters (xevent=0xbffff658, event=0x4067cb10,
filters=0x406f1f50) at gdkevents.c:950
#18 0x408aab42 in gdk_event_translate (event=0x4067cb10, xevent=0xbffff658) at
gdkevents.c:1029
#19 0x408abf11 in gdk_events_queue () at gdkevents.c:2045
#20 0x408ac0ec in gdk_event_dispatch (source_data=0x0, current_time=0xbffff748,
user_data=0x0) at gdkevents.c:2123
#21 0x408d5cef in g_main_dispatch (current_time=0xbffff748) at gmain.c:656
#22 0x408d62d7 in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#23 0x408d6459 in g_main_run (loop=0x4145e238) at gmain.c:932
#24 0x40803ac3 in gtk_main () at gtkmain.c:476
#25 0x40732c0e in nsAppShell::Run (this=0x40601bc0) at
/home/mo/project/mozilla/mozilla/widget/src/gtk/nsAppShell.cpp:304
#26 0x404fc521 in nsAppShellService::Run (this=0x80a9398) at
/home/mo/project/mozilla/mozilla/xpfe/appshell/src/nsAppShellService.cpp:481
#27 0x804d6b1 in main1 (argc=1, argv=0xbffff974) at
/home/mo/project/mozilla/mozilla/xpfe/bootstrap/nsAppRunner.cpp:609
#28 0x804db59 in main (argc=1, argv=0xbffff974) at
/home/mo/project/mozilla/mozilla/xpfe/bootstrap/nsAppRunner.cpp:697
Updated•26 years ago
|
Assignee: nobody → mcafee
QA Contact: nobody → sairuh
Comment 1•26 years ago
|
||
dejong@cs.umn.edu, what build? steps to reproduce...? thanks.
Updated•26 years ago
|
Severity: major → critical
I really have no idea what caused this or how to reproduce it. I was testing
out menus by pressing combos like Alt-F when I got this crash. I was running
on a RedHat 6.0 box build from the CVS from Jan 5th, I think. If I can provide
any more info that would help, please ask.
I just got this crash again. Perhaps this is related to switching of
virtual terminals under X. If the user has switched to another terminal
(on the console or in another "root" window created by the WM), what
will XQueryPointer() do? At any rate, here is the backtrace I got
today (Tue Jan 11th).
#0 0x402e5111 in __kill ()
#1 0x40233f7b in raise (sig=6) at signals.c:63
#2 0x402e6447 in abort () at ../sysdeps/generic/abort.c:88
#3 0x4086a103 in g_logv ()
#4 0x4086a1c6 in g_log ()
#5 0x4082dc94 in gdk_x_error ()
#6 0x408bacab in _XError ()
#7 0x408b9441 in _XReply ()
#8 0x408afef7 in XQueryPointer ()
#9 0x40849b1b in gdk_window_get_pointer ()
#10 0x406bc765 in nsGtkUtils::gdk_keyboard_get_modifiers ()
at ../../../../mozilla/widget/src/gtk/nsGtkUtils.cpp:144
#11 0x406ca12d in nsWidget::DispatchEvent (this=0x8802cd0, aEvent=0xbffff29
aStatus=@0xbffff240)
at ../../../../mozilla/widget/src/gtk/nsWidget.cpp:1329
#12 0x406c9dfc in nsWidget::DispatchWindowEvent (this=0x8802cd0,
event=0xbffff298) at ../../../../mozilla/widget/src/gtk/nsWidget.cpp:12
#13 0x406cf7f1 in nsWindow::DoPaint (this=0x8802cd0, aX=74, aY=-1371,
aWidth=1, aHeight=1, aClipRegion=0x8d8b910)
at ../../../../mozilla/widget/src/gtk/nsWindow.cpp:586
#14 0x406cf90d in nsWindow::Update (this=0x8802cd0)
at ../../../../mozilla/widget/src/gtk/nsWindow.cpp:615
#15 0x406cf4e7 in nsWindow::UpdateIdle (data=0x0)
at ../../../../mozilla/widget/src/gtk/nsWindow.cpp:486
#16 0x40868a49 in g_idle_dispatch ()
#17 0x40867a86 in g_main_dispatch ()
#18 0x40868041 in g_main_iterate ()
#19 0x408681e1 in g_main_run ()
#20 0x407917a9 in gtk_main ()
#21 0x406b1667 in nsAppShell::Run (this=0x8090a78)
at ../../../../mozilla/widget/src/gtk/nsAppShell.cpp:304
#22 0x4058607d in nsAppShellService::Run (this=0x80aaac0)
at ../../../../mozilla/xpfe/appshell/src/nsAppShellService.cpp:465
#23 0x804bf3d in main1 (argc=1, argv=0xbffff5c4)
at ../../../mozilla/xpfe/bootstrap/nsAppRunner.cpp:609
#24 0x804c3c7 in main (argc=1, argv=0xbffff5c4)
at ../../../mozilla/xpfe/bootstrap/nsAppRunner.cpp:697
#25 0x402decb3 in __libc_start_main (main=0x804c1ac <main>, argc=1,
argv=0xbffff5c4, init=0x804a1f8 <_init>, fini=0x8050c88 <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff5bc)
at ../sysdeps/generic/libc-start.c:78
I was just looking at the back trace, and I think the problem
here might actually be caused by mozilla passing a NULL
window pointer to gdk_window_get_pointer().
Take a look at stack #9. The first argument is 0x0 (NULL).
#9 0x408baec9 in gdk_window_get_pointer (window=0x0, x=0x0, y=0x0,
mask=0xbffff454) at gdkwindow.c:1646
Updated•26 years ago
|
Assignee: mcafee → pavlov
Comment 5•26 years ago
|
||
nsGtkUtils.cpp:144 explicitly sets the args to null,
ramiro added this code for ? the flashing prefs according
to v1.13 of this file. over to pavlov.
| Assignee | ||
Comment 6•26 years ago
|
||
it isn't really crashing here.. you iwll need to run the app with --sync so that
you can get an acurate stack trace
| Assignee | ||
Updated•26 years ago
|
Whiteboard: need new stack. this one is bogus
Updated•26 years ago
|
Priority: P3 → P2
Target Milestone: M14
Comment 7•26 years ago
|
||
targetting m14, p2 to get off M13 radar. Pav: How common is this scenario? Can
you reproduce this?
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Comment 8•26 years ago
|
||
cannot repro using 2000-011908 linux comm bits. marking wfm.
| Reporter | ||
Comment 10•26 years ago
|
||
Sorry guys, but I just got this crash again with todays CVS. There is still
no way to reproduce it, but the error is the same (failure in XQueryPointer).
I am adding --sync to my startup script in the hopes that it will shed
some light on the problem. Reopening the bug.
Status: VERIFIED → REOPENED
| Assignee | ||
Comment 13•26 years ago
|
||
have you found anything?
| Reporter | ||
Comment 14•26 years ago
|
||
I found that I can not run mozilla with the --sync option.
When I run it with --sync the menus are all hosed up and
I can only type "normal" letters ([A-Z|a-z|0-9]). The
spacebar seems to do nothing and return has no effect.
I am stumped here. If I can not get a "good" stack trace
in "normal" X mode and I can not run in --sync mode, is
there any hope of tracking down this crash? Any X gurus
out there?
| Assignee | ||
Comment 15•26 years ago
|
||
that seems bad. try it again. I run it with --sync almost every day in the
debugger.
| Assignee | ||
Comment 16•26 years ago
|
||
the stack trace is still invalid. I have no new information that will help me
be able to fix this bug. Marking invalid.
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 18•26 years ago
|
||
RE:
>that seems bad. try it again. I run it with --sync almost every day in the
>debugger.
I just tried it with a new CVS build and it now runs with --sync but it rings
the system bell every time I type a letter on the keyboard. It does not
really stop the program from working but it is really annoying. If I get
the X Pointer related crash again I will post another note.
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•