[Webkit-unassigned] [Bug 40567] [Qt] QtWebKit crashes while initializing flash plugin 10.1.53.64...
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 16 21:07:25 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40567
--- Comment #4 from adawit at kde.org 2010-06-16 21:07:25 PST ---
(In reply to comment #3)
> Reproduced with 4.7 and trunk (r61119).
> Here's a more useful backtrace of the GTK part:
>
> #0 0x0632a705 in IA__gdk_pixbuf_new_from_data (data=0x5c12964 "\377\377\377", colorspace=GDK_COLORSPACE_RGB, has_alpha=1, bits_per_sample=8, width=64, height=64, rowstride=256, destroy_fn=0,
> destroy_fn_data=0x5c12964) at /build/buildd/gtk+2.0-2.20.1/gdk-pixbuf/gdk-pixbuf-data.c:76
> #1 0x0633200f in IA__gdk_pixbuf_from_pixdata (pixdata=0xbfffd434, copy_pixels=0, error=0x0) at /build/buildd/gtk+2.0-2.20.1/gdk-pixbuf/gdk-pixdata.c:497
> #2 0x063322d3 in IA__gdk_pixbuf_new_from_inline (data_length=-1, data=0x5c1294c "GdkP", copy_pixels=0, error=0x0) at /build/buildd/gtk+2.0-2.20.1/gdk-pixbuf/gdk-pixdata.c:899
> #3 0x05306335 in ?? () from /usr/lib/adobe-flashplugin/libflashplayer.so
> #4 0x05304d8e in ?? () from /usr/lib/adobe-flashplugin/libflashplayer.so
> #5 0x0530928e in NP_Initialize () from /usr/lib/adobe-flashplugin/libflashplayer.so
>
> Looks like g_object_new is failing.
> Girish, feel like having a look? :-)
Actually the cause of that problem is readliy apparent from debug statements printed out on the command line. One should not call any other Gtk system API without first calling g_type_init and apparently the Adobe engineers or developers have decided to assume that the hosting application for their plugin is a Gtk based one (read: chrome/firefox). Hence, there is do not need to initialize the toolkit themselves for this new release. Either they never heard the pharse "assumption is a mother of all f***ups" or they could care less. Regardless, they create needless problem for developers that use toolkits other than Gtk! But then again that is nothing new for this company. I hope the lightspark project fares better than the other attempts to create a free flash player.
Anyhow I have a fix for this issue based on what KDE's nsplugin viewer does to combat the issue of uninitialized use of Gtk. I will post the patch for review soon...
--
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