[kde4 ppa] nspluginviewer in Konqueror (kde4) crashes w./ flash plugin

Bug #258447 reported by Jakob Lund
10
Affects Status Importance Assigned to Milestone
KDE Base
Invalid
High
kdebase-kde4 (Ubuntu)
Fix Released
Medium
Harald Sitter

Bug Description

Binary package hint: kdebase-kde4

Konqueror/kde4 can't display _any_pages with flash content.

Kubuntu, hardy, latest update from the 'ppa' repos, as found on kubuntu.org

I'm installing kdebase-dbg-kde4 now, hoping to get another (better) backtrace, and attach here in a few minutes :-)

Current backtrace:

Application: nspluginviewer (nspluginviewer), signal SIGSEGV
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6265720 (LWP 6765)]
[New Thread 0xb1dd3b90 (LWP 6771)]
[New Thread 0xb2694b90 (LWP 6770)]
[New Thread 0xb2e95b90 (LWP 6769)]
[KCrash handler]
#6 0xb13a1120 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
#7 0xb1083286 in QMetaObjectCleanUp::QMetaObjectCleanUp ()
   from /usr/lib/libqt-mt.so.3
#8 0xb146ef67 in ?? () from /usr/lib/libqt-mt.so.3
#9 0xb146efa8 in ?? () from /usr/lib/libqt-mt.so.3
#10 0xb146f3c5 in ?? () from /usr/lib/libqt-mt.so.3
#11 0xb0f6db5c in _init () from /usr/lib/libqt-mt.so.3
#12 0xb7ff09a0 in ?? () from /lib/ld-linux.so.2
#13 0xb7ff0ad3 in ?? () from /lib/ld-linux.so.2
#14 0xb7ff4784 in ?? () from /lib/ld-linux.so.2
#15 0xb7ff05d6 in ?? () from /lib/ld-linux.so.2
#16 0xb7ff3f5e in ?? () from /lib/ld-linux.so.2
#17 0xb756ec19 in ?? () from /lib/tls/i686/cmov/libdl.so.2
#18 0xb7ff05d6 in ?? () from /lib/ld-linux.so.2
#19 0xb756f2bc in ?? () from /lib/tls/i686/cmov/libdl.so.2
#20 0xb756eb51 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#21 0xb3f4960c in g_module_open () from /usr/lib/libgmodule-2.0.so.0
#22 0xb4296bc2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb4071618 in g_type_module_use () from /usr/lib/libgobject-2.0.so.0
#24 0xb4296aa9 in gtk_theme_engine_get () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb4214a0e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb4216d1e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb421791b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb4217db2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb4217f3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb4217b69 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb4217db2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xb4217f3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb4218324 in gtk_rc_reparse_all_for_settings ()
   from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb4233c34 in gtk_settings_get_for_screen ()
   from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb4233dc5 in gtk_settings_get_default ()
   from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb424df6c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb40702ae in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#38 0xb4055252 in ?? () from /usr/lib/libgobject-2.0.so.0
#39 0xb4055a18 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#40 0xb4056571 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#41 0xb40566e0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#42 0xb4246017 in gtk_style_new () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb42ebe6d in gtk_widget_get_default_style ()
   from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb42ebf0e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb40700fc in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#46 0xb4055252 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb4055a18 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#48 0xb4056571 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#49 0xb40566e0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#50 0xb41fa36c in gtk_plug_new_for_display ()
   from /usr/lib/libgtk-x11-2.0.so.0
#51 0xb41fa3b6 in gtk_plug_new () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb4428fed in ?? () from /usr/lib/firefox/plugins/libflashplayer.so
#53 0xb441f303 in ?? () from /usr/lib/firefox/plugins/libflashplayer.so
#54 0xb4423a42 in ?? () from /usr/lib/firefox/plugins/libflashplayer.so
#55 0x08051e8b in _start ()
#0 0xb7fe2410 in __kernel_vsyscall ()

Revision history for this message
Jakob Lund (jlund05) wrote :
Download full text (3.7 KiB)

Ok, kdebase-dbg-kde4 didn't change anything as far as I can see, but her it is. If there's another -dbg package I could install to get it fleshed out more, let me know.
 - J.

Application: nspluginviewer (nspluginviewer), signal SIGSEGV
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb61a2720 (LWP 6178)]
[New Thread 0xb1cdab90 (LWP 6184)]
[New Thread 0xb259bb90 (LWP 6183)]
[New Thread 0xb2d9cb90 (LWP 6182)]
[KCrash handler]
#6 0xb12de120 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
#7 0xb0fc0286 in QMetaObjectCleanUp::QMetaObjectCleanUp ()
   from /usr/lib/libqt-mt.so.3
#8 0xb13abf67 in ?? () from /usr/lib/libqt-mt.so.3
#9 0xb13abfa8 in ?? () from /usr/lib/libqt-mt.so.3
#10 0xb13ac3c5 in ?? () from /usr/lib/libqt-mt.so.3
#11 0xb0eaab5c in _init () from /usr/lib/libqt-mt.so.3
#12 0xb7f2d9a0 in ?? () from /lib/ld-linux.so.2
#13 0xb7f2dad3 in ?? () from /lib/ld-linux.so.2
#14 0xb7f31784 in ?? () from /lib/ld-linux.so.2
#15 0xb7f2d5d6 in ?? () from /lib/ld-linux.so.2
#16 0xb7f30f5e in ?? () from /lib/ld-linux.so.2
#17 0xb74abc19 in ?? () from /lib/tls/i686/cmov/libdl.so.2
#18 0xb7f2d5d6 in ?? () from /lib/ld-linux.so.2
#19 0xb74ac2bc in ?? () from /lib/tls/i686/cmov/libdl.so.2
#20 0xb74abb51 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#21 0xb3e8660c in g_module_open () from /usr/lib/libgmodule-2.0.so.0
#22 0xb41d3bc2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb3fae618 in g_type_module_use () from /usr/lib/libgobject-2.0.so.0
#24 0xb41d3aa9 in gtk_theme_engine_get () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb4151a0e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb4153d1e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb415491b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb4154db2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb4154f3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb4154b69 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb4154db2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xb4154f3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb4155324 in gtk_rc_reparse_all_for_settings ()
   from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb4170c34 in gtk_settings_get_for_screen ()
   from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb4170dc5 in gtk_settings_get_default ()
   from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb418af6c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb3fad2ae in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#38 0xb3f92252 in ?? () from /usr/lib/libgobject-2.0.so.0
#39 0xb3f92a18 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#40 0xb3f93571 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#41 0xb3f936e0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#42 0xb4183017 in gtk_style_new () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb4228e6d in gtk_widget_get_default_style ()
   from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb4228f0e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb3fad0fc in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#46 0xb3f92252 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb3f92a18 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#48 0xb3f93571 in g_object_new_valist () from /usr/lib/libgobject-2.0.s...

Read more...

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

What I find interesting about that backtrace is that it's pulling in a ton of Qt3 and GTK stuff. (gtk-qt-engine even)
Very weird crash for a KDE4 app.

Revision history for this message
Jakob Lund (jlund05) wrote : Re: [Bug 258447] Re: nspluginviewer in Konqueror (kde4) crashes w./ flash plugin

On Monday 18 August 2008 13:50:57 Jonathan Thomas wrote:
> What I find interesting about that backtrace is that it's pulling in a ton
> of Qt3 and GTK stuff. (gtk-qt-engine even) Very weird crash for a KDE4 app.

... But does this combination usually work for others ? ( konq + nspluginview
+ flash plugin ) ?

Revision history for this message
Jonathan Thomas (echidnaman) wrote : Re: nspluginviewer in Konqueror (kde4) crashes w./ flash plugin

Yeah, konqueror and flash usually works for others. There are sometimes intermittent, random crashes, but not ones that happen every time with any flash content.

Revision history for this message
Krister Wicksell (krister-wicksell) wrote :

This does not work for me neither. For example, nspluginview always crash when accessing www.aftonbladet.se.

Revision history for this message
Jakob Lund (jlund05) wrote :

I just checked that the plugin DOES work for me with konqueror/KDE3. Also, in the 'configure plugins' dialog, the path to the plugin is the same in both versions:

/usr/lib/firefox/plugins/flashplugin-alternative.so

which is (indirectly) a link to
/usr/lib/flashplugin-nonfree/libflashplayer.so

the package version is
flashplugin-nonfree
10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2

Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote :
Download full text (3.6 KiB)

Can confirm this one, nspluginviewer crashes on each site with flash.

Application: nspluginviewer (nspluginviewer), signal SIGSEGV
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6209720 (LWP 17958)]
[New Thread 0xb1d85b90 (LWP 17964)]
[New Thread 0xb2649b90 (LWP 17963)]
[New Thread 0xb2e4ab90 (LWP 17962)]
[KCrash handler]
#6 0xb1353120 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
#7 0xb1035286 in QMetaObjectCleanUp::QMetaObjectCleanUp ()
   from /usr/lib/libqt-mt.so.3
#8 0xb1420f67 in ?? () from /usr/lib/libqt-mt.so.3
#9 0xb1420fa8 in ?? () from /usr/lib/libqt-mt.so.3
#10 0xb14213c5 in ?? () from /usr/lib/libqt-mt.so.3
#11 0xb0f1fb5c in _init () from /usr/lib/libqt-mt.so.3
#12 0xb7f9f9a0 in ?? () from /lib/ld-linux.so.2
#13 0xb7f9fad3 in ?? () from /lib/ld-linux.so.2
#14 0xb7fa3784 in ?? () from /lib/ld-linux.so.2
#15 0xb7f9f5d6 in ?? () from /lib/ld-linux.so.2
#16 0xb7fa2f5e in ?? () from /lib/ld-linux.so.2
#17 0xb751bc19 in ?? () from /lib/tls/i686/cmov/libdl.so.2
#18 0xb7f9f5d6 in ?? () from /lib/ld-linux.so.2
#19 0xb751c2bc in ?? () from /lib/tls/i686/cmov/libdl.so.2
#20 0xb751bb51 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#21 0xb3efe60c in g_module_open () from /usr/lib/libgmodule-2.0.so.0
#22 0xb424bbc2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb4026618 in g_type_module_use () from /usr/lib/libgobject-2.0.so.0
#24 0xb424baa9 in gtk_theme_engine_get () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb41c9a0e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb41cbd1e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb41cc91b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb41ccdb2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb41ccf3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb41ccb69 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb41ccdb2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xb41ccf3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb41cd324 in gtk_rc_reparse_all_for_settings ()
   from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb41e8c34 in gtk_settings_get_for_screen ()
   from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb41e8dc5 in gtk_settings_get_default ()
   from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb4202f6c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb40252ae in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#38 0xb400a252 in ?? () from /usr/lib/libgobject-2.0.so.0
#39 0xb400aa18 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#40 0xb400b571 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#41 0xb400b6e0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#42 0xb41fb017 in gtk_style_new () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb42a0e6d in gtk_widget_get_default_style ()
   from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb42a0f0e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb40250fc in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#46 0xb400a252 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb400aa18 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#48 0xb400b571 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#49 0xb400b6e0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#50 0xb41af36c in gtk_plug_n...

Read more...

Revision history for this message
Jaakko Kyro (jkyro-korjaussarja) wrote :

I can confirm same behavior.
Flash plugin crashes consistently everywhere, with a similar backtrace.

Revision history for this message
Harry Ranquist (harryranquist) wrote :

Same here. Tried it on three different types of machines (slow laptop, fast laptop, fast desktop PC).

Revision history for this message
Jakob Petsovits (jpetso) wrote :
Download full text (5.6 KiB)

Here's the most complete backtrace that I could get (same issue), and it even reveals the problem:

#24 0xb41f3aa9 in IA__gtk_theme_engine_get (name=0x8131040 "qtengine")

Consequently, once I uninstalled gtk-qt-engine (the KDE3 version), the crashes disappeared, and Flash in Konqueror works nicely. That of course makes Firefox look like deep shit (and looks even worse with Oxygen), but I can live with that now that I don't really need to use it anymore :)

Application: nspluginviewer (nspluginviewer), signal SIGSEGV
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb61a2720 (LWP 20551)]
[New Thread 0xb1d30b90 (LWP 20557)]
[New Thread 0xb25f1b90 (LWP 20556)]
[New Thread 0xb2df2b90 (LWP 20555)]
[KCrash handler]
#6 0xb12fe120 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
#7 0xb0fe0286 in QMetaObjectCleanUp::QMetaObjectCleanUp ()
   from /usr/lib/libqt-mt.so.3
#8 0xb13cbf67 in ?? () from /usr/lib/libqt-mt.so.3
#9 0xb13cbfa8 in ?? () from /usr/lib/libqt-mt.so.3
#10 0xb13cc3c5 in ?? () from /usr/lib/libqt-mt.so.3
#11 0xb0ecab5c in _init () from /usr/lib/libqt-mt.so.3
#12 0xb7f35990 in call_init () from /lib/ld-linux.so.2
#13 0xb7f35ac3 in _dl_init_internal () from /lib/ld-linux.so.2
#14 0xb7f39774 in dl_open_worker () from /lib/ld-linux.so.2
#15 0xb7f355c6 in _dl_catch_error () from /lib/ld-linux.so.2
#16 0xb7f38f4e in _dl_open () from /lib/ld-linux.so.2
#17 0xb74b2c19 in dlopen_doit () from /lib/tls/i686/cmov/libdl.so.2
#18 0xb7f355c6 in _dl_catch_error () from /lib/ld-linux.so.2
#19 0xb74b32bc in _dlerror_run () from /lib/tls/i686/cmov/libdl.so.2
#20 0xb74b2b51 in dlopen@@GLIBC_2.1 () from /lib/tls/i686/cmov/libdl.so.2
#21 0xb3ea660c in g_module_open () from /usr/lib/libgmodule-2.0.so.0
#22 0xb41f3bc2 in gtk_theme_engine_load (module=0x8133db0)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkthemes.c:80
#23 0xb3fce618 in g_type_module_use () from /usr/lib/libgobject-2.0.so.0
#24 0xb41f3aa9 in IA__gtk_theme_engine_get (name=0x8131040 "qtengine")
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkthemes.c:181
#25 0xb4171a0e in gtk_rc_parse_engine (context=0x8129f80, scanner=0x812d840,
    rc_style=0xbfa46168) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkrc.c:3690
#26 0xb4173d1e in gtk_rc_parse_style (context=0x8129f80, scanner=0x812d840)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkrc.c:3174
#27 0xb417491b in gtk_rc_parse_any (context=0x8129f80,
    input_name=0x812d738 "/usr/share/themes/Qt/gtk-2.0/gtkrc",
    input_fd=<value optimized out>, input_string=0x0)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkrc.c:2933
#28 0xb4174db2 in gtk_rc_context_parse_one_file (context=0x8129f80,
    filename=0x812d738 "/usr/share/themes/Qt/gtk-2.0/gtkrc",
    priority=<value optimized out>, reload=0)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkrc.c:1053
#29 0xb4174f3e in gtk_rc_context_parse_file (context=0x8129f80,
    filename=0x812d738 "/usr/share/themes/Qt/gtk-2.0/gtkrc", priority=12,
    reload=0) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkrc.c:1119
#30 0xb4174b69 in gtk_rc_parse_any (context=0x8129f80,
    input_name=0x80b6900 "/home/jakob/.gtkrc-2.0",
    input_fd=<value optimized out>, input_string=0x0)
    at /build/buildd/g...

Read more...

Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote :

yes! removing gtk-qt-engine does the trick!

Changed in kdebase:
status: Unknown → New
Revision history for this message
Harald Sitter (apachelogger) wrote :

Actually the problem seems much funier than that.
#9 0xb13cbfa8 in ?? () from /usr/lib/libqt-mt.so.3

Apparently konqueror-kde4 is using KDE3's nspluginviewer, which might very well be the root of all the crashyness. I'll try to push a fix as soon as possible, maybe it helps keeping firefox "pretty" ;-)

Changed in kdebase-kde4:
assignee: nobody → apachelogger
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jakob Petsovits (jpetso) wrote :

Nope, can't be using the KDE 3 nspluginviewer because I don't have that one installed. It's just the theme engine that's used in its Qt 3 version.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Reasonable.
We are working on a solution.

Revision history for this message
Harald Sitter (apachelogger) wrote :

We are forcing a transition from the Qt 3 to the Qt 4 version now.

Changed in kdebase-kde4:
status: Triaged → Fix Released
Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote :

just updated gtk-qt-engine and gtk-qt-engine-kde4 and it works! Thanks!

Changed in kdebase:
status: New → Invalid
Changed in kdebase:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.