Bug 311367

Summary: toolbox settings => add new widget => get new widget => Crash
Product: [Unmaintained] plasma4 Reporter: mehdi <mehdilauters>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: iskren, mirza.dervisevic
Priority: NOR    
Version First Reported In: 4.9.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description mehdi 2012-12-08 20:30:58 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic i686
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
plasma toolbox settings => add new widget => get new widget => crash => plasma restart => reproducible
- Unusual behavior I noticed:
plasma restart

-- Backtrace:
Application: Outil de gestion de fenĂȘtres Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1cb7740 (LWP 2077))]

Thread 6 (Thread 0xae3ffb40 (LWP 2080)):
#0  0xb2ac9c4f in __pthread_mutex_unlock_usercnt (mutex=0xae408398, decr=1) at pthread_mutex_unlock.c:52
#1  0xb75f38a4 in pthread_mutex_unlock (mutex=0xae408398) at forward.c:184
#2  0xb29fccc0 in g_mutex_unlock (mutex=mutex@entry=0xae408328) at /build/buildd/glib2.0-2.34.0/./glib/gthread-posix.c:227
#3  0xb29bbceb in g_main_context_poll (n_fds=3, fds=0xada02298, timeout=<optimized out>, context=0xae408328, priority=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3583
#4  g_main_context_iterate (context=0xae408328, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3285
#5  0xb29bc1db in g_main_loop_run (loop=0xae4083f0) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3484
#6  0xaee56aba in gdbus_shared_thread_func (user_data=0xae406618) at /build/buildd/glib2.0-2.34.0/./gio/gdbusprivate.c:277
#7  0xb29e1303 in g_thread_proxy (data=0xae4031b0) at /build/buildd/glib2.0-2.34.0/./glib/gthread.c:797
#8  0xb2ac6d4c in start_thread (arg=0xae3ffb40) at pthread_create.c:308
#9  0xb75e5d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xad9ffb40 (LWP 2081)):
#0  0xb7735424 in __kernel_vsyscall ()
#1  0xb2aca96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb75f364c in __pthread_cond_wait (cond=0xb3c0d670, mutex=0xb3c0d658) at forward.c:139
#3  0xb3afb1cd in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb3afb1ff in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2ac6d4c in start_thread (arg=0xad9ffb40) at pthread_create.c:308
#6  0xb75e5d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa76f2b40 (LWP 2082)):
#0  0xb2ca1dcd in __GI_clock_gettime (clock_id=1, tp=0xa76f1f78) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb5fc6fb5 in do_gettime (frac=0xa76f1f70, sec=0xa76f1f68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb60ae36e in QTimerInfoList::updateCurrentTime (this=0xa6d02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb60ae6fa in QTimerInfoList::timerWait (this=0xa6d02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 3 (Thread 0xa6bd2b40 (LWP 2083)):
#0  0xb2ca1dcd in __GI_clock_gettime (clock_id=1, tp=0xa6bd1f78) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb5fc6fb5 in do_gettime (frac=0xa6bd1f70, sec=0xa6bd1f68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb60ae36e in QTimerInfoList::updateCurrentTime (this=0xa6201974) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb60ae6fa in QTimerInfoList::timerWait (this=0xa6201974, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 2 (Thread 0xac51bb40 (LWP 2109)):
#0  0xb2ca1dcd in __GI_clock_gettime (clock_id=1, tp=0xac51afa8) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb5fc6fb5 in do_gettime (frac=0xac51afa0, sec=0xac51af98) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb60ae36e in QTimerInfoList::updateCurrentTime (this=0xac802074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb60ae6fa in QTimerInfoList::timerWait (this=0xac802074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 1 (Thread 0xb1cb7740 (LWP 2077)):
[KCrash Handler]
#7  0xb6c426ce in QDeclarativeItem::~QDeclarativeItem (this=0xe08c6b8, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0xae522860 in ?? () from /usr/lib/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#9  0xae5141f0 in ?? () from /usr/lib/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#10 0xb608f783 in qDeleteInEventHandler (o=o@entry=0xe08c6b8) at kernel/qobject.cpp:4277
#11 0xb6091f10 in QObject::event (this=0xe08c6b8, e=0xdfbfe18) at kernel/qobject.cpp:1176
#12 0xb6c3cad4 in QDeclarativeItem::event (this=0xe08c6b8, ev=0xdfbfe18) at graphicsitems/qdeclarativeitem.cpp:3748
#13 0xb556b39c in QApplicationPrivate::notify_helper (this=0x9d1f248, receiver=0xe08c6b8, e=0xdfbfe18) at kernel/qapplication.cpp:4562
#14 0xb556fdaf in QApplication::notify (this=0xdfbfe18, receiver=0xe08c6b8, e=0xdfbfe18) at kernel/qapplication.cpp:3944
#15 0xb670ae91 in KApplication::notify (this=0x9d12488, receiver=0xe08c6b8, event=0xdfbfe18) at ../../kdeui/kernel/kapplication.cpp:311
#16 0xb607b78e in QCoreApplication::notifyInternal (this=0x9d12488, receiver=0xe08c6b8, event=0xdfbfe18) at kernel/qcoreapplication.cpp:915
#17 0xb607f97d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9cbf130) at kernel/qcoreapplication.cpp:1539
#19 0xb607fc0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#20 0xb60ad804 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#21 postEventSourceDispatch (s=s@entry=0x9d1b2b0) at kernel/qeventdispatcher_glib.cpp:279
#22 0xb29bb9e3 in g_main_dispatch (context=0x9d308e8) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:2715
#23 g_main_context_dispatch (context=context@entry=0x9d308e8) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3219
#24 0xb29bbd80 in g_main_context_iterate (context=context@entry=0x9d308e8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3290
#25 0xb29bbe61 in g_main_context_iteration (context=0x9d308e8, may_block=1) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3351
#26 0xb60ad981 in QEventDispatcherGlib::processEvents (this=0x9cbfeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0xb56219aa in QGuiEventDispatcherGlib::processEvents (this=0x9cbfeb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb607a26c in QEventLoop::processEvents (this=this@entry=0xbfb8e1b8, flags=...) at kernel/qeventloop.cpp:149
#29 0xb607a561 in QEventLoop::exec (this=0xbfb8e1b8, flags=...) at kernel/qeventloop.cpp:204
#30 0xb607fcba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#31 0xb5568fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#32 0xb76f3063 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#33 0x0804855b in ?? ()
#34 0xb75104d3 in __libc_start_main (main=0x8048540, argc=1, ubp_av=0xbfb8e374, init=0x8048660 <__libc_csu_init>, fini=0x80486d0 <__libc_csu_fini>, rtld_fini=0xb7745270 <_dl_fini>, stack_end=0xbfb8e36c) at libc-start.c:226
#35 0x08048581 in _start ()

Possible duplicates by query: bug 311239, bug 310686, bug 309807, bug 309310, bug 309293.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-02-22 21:40:31 UTC
*** Bug 315653 has been marked as a duplicate of this bug. ***
Comment 2 iskren 2013-03-25 23:41:03 UTC
Created attachment 78390 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.1 using Qt 4.8.3

- What I was doing when the application crashed: Every time I try to get a new widget, Plasma crashes. The bug is pretty consistently reproducible exactly as described in the original message. I'm running Kubuntu 12.10. It has been working fine, though I do have quite some widgets installed.  Any ideas?

-- Backtrace (Reduced):
#7  0xb6bbd6d1 in QDeclarativeItem::~QDeclarativeItem (this=0xe1147a0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
[...]
#10 0xb60077a3 in qDeleteInEventHandler (o=o@entry=0xe1147a0) at kernel/qobject.cpp:4277
#11 0xb6009f30 in QObject::event (this=0xe1147a0, e=0xc477ff0) at kernel/qobject.cpp:1176
#12 0xb6bb7ad4 in QDeclarativeItem::event (this=0xe1147a0, ev=0xc477ff0) at graphicsitems/qdeclarativeitem.cpp:3748
#13 0xb54e339c in QApplicationPrivate::notify_helper (this=0x8d47cb8, receiver=0xe1147a0, e=0xc477ff0) at kernel/qapplication.cpp:4562
Comment 3 Martin Flöser 2013-05-30 07:24:55 UTC
Thank you for this crash report and helping to improve our software. Unfortunately we were not able to work on this specific report yet. Nowadays the version this crash was reported against is no longer maintained and this makes it very difficult to work on this report as the source code might have changed and the information in the backtrace is no longer valid. 

Also it is quite likely that this problem got fixed in a later version. Crash reports are very often reported multiple times. 

If you are able to reproduce this crash with the latest version of KDE Plasma (4.10.3) please reopen this report and adjust the version information in the dropdown above and please also include a new backtrace as generated by the crash reporting tool. Please also make sure that the steps on how to reproduce the crash are precise and correct. Thank you!