Closed Bug 540197 Opened 10 years ago Closed 10 years ago

OOPP: "gdk_x11_colormap_foreign_new: assertion `GDK_IS_VISUAL (visual)' failed" and BadPixmap fatal XError in browser resizing plugin with GTK+-2.18

Categories

(Core :: Plug-ins, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: karlt, Assigned: karlt)

References

()

Details

(Keywords: crash)

+++ This bug was initially created as a clone of Bug #539897 +++

STR:
1) Set dom.ipc.plugins.enabled (and restart).
2) Load data:text/html,<embed width="98%" height="98%" type="application/x-shockwave-flash" src="http://www.communitymx.com/content/source/E5141/wmode.swf">
3) resize the window.

Results:

(firefox-bin:29184): Gdk-CRITICAL **: gdk_x11_colormap_foreign_new: assertion `GDK_IS_VISUAL (visual)' failed

#0  IA__gdk_x11_colormap_foreign_new (visual=0x0, xcolormap=140734876536160)
    at gdkcolor-x11.c:1321
#1  0x00007f3d5771d5fc in gdk_window_impl_x11_get_colormap (
    drawable=0x7f3d349ffd60) at gdkwindow-x11.c:382
#2  0x00007f3d57711438 in _gdk_pixmap_new (drawable=0x7f3d34bfc350, 
    width=679, height=334, depth=24) at gdkpixmap-x11.c:186
#3  0x00007f3d576ec501 in gdk_window_process_updates_internal (
    window=0x7f3d34bfc350) at gdkwindow.c:2542
#4  0x00007f3d576f0dfe in IA__gdk_window_process_updates (
    window=0x7f3d34bfc350, update_children=1) at gdkwindow.c:5394
#5  0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d3cb678c0, update_children=<value optimized out>)
    at gdkwindow.c:5410
#6  0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d3cb677b0, update_children=<value optimized out>)
    at gdkwindow.c:5410
#7  0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d3d543040, update_children=<value optimized out>)
    at gdkwindow.c:5410
#8  0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d3d067be0, update_children=<value optimized out>)
    at gdkwindow.c:5410
#9  0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d3da67680, update_children=<value optimized out>)
    at gdkwindow.c:5410
#10 0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d409679c0, update_children=<value optimized out>)
    at gdkwindow.c:5410
#11 0x00007f3d576f0dad in IA__gdk_window_process_updates (
    window=0x7f3d409678b0, update_children=<value optimized out>)
    at gdkwindow.c:5410
#12 0x00007f3d587705db in gtk_window_check_resize (container=0x7f3d40967580)
    at gtkwindow.c:6195
#13 0x00007f3d56b9058d in IA__g_closure_invoke (closure=0x7f3d409dbea0, 
    return_value=0x0, n_param_values=1, param_values=0x7f3d34804560, 
    invocation_hint=0x7fff6452d160) at gclosure.c:767
#14 0x00007f3d56ba5b18 in signal_emit_unlocked_R (node=0x7f3d409da600, 
    detail=0, instance=0x7f3d40967580, emission_return=0x0, 
    instance_and_params=0x7f3d34804560) at gsignal.c:3285
#15 0x00007f3d56ba73a2 in IA__g_signal_emit_valist (instance=0x7f3d40967580, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fff6452d340)
    at gsignal.c:2980
#16 0x00007f3d56ba7883 in IA__g_signal_emit (instance=0x4, 
    signal_id=1547507536, detail=64) at gsignal.c:3037
#17 0x00007f3d585c6750 in gtk_container_idle_sizer (
    data=<value optimized out>) at gtkcontainer.c:1350
#18 0x00007f3d576cb4b7 in gdk_threads_dispatch (data=0x7f3d349bce20)
    at gdk.c:506
#19 0x00007f3d566d4f7a in IA__g_main_context_dispatch (context=0x7f3d507166d0)
    at gmain.c:1960
#20 0x00007f3d566d87d8 in g_main_context_iterate (context=0x7f3d507166d0, 
    block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#21 0x00007f3d566d898c in IA__g_main_context_iteration (
    context=0x7f3d507166d0, may_block=1) at gmain.c:2654
#22 0x00007f3d5b0302ac in nsAppShell::ProcessNextNativeEvent (
    this=0x7f3d409a5be0, mayWait=1)
    at /home/karl/moz/dev/widget/src/gtk2/nsAppShell.cpp:147

Breakpoint 2, gdk_x_error (display=0x7f3d5074c000, error=0x7fff6452caf0)
    at gdkmain-x11.c:438
(gdb) bt 19
#0  gdk_x_error (display=0x7f3d5074c000, error=0x7fff6452caf0)
    at gdkmain-x11.c:438
#1  0x00007f3d5619df90 in _XError (dpy=0x7f3d5074c000, 
    rep=<value optimized out>) at XlibInt.c:2924
#2  0x00007f3d561a4f19 in process_responses (dpy=0x7f3d5074c000, 
    wait_for_first_event=0, current_error=0x7fff6452cc68, 
    current_request=22595) at xcb_io.c:207
#3  0x00007f3d561a553b in _XReply (dpy=0x7f3d5074c000, rep=0x7fff6452ccb0, 
    extra=0, discard=1) at xcb_io.c:457
#4  0x00007f3d56199aba in XSync (dpy=0x7f3d5074c000, discard=0) at Sync.c:48
#5  0x00007f3d56199c34 in _XSyncFunction (dpy=0x7f3d5074c000) at Synchro.c:37
#6  0x00007f3d56181462 in XFreePixmap (dpy=0x7f3d5074c000, pixmap=44040839)
    at FreePix.c:43
#7  0x00007f3d57711658 in gdk_pixmap_impl_x11_dispose (object=0x7f3d34831a40)
    at gdkpixmap-x11.c:103
#8  0x00007f3d56b924d2 in IA__g_object_unref (_object=<value optimized out>)
    at gobject.c:2441
#9  0x00007f3d576dc5cd in gdk_pixmap_finalize (object=0x7f3d3495e070)
    at gdkpixmap.c:231
#10 0x00007f3d56b92550 in IA__g_object_unref (_object=<value optimized out>)
    at gobject.c:2472
#11 0x00007f3d576ec5da in gdk_window_process_updates_internal (
    window=0x7f3d34bfc350) at gdkwindow.c:2630

Looks suspiciously like a GDK bug.  Doesn't happen with gtk+-2.16.6.
Assignee: nobody → karlt
Blocks: 543809
No longer blocks: LorentzBeta1
The patch is even in Ubuntu's karmic-updates, so I'll mark this WFM
http://changelogs.ubuntu.com/changelogs/pool/main/g/gtk+2.0/gtk+2.0_2.18.3-1ubuntu2.2/changelog
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Depends on: 558521
You need to log in before you can comment on or make changes to this bug.