Closed
Bug 164581
Opened 23 years ago
Closed 23 years ago
"Gdk-ERROR **: BadMatch" at startup
Categories
(SeaMonkey :: Themes, defect, P1)
SeaMonkey
Themes
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: roland.mainz, Assigned: bryner)
References
Details
Attachments
(1 file)
2002-08-24-08-trunk Linux x86 build fails with a X error on startup like this:
-- snip --
WARNING: nsXKBModeSwitch::ControlWorkaround:, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/widget/src/gtk/nsKeyboardUtils.cpp,
line 78
WARNING: grab_during, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/widget/src/gtk/nsKeyboardUtils.cpp,
line 79
WARNING: ungrab_duri, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/widget/src/gtk/nsKeyboardUtils.cpp,
line 80
WARNING:
nsXKBModeSwitch::HandleMappingNotify:, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/widget/src/gtk/nsKeyboardUtils.cpp,
line 154
WARNING: gModeSwitch, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/widget/src/gtk/nsKeyboardUtils.cpp,
line 155
WARNING: gModeSwitch, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/widget/src/gtk/nsKeyboardUtils.cpp,
line 156
GFX: dpi=85 t2p=0.0588235 p2t=17 depth=24
WEBSHELL+ = 1
IsPluginFile(/shared/bigtmp2/mozilla/2002-08-24-08-trunk/objdir_ws7_gtk/modules/plugin/samples/default/unix/libnullplugin.so)
== TRUE
LoadPlugin()
/shared/bigtmp2/mozilla/2002-08-24-08-trunk/objdir_ws7_gtk/modules/plugin/samples/default/unix/libnullplugin.so
returned 2f30a0
GetMIMEDescription() returned "*:.*:All types"
WEBSHELL+ = 2
Note: verifyreflow is disabled
Note: styleverifytree is disabled
Note: frameverifytree is disabled
WARNING: freetype not compiled in, file nsFreeType.cpp, line 64
WARNING:
charset = ISO, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp,
line 2140
Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 1009 error_code 8 request_code 70 minor_code 0
-- snip --
Reporter | ||
Updated•23 years ago
|
Severity: normal → blocker
Priority: -- → P1
Reporter | ||
Comment 1•23 years ago
|
||
The following workaround fixes the problem:
-- snip --
+++ mozilla/gfx/src/gtk/Makefile.in Mon Aug 26 09:15:28 2002
@@ -51,7 +51,7 @@
REQUIRES += ctl
endif
-NATIVE_THEME_SUPPORT = 1
+#NATIVE_THEME_SUPPORT = 1
-- snip --
Over to bryner per CVSBlame...
Assignee: asa → bryner
Component: Browser-General → Themes
Comment 2•23 years ago
|
||
*** Bug 164578 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 3•23 years ago
|
||
Reporter | ||
Comment 5•23 years ago
|
||
The error seems to depend on the kind of graphics card hardware being used -
having many visuals seems to trigger this error.
Comment 6•23 years ago
|
||
See also bug 142334 comment 3
WFM 2002-08-25-21 Linux. I'm using gtk1 default theme and Matrox G550.
Reporter | ||
Comment 7•23 years ago
|
||
Stack trace looks like this (X connection in sync mode):
-- snip --
charset = ISO, file
../../../../../../../../home/mozilla/src/2002-08-24-08-trunk/mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp,
line 2140
Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 2038 error_code 8 request_code 70 minor_code 0
t@1 (l@1) stopped in exit at 0xff29a5a0
0xff29a5a0: exit : save %sp, -0x60, %sp
dbx: warning: can't find file
"/home/gisburn/package-builds/gtk+/gtk+-1.2.8/objdir/gdk/gdkdraw.lo"
dbx: warning: can't find file
"/home/gisburn/package-builds/gtk+/gtk+-1.2.8/objdir/gtk/gtkstyle.lo"
Current function is moz_gtk_toolbar_paint
436 rect->x, rect->y, rect->width, rect->height);
(dbx) where
current thread: t@1
[1] exit(0x1, 0x6e, 0xff2bd9d4, 0xff2b9b20, 0x8, 0x46), at 0xff29a5a0
[2] gdk_x_error(0x46, 0xffbed7f0, 0xfe5a62e8, 0x18, 0x800, 0x139bd8), at
0xfe5a63c4
[3] _XError(0xfe72188c, 0xffbed918, 0xfe71c000, 0x139bd8, 0x20, 0x139bd8), at
0xfe6a284c
[4] _XReply(0x139bd8, 0x7f7, 0x0, 0x7f7, 0x7f6, 0x0), at 0xfe694c34
[5] XSync(0x139bd8, 0x0, 0xfe71f560, 0x0, 0xffbed9fc, 0x1), at 0xfe699b90
[6] _XSyncFunction(0x139bd8, 0x8400129, 0x5d22f8, 0x0, 0x0, 0xa9), at
0xfe6abf38
[7] gdk_draw_rectangle(0x620fc8, 0x57fc40, 0x1, 0x0, 0x0, 0xa9), at 0xfe5bad48
[8] gtk_default_draw_box(0x358a70, 0x620fc8, 0x0, 0x2, 0xffbedc80, 0x637f90),
at 0xfea65830
[9] gtk_paint_box(0xfc24c35c, 0x0, 0x0, 0x2, 0x0, 0xa9), at 0xfea6cb34
=>[10] moz_gtk_toolbar_paint(window = 0x620fc8, style = 0x358a70, rect =
0xffbedc98, cliprect = 0xffbedc80), line 436 in "gtkdrawing.c"
[11] nsNativeThemeGTK::DrawWidgetBackground(this = 0x36a3f8, aContext =
0x6213e0, aFrame = 0x5b0dd0, aWidgetType = '\v', aRect = STRUCT, aClipRect =
STRUCT), line 329 in "nsNativeThemeGTK.cpp"
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-08-24-08-trunk/objdir_ws7_gtk/layout/build/nsCSSRendering.o"
[12] nsCSSRendering::PaintBackgroundWithSC(0x5b0d50, 0x6213e0, 0x5b0dd0,
0xffbee060, 0xffbedfd8, 0xfc24c18c), at 0xfb2f2374
[13] nsCSSRendering::PaintBackground(0x3c9148, 0x6213e0, 0x5b0dd0, 0xffbee060,
0xffbedfd8, 0x459554), at 0xfb2f1fd0
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-08-24-08-trunk/objdir_ws7_gtk/layout/build/nsBoxFrame.o"
[14] nsBoxFrame::Paint(0x5b0dd0, 0x3c9148, 0x6213e0, 0xffbee060, 0x0,
0xfb6937d4), at 0xfb37ea64
[15] nsBoxFrame::PaintChild(0x4953e0, 0x3c9148, 0x6213e0, 0xfc24bd90,
0x5b0dd0, 0x0), at 0xfb37ee28
[16] nsBoxFrame::PaintChildren(0x495468, 0x3c9148, 0x6213e0, 0xffbee310, 0x0,
0xfc24bd90), at 0xfb37f298
[17] nsBoxFrame::Paint(0x495468, 0x3c9148, 0x6213e0, 0xffbee310, 0x0, 0x0), at
0xfb37ec70
[18] nsBoxFrame::PaintChild(0x4953e0, 0x3c9148, 0x6213e0, 0xfc24bd90,
0x495468, 0x0), at 0xfb37ee28
[19] nsBoxFrame::PaintChildren(0x495274, 0x3c9148, 0x6213e0, 0xffbee5c0, 0x0,
0xfb68fe34), at 0xfb37f298
[20] nsBoxFrame::Paint(0x495274, 0x3c9148, 0x6213e0, 0xffbee5c0, 0x0, 0x0), at
0xfb37ec70
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-08-24-08-trunk/objdir_ws7_gtk/layout/build/nsContainerFrame.o"
[21] nsContainerFrame::PaintChild(0xfb68fc1c, 0x3c9148, 0x6213e0, 0xffbee830,
0x495274, 0x0), at 0xfb19a218
[22] nsContainerFrame::PaintChildren(0x495238, 0x3c9148, 0x6213e0, 0xffbee830,
0x0, 0x0), at 0xfb19a040
[23] nsContainerFrame::Paint(0x495238, 0x3c9148, 0xfb19a008, 0xffbee830, 0x0,
0xfb683074), at 0xfb199fe8
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-08-24-08-trunk/objdir_ws7_gtk/layout/build/nsPresShell.o"
[24] PresShell::Paint(0x3b05b0, 0x3c9528, 0x6213e0, 0xffbee830, 0x3b05e8,
0x4464b0), at 0xfb221230
[25] nsView::Paint(this = ???, rc = CLASS, rect = STRUCT, aPaintFlags = ???,
aResult = ???) (optimized), at 0xfb8ec750 (line ~273) in "nsView.cpp"
[26] nsViewManager::RenderDisplayListElement(this = ???, element = ???, aRC =
CLASS) (optimized), at 0xfb8f9218 (line ~1207) in "nsViewManager.cpp"
[27] nsViewManager::RenderViews(this = ???, aRootView = ???, aRC = CLASS,
aRect = STRUCT, aResult = ???) (optimized), at 0xfb8f9088 (line ~1155) in
"nsViewManager.cpp"
[28] nsViewManager::Refresh(this = ???, aView = ???, aContext = ???, aRegion =
???, aUpdateFlags = ???) (optimized), at 0xfb8f8018 (line ~748) in
"nsViewManager.cpp"
[29] nsViewManager::DispatchEvent(this = ???, aEvent = ???, aStatus = ???)
(optimized), at 0xfb8fa678 (line ~1743) in "nsViewManager.cpp"
[30] HandleEvent(aEvent = ???) (optimized), at 0xfb8ebe64 (line ~80) in
"nsView.cpp"
[31] nsWidget::DispatchEvent(this = ???, aEvent = ???, aStatus = ???)
(optimized), at 0xfc742a08 (line ~1476) in "nsWidget.cpp"
[32] nsWidget::DispatchWindowEvent(this = ???, event = ???) (optimized), at
0xfc742684 (line ~1364) in "nsWidget.cpp"
[33] nsWindow::DoPaint(this = ???, aX = ???, aY = ???, aWidth = ???, aHeight =
???, aClipRegion = ???) (optimized), at 0xfc748650 (line ~4129587) in
"nsWindow.cpp"
[34] nsWindow::Update(this = ???) (optimized), at 0xfc748830 (line ~4129633)
in "nsWindow.cpp"
[35] nsWindow::UpdateIdle(data = ???) (optimized), at 0xfc748284 (line
~4129496) in "nsWindow.cpp"
dbx: warning: can't find file
"/home/gisburn/package-builds/glib/glib-1.2.8/objdir/gmain.lo"
[36] g_idle_dispatch(0xfc748204, 0xffbef010, 0x0, 0xff3e4270, 0xff35ca24,
0xffbeef78), at 0xfe7b94b4
[37] g_main_dispatch(0xffbef010, 0x15b250, 0x1, 0x0, 0xfe85155b, 0x378), at
0xfe7b6dc8
[38] g_main_iterate(0x1, 0x1, 0x5, 0xff3e4270, 0xfc71a867, 0x18), at
0xfe7b7bcc
[39] g_main_run(0x313158, 0x313158, 0x1, 0xfc79a56c, 0xfc79a570, 0x10c8c4), at
0xfe7b7f64
dbx: warning: can't find file
"/home/gisburn/package-builds/gtk+/gtk+-1.2.8/objdir/gtk/gtkmain.lo"
[40] gtk_main(0xc7ef8, 0xc7df0, 0xffbef0ec, 0xffbef0f0, 0x0, 0xfc727e8c), at
0xfe9d60a0
[41] nsAppShell::Run(this = ???) (optimized), at 0xfc727de0 (line ~332) in
"nsAppShell.cpp"
[42] nsAppShellService::Run(this = ???) (optimized), at 0xfd3b14f8 (line ~451)
in "nsAppShellService.cpp"
[43] main1(argc = ???, argv = ???, nativeApp = ???) (optimized), at 0x1a2b4
(line ~1507) in "nsAppRunner.cpp"
[44] main(argc = ???, argv = ???) (optimized), at 0x1ac9c (line ~1871) in
"nsAppRunner.cpp"
-- snip --
Reporter | ||
Comment 8•23 years ago
|
||
From what I can see here it seems that this crash always occurs if the visual we
use is not the same as the screen's root visual.
Comment 9•23 years ago
|
||
*** Bug 164424 has been marked as a duplicate of this bug. ***
Comment 10•23 years ago
|
||
[root@callisto root]# /usr/local/mozilla/mozilla
Gdk-ERROR **: BadWindow (invalid Window parameter)
serial 532 error_code 3 request_code 61 minor_code 0
[root@callisto root]#
ONLY AS ROOT. My regular user works just fine. Also, all builds at least from
08-22-2002 til 08-26-2002 do this. Haven't checked back past 08-22 as it was my
first nightly grab in few weeks. I see the "create profile" window pop up for
just a smidgeon, then disappear with the above error. I then do mozilla
-CreateProfile root to get past that. Next time I ran it, the "regular" window
popped up for 1/10 second or so, then disappeared with the same error, different
serial.
Reporter | ||
Comment 11•23 years ago
|
||
I am getting the error as normal user and root, both remote and local X
connection...
Comment 12•23 years ago
|
||
this isn't showing up in our smoketests so it's not a smoketest blocker.
However, if this is the bug responsible for the ns trunk tinderbox going orange,
I'd like to see it fixed quickly. I'd hold the tree closed for this, but I
can't justify blocking mozilla for an ns problem.
Keywords: smoketest
Reporter | ||
Comment 13•23 years ago
|
||
Jon Granrose wrote:
> this isn't showing up in our smoketests so it's not a smoketest blocker.
Please retry the smoketests on a machine with a different gfx card. This issue
depends on the framebuffer hardware being used. If you only have a dumb m64
framebuffer you may not hit this issue but many many people who payed much $$$$
for thir gfx cards can't run Mozilla anymore (we already have three reports for
this issue...).
Comment 14•23 years ago
|
||
I just turned off the native theme support for the moment. We'll try to work
out the problems and turn it back on.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
Any chance that there are some places where
we are doing stuff with the background and fail to
grab info from our window before saying?
as in what happens to HP & plugins for
bug 160093
and as described at
http://mail.gnome.org/archives/gtk-devel-list/2002-April/msg00073.html
Comment 16•23 years ago
|
||
*** Bug 164843 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
Don't know if this matters or not as far as Gtk "themes" go, but I'm running IceWM.
Comment 18•23 years ago
|
||
*** Bug 163826 has been marked as a duplicate of this bug. ***
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•