Bug 312380

Summary: Adding veromix widget crashes plasma desktop
Product: [Unmaintained] plasma4 Reporter: Blackpaw <lindsay.mathieson>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: elezsh, lindsay.mathieson, thopiekar
Priority: NOR    
Version: 4.9.95 RC1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Blackpaw 2012-12-30 14:06:28 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.9.95
Qt Version: 4.8.3
Operating System: Linux 3.7.0-7-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
Either activating the veromix widget in  system tray settings|Display or adding the veromix widget via "Add widgets" to the desktop or task bar crashes the plasma desktop.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f908724d7c0 (LWP 1937))]

Thread 5 (Thread 0x7f907b2d1700 (LWP 1942)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:168
#1  0x00007f9094286cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9094286d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f908e97ff9f in start_thread (arg=0x7f907b2d1700) at pthread_create.c:311
#4  0x00007f909a59f0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f9071eff700 (LWP 1943)):
#0  0x00007f909a59344d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f908e280d64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f908e280e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f909722fc16 in QEventDispatcherGlib::processEvents (this=0x7f906c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f90972002bf in QEventLoop::processEvents (this=this@entry=0x7f9071efed90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9097200548 in QEventLoop::exec (this=0x7f9071efed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9097101b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f90971e09af in QInotifyFileSystemWatcherEngine::run (this=0x2af1410) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9097104aec in QThreadPrivate::start (arg=0x2af1410) at thread/qthread_unix.cpp:338
#9  0x00007f908e97ff9f in start_thread (arg=0x7f9071eff700) at pthread_create.c:311
#10 0x00007f909a59f0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f9069253700 (LWP 1946)):
#0  0x00007f909a59344d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f908e280d64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f908e280e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f909722fc16 in QEventDispatcherGlib::processEvents (this=0x7f905c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f90972002bf in QEventLoop::processEvents (this=this@entry=0x7f9069252d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9097200548 in QEventLoop::exec (this=0x7f9069252d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9097101b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f90971e09af in QInotifyFileSystemWatcherEngine::run (this=0x31bd9e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9097104aec in QThreadPrivate::start (arg=0x31bd9e0) at thread/qthread_unix.cpp:338
#9  0x00007f908e97ff9f in start_thread (arg=0x7f9069253700) at pthread_create.c:311
#10 0x00007f909a59f0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f9061682700 (LWP 1948)):
#0  0x00007f909a59344d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f908e280d64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f908e280e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f909722fc16 in QEventDispatcherGlib::processEvents (this=0x7f90500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f90972002bf in QEventLoop::processEvents (this=this@entry=0x7f9061681dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9097200548 in QEventLoop::exec (this=0x7f9061681dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9097101b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9097104aec in QThreadPrivate::start (arg=0x35fe250) at thread/qthread_unix.cpp:338
#8  0x00007f908e97ff9f in start_thread (arg=0x7f9061682700) at pthread_create.c:311
#9  0x00007f909a59f0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f908724d7c0 (LWP 1937)):
[KCrash Handler]
#6  0x00007f909a4dee35 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#7  0x00007f909a4e2498 in __GI_abort () at abort.c:90
#8  0x00007f903dddab9f in Py_FatalError (msg=msg@entry=0x7f903ded4075 "take_gil: NULL tstate") at ../Python/pythonrun.c:2365
#9  0x00007f903dde00dc in take_gil.35501 (tstate=0x0) at ../Python/ceval_gil.h:211
#10 0x00007f903dde05a4 in PyEval_InitThreads () at ../Python/ceval.c:309
#11 0x00007f9044768395 in KPythonPluginFactory::initialize (this=this@entry=0x5a922c0) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:109
#12 0x00007f9044768fd6 in KPythonPluginFactory::create (this=0x5a922c0, iface=0x7f909a22f460 <qt_meta_stringdata_Plasma__AppletScript> "Plasma::AppletScript", parentWidget=0x0, parent=0x773b580, args=..., keyword=...) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:127
#13 0x00007f909a1473b7 in create<Plasma::AppletScript> (args=..., keyword=..., parent=0x773b580, parentWidget=0x0, this=0x5a922c0) at ../../kdecore/util/kpluginfactory.h:531
#14 createInstance<Plasma::AppletScript> (error=0x7fff6ca3ae80, args=..., parent=0x773b580, parentWidget=0x0, this=0x8261180) at ../../kdecore/services/kservice.h:559
#15 createInstance<Plasma::AppletScript> (error=0x7fff6ca3ae80, args=..., parent=0x773b580, this=0x8261180) at ../../kdecore/services/kservice.h:536
#16 Plasma::loadEngine (language=..., type=type@entry=Plasma::AppletComponent, parent=parent@entry=0x773b580) at ../../plasma/scripting/scriptengine.cpp:176
#17 0x00007f909a147c6e in Plasma::loadScriptEngine (language=..., applet=0x773b580) at ../../plasma/scripting/scriptengine.cpp:209
#18 0x00007f909a092ffa in Plasma::AppletPrivate::init (this=0x7553f70, packagePath=...) at ../../plasma/applet.cpp:2808
#19 0x00007f909a093bbe in Plasma::Applet::Applet (this=0x773b580, parentObject=0x0, args=...) at ../../plasma/applet.cpp:193
#20 0x00007f909a0eafee in Plasma::PopupApplet::PopupApplet (this=0x773b580, parent=<optimized out>, args=...) at ../../plasma/popupapplet.cpp:60
#21 0x00007f909a0db035 in Plasma::PluginLoader::loadApplet (this=<optimized out>, name=..., appletId=<optimized out>, args=...) at ../../plasma/pluginloader.cpp:132
#22 0x00007f907e4e31ac in SystemTray::PlasmoidTask::setupApplet (this=this@entry=0x5ba1390, plugin=..., id=id@entry=0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:141
#23 0x00007f907e4e37c1 in SystemTray::PlasmoidTask::PlasmoidTask (this=0x5ba1390, appletname=..., id=0, parent=<optimized out>, host=0x1fa5910) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:46
#24 0x00007f907e4e1ec5 in SystemTray::PlasmoidProtocol::addApplet (this=0x1fb6860, appletName=..., id=0, parent=0x1fa5910) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:102
#25 0x00007f907e4da416 in SystemTray::Manager::addApplet (this=<optimized out>, appletName=..., parent=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:109
#26 0x00007f907e4ea1bc in SystemTray::Applet::configAccepted (this=0x1fa5910) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:661
#27 0x00007f907e4eb335 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./applet.moc:137
#28 SystemTray::Applet::qt_static_metacall (_o=0x791, _c=1937, _id=6, _a=0x7fff6ca3b950) at ./applet.moc:126
#29 0x00007f9097216f5f in QMetaObject::activate (sender=0x6e266d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#30 0x00007f9097e1c487 in KDialog::slotButtonClicked (this=0x6e266d0, button=8) at ../../kdeui/dialogs/kdialog.cpp:888
#31 0x00007f9097e1c9c4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#32 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#33 0x00007f9097216f5f in QMetaObject::activate (sender=0x5aa75c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6ca3bb80) at kernel/qobject.cpp:3547
#34 0x00007f909721ce2e in QSignalMapper::mapped (this=this@entry=0x5aa75c0, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:115
#35 0x00007f909721d035 in QSignalMapper::map (this=0x5aa75c0, sender=0x7b9eda0) at kernel/qsignalmapper.cpp:266
#36 0x00007f9097216f5f in QMetaObject::activate (sender=0x7b9eda0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6ca3bd10) at kernel/qobject.cpp:3547
#37 0x00007f9096c13422 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#38 0x00007f9096966d2e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x7dff700) at widgets/qabstractbutton.cpp:548
#39 0x00007f9096967560 in QAbstractButtonPrivate::click (this=this@entry=0x7dff700) at widgets/qabstractbutton.cpp:541
#40 0x00007f90969677cc in QAbstractButton::mouseReleaseEvent (this=0x7b9eda0, e=0x7fff6ca3c5b0) at widgets/qabstractbutton.cpp:1123
#41 0x00007f90965f8850 in QWidget::event (this=0x7b9eda0, event=0x7fff6ca3c5b0) at kernel/qwidget.cpp:8371
#42 0x00007f90965a8e9c in QApplicationPrivate::notify_helper (this=this@entry=0x1c4f1a0, receiver=receiver@entry=0x7b9eda0, e=e@entry=0x7fff6ca3c5b0) at kernel/qapplication.cpp:4562
#43 0x00007f90965adb6b in QApplication::notify (this=<optimized out>, receiver=0x7b9eda0, e=0x7fff6ca3c5b0) at kernel/qapplication.cpp:4105
#44 0x00007f9097ebb836 in KApplication::notify (this=0x1c3f3a0, receiver=0x7b9eda0, event=0x7fff6ca3c5b0) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x00007f909720156e in QCoreApplication::notifyInternal (this=0x1c3f3a0, receiver=0x7b9eda0, event=0x7fff6ca3c5b0) at kernel/qcoreapplication.cpp:915
#46 0x00007f90965a9cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QApplicationPrivate::sendMouseEvent (receiver=0x7b9eda0, event=0x7fff6ca3c5b0, alienWidget=0x7b9eda0, nativeWidget=0x6e266d0, buttonDown=0x7f9097085308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#48 0x00007f9096627554 in QETWidget::translateMouseEvent (this=this@entry=0x6e266d0, event=event@entry=0x7fff6ca3cd30) at kernel/qapplication_x11.cpp:4622
#49 0x00007f909662644f in QApplication::x11ProcessEvent (this=0x1c3f3a0, event=0x7fff6ca3cd30) at kernel/qapplication_x11.cpp:3737
#50 0x00007f909664dfa2 in x11EventSourceDispatch (s=0x1c5fa10, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x00007f908e280a95 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f908e280dc8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f908e280e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f909722fbf6 in QEventDispatcherGlib::processEvents (this=0x1b9ead0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0x00007f909664dc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f90972002bf in QEventLoop::processEvents (this=this@entry=0x7fff6ca3d100, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f9097200548 in QEventLoop::exec (this=0x7fff6ca3d100, flags=...) at kernel/qeventloop.cpp:204
#58 0x00007f9097205708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#59 0x00007f909a8a7211 in kdemain (argc=1, argv=0x7fff6ca3d3f8) at ../../../../plasma/desktop/shell/main.cpp:126
#60 0x00007f909a4c9c15 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, ubp_av=0x7fff6ca3d3f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6ca3d3e8) at libc-start.c:227
#61 0x0000000000400711 in _start ()

Possible duplicates by query: bug 311532, bug 311439, bug 311403, bug 311029, bug 310955.

Reported using DrKonqi
Comment 1 Elez J. Shenhar 2013-01-15 10:46:59 UTC
Created attachment 76483 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.9.97 using Qt 4.8.4

- What I was doing when the application crashed:

I was adding the gmail-plasmoid to the desktop (also happens when adding to system tray) when the desktop froze for about two seconds before crashing

-- Backtrace (Reduced):
#6  0x00007f436b3eae35 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#7  0x00007f436b3ee498 in __GI_abort () at abort.c:90
#8  0x00007f42d1f1c51f in Py_FatalError () from /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0
[...]
#10 0x00007f42d1f22154 in PyEval_InitThreads () from /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0
[...]
#13 0x00007f436b053587 in create<Plasma::AppletScript> (args=..., keyword=..., parent=0x7e64400, parentWidget=0x0, this=0x6aead50) at ../../kdecore/util/kpluginfactory.h:531
Comment 2 Thomas Pietrowski 2013-01-29 19:31:15 UTC
Created attachment 76791 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.9.98 using Qt 4.8.4

- What I was doing when the application crashed:

Added the veromix widget to the desktop and it crashed. Something similar happend after upgrading to Raring, but think it was related to the python script engine for plasma (which is fixed now).

-- Backtrace (Reduced):
#6  0x00007f07ea093067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f07ea0966c8 in __GI_abort () at abort.c:90
#8  0x00007f079d07559f in Py_FatalError (msg=msg@entry=0x7f079d11320d "take_gil: NULL tstate") at ../Python/pythonrun.c:2365
#9  0x00007f079d0784ec in take_gil.35555 (tstate=0x0) at ../Python/ceval_gil.h:211
#10 0x00007f079d0789b4 in PyEval_InitThreads () at ../Python/ceval.c:309