Bug 192036

Summary: nspluginviewer crashes when using webkit kpart
Product: [Unmaintained] kdelibs Reporter: Marcus Harrison <marcus>
Component: kdewebkitAssignee: webkit-devel
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, echidnaman, kojot350
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcus Harrison 2009-05-08 14:46:16 UTC
Version:           SVN (from 8th may 2009) (using KDE 4.2.2)
OS:                Linux
Installed from:    Gentoo Packages

On flash websites with the Webkit KPart, nspluginviewer crashes with this backtrace:

Application: nspluginviewer (nspluginviewer), signal SIGSEGV
[Current thread is 0 (LWP 17243)]

Thread 4 (Thread 0xb018bb90 (LWP 17256)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7018fb2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb707576c in QWaitCondition::wait (this=0x99c2a40, mutex=0x99c2a3c, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb706acd6 in QThreadPoolThread::run (this=0x99c2b88) at concurrent/qthreadpool.cpp:140
#4  0xb7074bb0 in QThreadPrivate::start (arg=0x99c2b88) at thread/qthread_unix.cpp:189
#5  0xb7015170 in start_thread (arg=0xb018bb90) at pthread_create.c:297
#6  0xb65d2d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb0fe7b90 (LWP 17279)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7018c85 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb406469f in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#3  0xb41968ef in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#4  0xb4064b4d in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#5  0xb7015170 in start_thread (arg=0xb0fe7b90) at pthread_create.c:297
#6  0xb65d2d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb17e8b90 (LWP 17280)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7018c85 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb406469f in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#3  0xb41968ef in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#4  0xb4064b4d in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#5  0xb7015170 in start_thread (arg=0xb17e8b90) at pthread_create.c:297
#6  0xb65d2d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb6009700 (LWP 17243)):
[KCrash Handler]
#6  IA__g_datalist_id_set_data_full (datalist=0x99a80d0, key_id=50, data=0x0, destroy_func=0) at gdataset.c:216
#7  0xb61ddbe7 in g_object_real_dispose (object=0x99a80c8) at gobject.c:740
#8  0xb3d8a4bd in gtk_object_dispose (gobject=0x99a80c8) at gtkobject.c:426
#9  0xb3e9a801 in gtk_widget_dispose (object=0x99a80c8) at gtkwidget.c:7886
#10 0xb3ea99ec in gtk_window_dispose (object=0x99a80c8) at gtkwindow.c:2000
#11 0xb61ddef3 in IA__g_object_unref (_object=0x99a80c8) at gobject.c:2393
#12 0xb40578c2 in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#13 0xb404d4a1 in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#14 0xb4051cc4 in ?? () from /home/marcus/.mozilla/plugins/libflashplayer.so
#15 0x09939ff0 in ?? ()
#16 0xbf816214 in ?? ()
#17 0x00000000 in ?? ()


I'm not sure what I need to install to debug the flash player... however, the bug is always reproduce-able.
Comment 1 Dario Andres 2009-05-08 15:33:08 UTC
Have you tested the same URL when using the KHTML engine ?
Thanks
Comment 2 Paweł Prażak 2009-05-09 11:44:23 UTC
I've checked adobe.com and youtube.com, it works.

What flash version do you use?

My specs:
Linux 2.6.27.21-0.1-default x86_64
openSUSE 11.1 (x86_64)
Qt: 4.5.1
KDE: 4.2.2 (KDE 4.2.2) "release 114"
Plasma Workspace: 0.3
x11-video-nvidiaG02-180.44-0.1
Shockwave Flash 10.0 r22 x86-64
Comment 3 Marcus Harrison 2009-05-09 22:22:35 UTC
The same URL works flawlessly in KHTML.

My specs:
Linux 2.6.29-gentoo-r3
Gentoo
Qt 4.5.1
KDE 4.2.2
nVidia 180.51 driver
Adobe Flash version 10.0.22.87
Comment 4 Jonathan Thomas 2009-06-12 05:03:45 UTC
I can confirm this with KDE 4.3 beta2 and the latest webkitkde.
A workaround is to set Konqueror to load plugins on demand, then it'll work.
Comment 5 Urs Wolfer 2009-08-13 21:04:47 UTC
Fixed by Dawit Alemayehu with r1010646.
Comment 6 Dario Andres 2010-11-18 14:53:10 UTC
[Comment from a bug triager]
Moving old kdewebkit bug reports to kdelibs/kdewebkit. Sorry about the noise