[Webkit-unassigned] [Bug 18831] [GTK] support windowless plugins
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 10 12:58:09 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=18831
--- Comment #34 from Mark Renouf <mark.renouf at gmail.com> 2009-11-10 12:58:04 PDT ---
I just tested this applied to trunk and get a crash on the communitymx test
page. Loads of details below, let me know if there's anything else I can
provide. The system is Ubuntu 9.10, x86, without any major customizations.
Desktop effects are enabled.
$ svn info
Path: .
URL: http://svn.webkit.org/repository/webkit/trunk
Repository Root: http://svn.webkit.org/repository/webkit
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 50747
Node Kind: directory
Schedule: normal
Last Changed Author: kenneth at webkit.org
Last Changed Rev: 50747
Last Changed Date: 2009-11-10 13:57:34 -0500 (Tue, 10 Nov 2009)
Load URL:
www.communitymx.com/content/source/E5141/wmodetrans.htm
Shortly after the page begins to load, I get a XError and Segfault.
****** Console Output ******
$ Programs/GtkLauncher
** (GtkLauncher:15359): DEBUG: NP_Initialize
** (GtkLauncher:15359): DEBUG: NP_Initialize succeeded
** (GtkLauncher:15359): DEBUG: NP_Initialize
** (GtkLauncher:15359): DEBUG: NP_Initialize succeeded
** (GtkLauncher:15359): DEBUG: NP_Initialize
** (GtkLauncher:15359): DEBUG: NP_Initialize succeeded
** (GtkLauncher:15359): DEBUG: NP_Initialize
** (GtkLauncher:15359): DEBUG: NP_Initialize succeeded
(GtkLauncher:15359): Gtk-CRITICAL **: gtk_widget_size_allocate: assertion
`GTK_IS_WIDGET (widget)' failed
(GtkLauncher:15359): Gtk-CRITICAL **: gtk_widget_size_allocate: assertion
`GTK_IS_WIDGET (widget)' failed
(GtkLauncher:15359): Gtk-CRITICAL **: gtk_widget_size_allocate: assertion
`GTK_IS_WIDGET (widget)' failed
The program 'GtkLauncher' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 32806 error_code 2 request_code 139 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
******* Backtrace from GDB ********
Program received signal SIGSEGV, Segmentation fault.
0xb6a56d1d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) bt
#0 0xb6a56d1d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb1730d42 in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#2 0xb177ef92 in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#3 0xb15ffa4d in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#4 0xb15e90d0 in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#5 0xb693a05f in ?? () from /lib/tls/i686/cmov/libc.so.6
#6 0xb693a0cf in exit () from /lib/tls/i686/cmov/libc.so.6
#7 0xb6e73ec1 in gdk_x_error (display=0x8068138, error=0xbfffd62c)
at /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkmain-x11.c:470
#8 0xb541a839 in _XError (dpy=0x8068138, rep=0x8469b28)
at ../../src/XlibInt.c:2924
#9 0xb5420e9f in process_responses (dpy=0x8068138,
wait_for_first_event=<value optimized out>, current_error=0xbfffd75c,
current_request=32807) at ../../src/xcb_io.c:207
#10 0xb5421526 in _XReply (dpy=0x8068138, rep=0xbfffd790, extra=0, discard=1)
at ../../src/xcb_io.c:457
#11 0xb54151a7 in XSync (dpy=0x8068138, discard=0) at ../../src/Sync.c:48
#12 0xb5415335 in _XSyncFunction (dpy=0x8068138) at ../../src/Synchro.c:37
#13 0xb52b1730 in XShmPutImage () from /usr/lib/libXext.so.6
#14 0xb6e67f9e in gdk_x11_draw_image (drawable=0x80eeec0, gc=0x84798c0,
image=0x8488068, xsrc=11, ysrc=46, xdest=0, ydest=0, width=200, height=200)
at /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:847
#15 0xb6e31888 in IA__gdk_draw_image (drawable=0x80eeec0, gc=0x84798c0,
image=0x8488068, xsrc=11, ysrc=46, xdest=0, ydest=0, width=200, height=200)
at /build/buildd/gtk+2.0-2.18.3/gdk/gdkdraw.c:726
#16 0xb6e31888 in IA__gdk_draw_image (drawable=0x848e098, gc=0x84798c0,
image=0x8488068, xsrc=11, ysrc=46, xdest=0, ydest=0, width=200, height=200)
at /build/buildd/gtk+2.0-2.18.3/gdk/gdkdraw.c:726
#17 0xb15fef0f in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#18 0xb15f2b18 in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#19 0xb15e9110 in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#20 0xb15edbd4 in ?? ()
from /usr/lib/firefox/plugins/flashplugin-alternative.so
#21 0xb7b827a0 in WebCore::PluginView::dispatchNPEvent(_XEvent&) ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#22 0xb7b837d8 in WebCore::PluginView::paint(WebCore::GraphicsContext*,
WebCore::IntRect const&) () from
/home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#23 0xb79bada8 in
WebCore::RenderWidget::paint(WebCore::RenderObject::PaintInfo&, int, int) ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#24 0xb79130bd in WebCore::InlineBox::paint(WebCore::RenderObject::PaintInfo&,
int, int) () from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#25 0xb791430a in
WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo---Type <return>
to continue, or q <return> to quit---
&, int, int) () from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#26 0xb79bd9a0 in
WebCore::RootInlineBox::paint(WebCore::RenderObject::PaintInfo&, int, int) ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#27 0xb797685f in
WebCore::RenderLineBoxList::paint(WebCore::RenderBoxModelObject*,
WebCore::RenderObject::PaintInfo&, int, int) const ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#28 0xb7927d93 in
WebCore::RenderBlock::paintContents(WebCore::RenderObject::PaintInfo&, int,
int) () from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#29 0xb792d0b5 in
WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&, int, int)
() from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#30 0xb7926457 in
WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&, int, int) ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#31 0xb79741ff in WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*,
WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction,
WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*,
WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>,
WTF::HashTraits<WebCore::OverlapTestRequestClient*>,
WTF::HashTraits<WebCore::IntRect> >*, unsigned int)
() from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#32 0xb7973a39 in WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*,
WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction,
WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*,
WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>,
WTF::HashTraits<WebCore::OverlapTestRequestClient*>,
WTF::HashTraits<WebCore::IntRect> >*, unsigned int)
() from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#33 0xb7973a39 in WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*,
WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction,
WebCore::RenderObject*, WTF::HashMap<WebCore::OverlapTestRequestClient*,
WebCore::IntRect, WTF::PtrHash<WebCore::OverlapTestRequestClient*>,
WTF::HashTraits<WebCore::OverlapTestRequestClient*>,
WTF::HashTraits<WebCore::IntRect> >*, unsigned int)
() from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#34 0xb79742e1 in WebCore::RenderLayer::paint(WebCore::GraphicsContext*,
WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*) ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#35 0xb786d8e8 in WebCore::FrameView::paintContents(WebCore::GraphicsContext*,
WebCore::IntRect const&) ()
from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#36 0xb78af696 in WebCore::ScrollView::paint(WebCore::GraphicsContext*,
WebCore::IntRect const&) () from
/home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#37 0xb73bc08a in webkit_web_view_expose_event(_GtkWidget*, _GdkEventExpose*)
() from /home/mark/Research/WebKit/.libs/libwebkit-1.0.so.2
#38 0xb6fea474 in _gtk_marshal_BOOLEAN__BOXED (closure=0x807f388,
return_value=0xbfffec34, n_param_values=2, param_values=0x8469368,
invocation_hint=0xbfffec20, marshal_data=0xb73bbf20)
at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmarshalers.c:84
#39 0xb6b376f9 in g_type_class_meta_marshal (closure=0x807f388,
return_value=0xbfffec34, n_param_values=2, param_values=0x8469368,
invocation_hint=0xbfffec20, marshal_data=0xc8)
at /build/buildd/glib2.0-2.22.2/gobject/gclosure.c:878
#40 0xb6b39072 in IA__g_closure_invoke (closure=0x807f388,
---Type <return> to continue, or q <return> to quit---
return_value=0xbfffec34, n_param_values=2, param_values=0x8469368,
invocation_hint=0xbfffec20)
at /build/buildd/glib2.0-2.22.2/gobject/gclosure.c:767
#41 0xb6b4e49e in signal_emit_unlocked_R (node=<value optimized out>,
detail=<value optimized out>, instance=0x8098000,
emission_return=0xbfffed7c, instance_and_params=0x8469368)
at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c:3285
#42 0xb6b4f9b8 in IA__g_signal_emit_valist (instance=0x8098000, signal_id=41,
detail=0,
var_args=0xbfffede0
"\034\356\377\277\364\257\352\266\b\356\377\277\364\237&\267") at
/build/buildd/glib2.0-2.22.2/gobject/gsignal.c:2990
#43 0xb6b4ffb6 in IA__g_signal_emit (instance=0x8098000, signal_id=41,
detail=0) at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c:3037
#44 0xb710696e in gtk_widget_event_internal (widget=<value optimized out>,
event=0xbfffeee8) at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c:4767
#45 0xb6fe4190 in IA__gtk_main_do_event (event=0xbfffeee8)
at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1571
#46 0xb6e571d4 in _gdk_window_process_updates_recurse (window=0x807bf38,
expose_region=0x8496300)
at /build/buildd/gtk+2.0-2.18.3/gdk/gdkwindow.c:5061
#47 0xb6e7a734 in _gdk_windowing_window_process_updates_recurse (
window=0x807bf38, region=0x8496300)
at /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkwindow-x11.c:5566
#48 0xb6e4e87f in gdk_window_process_updates_internal (window=0x807bf38)
at /build/buildd/gtk+2.0-2.18.3/gdk/gdkwindow.c:5220
#49 0xb6e5083f in IA__gdk_window_process_all_updates ()
at /build/buildd/gtk+2.0-2.18.3/gdk/gdkwindow.c:5328
#50 0xb6e508bb in gdk_window_update_idle (data=0x0)
at /build/buildd/gtk+2.0-2.18.3/gdk/gdkwindow.c:4954
#51 0xb6e2cf78 in gdk_threads_dispatch (data=0x8420930)
at /build/buildd/gtk+2.0-2.18.3/gdk/gdk.c:506
#52 0xb6a9f0f1 in g_idle_dispatch (source=0x8498af8, callback=0xb040b020,
user_data=0x8420930) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:4065
#53 0xb6aa0e78 in g_main_dispatch (context=0x807d7a0)
at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#54 IA__g_main_context_dispatch (context=0x807d7a0)
at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#55 0xb6aa4720 in g_main_context_iterate (context=0x807d7a0,
block=<value optimized out>, dispatch=1, self=0x8062690)
at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#56 0xb6aa4b8f in IA__g_main_loop_run (loop=0x8465cc8)
at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2799
#57 0xb6fe4419 in IA__gtk_main ()
at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
#58 0x08049e6d in main ()
Additional system information:
$ uname -a
Linux crashpad 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC
2009 i686 GNU/Linux
$ dpkg-query -l libgtk2.0*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(noq
ne)/Reinst-required (Status,Err: uppercase=bad)
||/ Name q Version Description
+++-==============-==============-============================================
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface library
ii libgtk2.0-0-db 2.18.3-1 The GTK+ libraries and debugging symbols
ii libgtk2.0-bin 2.18.3-1 The programs for the GTK+ graphical user int
ii libgtk2.0-cil 2.12.9-1 CLI binding for the GTK+ toolkit 2.12
ii libgtk2.0-comm 2.18.3-1 Common files for the GTK+ graphical user int
ii libgtk2.0-dev 2.18.3-1 Development files for the GTK+ library
ii libgtk2.0-doc 2.18.3-1 Documentation for the GTK+ graphical user in
$ Xorg -version
X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux crashpad 2.6.31-14-generic-pae #48-Ubuntu SMP
Fri Oct 16 15:22:42 UTC 2009 i686
Kernel command line: root=UUID=0a46f67d-395d-4573-8a8f-49b22f34b718 ro quiet
splash
Build Date: 26 October 2009 05:15:02PM
xorg-server 2:1.6.4-2ubuntu4 (buildd@)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
$ xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10604000
X.Org version: 1.6.4
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x4e00005, revert to Parent
number of extensions: 27
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1920x1200 pixels (508x317 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x122
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0x7a803f
KeyPressMask KeyReleaseMask ButtonPressMask
ButtonReleaseMask EnterWindowMask LeaveWindowMask
ExposureMask StructureNotifyMask SubstructureNotifyMask
SubstructureRedirectMask FocusChangeMask PropertyChangeMask
number of visuals: 72
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list