Bug 301910

Summary: 'Show a launcher when not running' crashes when using a new desktop icon
Product: [Unmaintained] plasma4 Reporter: Nick Jennings <nick>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nick Jennings 2012-06-14 16:08:04 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I created an icon manually for Aptana Studio 3, it was located in my Desktop folder (there was a plasma widget). I ran Apatana, it loaded fine. I right-clicked on the instance in the title bar and selected 'Show a launcher when not running'. Plasma crashed and this bug report wizard popped up.

Upon subsequent tries, however, it worked fine. I assume it has something to do with the fact that I made the icon for a custom app and it wasn't originally in the menu system, but that's just a guess.


- Custom settings of the application:

Just that it was a custom app that I created an icon for

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0x7f6dc8b55700 (LWP 535)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6ddf120222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f6ddf120259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f6dd6642b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f6dd9c4de9a in start_thread (arg=0x7f6dc8b55700) at pthread_create.c:308
#5  0x00007f6de519b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6dc6226700 (LWP 536)):
#0  0x00007f6dd9384332 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6dd9384599 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6dd9348c36 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6dd93490a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6dd9349164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6de236c426 in QEventDispatcherGlib::processEvents (this=0x7f6dc00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6de233bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6de233bed7 in QEventLoop::exec (this=0x7f6dc6225cd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6de223afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f6de231b9ff in QInotifyFileSystemWatcherEngine::run (this=0x19fbab0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f6de223dfcb in QThreadPrivate::start (arg=0x19fbab0) at thread/qthread_unix.cpp:298
#11 0x00007f6dd6642b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f6dd9c4de9a in start_thread (arg=0x7f6dc6226700) at pthread_create.c:308
#13 0x00007f6de519b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6dc54f7700 (LWP 537)):
#0  0x00007f6de236c421 in QEventDispatcherGlib::processEvents (this=0x7f6db40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#1  0x00007f6de233bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#2  0x00007f6de233bed7 in QEventLoop::exec (this=0x7f6dc54f6cd0, flags=...) at kernel/qeventloop.cpp:204
#3  0x00007f6de223afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#4  0x00007f6de231b9ff in QInotifyFileSystemWatcherEngine::run (this=0x1ee0bc0) at io/qfilesystemwatcher_inotify.cpp:248
#5  0x00007f6de223dfcb in QThreadPrivate::start (arg=0x1ee0bc0) at thread/qthread_unix.cpp:298
#6  0x00007f6dd6642b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f6dd9c4de9a in start_thread (arg=0x7f6dc54f7700) at pthread_create.c:308
#8  0x00007f6de519b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6db1876700 (LWP 539)):
#0  0x00007f6dd93841d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6dd9384969 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6dd936aec0 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6dd93481cb in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6dd9348f04 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6dd934949a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6db2360406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f6dd936a9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6dd6642b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f6dd9c4de9a in start_thread (arg=0x7f6db1876700) at pthread_create.c:308
#10 0x00007f6de519b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6de58bb7c0 (LWP 534)):
[KCrash Handler]
#6  operator== (value=0, this=0xfe545f70d) at /usr/include/qt4/QtCore/qbasicatomic.h:70
#7  data (this=0x2f65d40) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:587
#8  TaskManager::TaskItem::task (this=<optimized out>) at ../../../libs/taskmanager/taskitem.cpp:134
#9  0x00007f6dc421a743 in TaskManager::ToggleLauncherActionImpl::toggleLauncher (this=0x32a3080) at ../../../libs/taskmanager/taskactions.cpp:427
#10 0x00007f6de2351281 in QMetaObject::activate (sender=0x32a3080, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff71e294a0) at kernel/qobject.cpp:3547
#11 0x00007f6de16b9132 in QAction::triggered (this=<optimized out>, _t1=true) at .moc/release-shared/moc_qaction.cpp:277
#12 0x00007f6de16b931f in QAction::activate (this=0x32a3080, event=<optimized out>) at kernel/qaction.cpp:1257
#13 0x00007f6de1b0b119 in QMenuPrivate::activateCausedStack (this=0x20f4260, causedStack=..., action=0x32a3080, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#14 0x00007f6de1b11272 in QMenuPrivate::activateAction (this=0x20f4260, action=0x32a3080, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#15 0x00007f6de1710144 in QWidget::event (this=0x7fff71e2ac50, event=0x7fff71e29f70) at kernel/qwidget.cpp:8362
#16 0x00007f6de1b1280b in QMenu::event (this=0x7fff71e2ac50, e=0x7fff71e29f70) at widgets/qmenu.cpp:2469
#17 0x00007f6dc4219725 in TaskManager::ToolTipMenu::event (this=0x7fff71e2ac50, e=0x7fff71e29f70) at ../../../libs/taskmanager/taskactions.cpp:161
#18 0x00007f6de16bf894 in notify_helper (e=0x7fff71e29f70, receiver=0x7fff71e2ac50, this=0x19a83a0) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x19a83a0, receiver=0x7fff71e2ac50, e=0x7fff71e29f70) at kernel/qapplication.cpp:4531
#20 0x00007f6de16c50bf in QApplication::notify (this=<optimized out>, receiver=0x7fff71e2ac50, e=0x7fff71e29f70) at kernel/qapplication.cpp:4102
#21 0x00007f6de301abb6 in KApplication::notify (this=0x19590c0, receiver=0x7fff71e2ac50, event=0x7fff71e29f70) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f6de233ce9c in QCoreApplication::notifyInternal (this=0x19590c0, receiver=0x7fff71e2ac50, event=0x7fff71e29f70) at kernel/qcoreapplication.cpp:876
#23 0x00007f6de16c0862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=0x7fff71e2ac50, event=0x7fff71e29f70, alienWidget=0x0, nativeWidget=0x7fff71e2ac50, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#25 0x00007f6de17402c1 in QETWidget::translateMouseEvent (this=0x7fff71e2ac50, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#26 0x00007f6de173ebae in QApplication::x11ProcessEvent (this=0x19590c0, event=0x7fff71e2a840) at kernel/qapplication_x11.cpp:3732
#27 0x00007f6de17680d2 in x11EventSourceDispatch (s=0x19ad400, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f6dd9348d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f6dd93490a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f6dd9349164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6de236c3bf in QEventDispatcherGlib::processEvents (this=0x18b6ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f6de1767d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f6de233bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f6de233bed7 in QEventLoop::exec (this=0x7fff71e2abe0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f6de1b0e131 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2113
#36 0x00007f6dbab53a32 in WindowTaskItem::contextMenuEvent (this=0x220bd00, e=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/windowtaskitem.cpp:341
#37 0x00007f6de1ca5425 in QGraphicsItem::sceneEvent (this=0x220bd10, event=0x7fff71e2b470) at graphicsview/qgraphicsitem.cpp:6711
#38 0x00007f6de1ccd77e in QGraphicsScene::contextMenuEvent (this=<optimized out>, contextMenuEvent=0x7fff71e2b470) at graphicsview/qgraphicsscene.cpp:3617
#39 0x00007f6de1cdc764 in QGraphicsScene::event (this=0x1ae62f0, event=0x7fff71e2b470) at graphicsview/qgraphicsscene.cpp:3412
#40 0x00007f6de16bf894 in notify_helper (e=0x7fff71e2b470, receiver=0x1ae62f0, this=0x19a83a0) at kernel/qapplication.cpp:4559
#41 QApplicationPrivate::notify_helper (this=0x19a83a0, receiver=0x1ae62f0, e=0x7fff71e2b470) at kernel/qapplication.cpp:4531
#42 0x00007f6de16c4713 in QApplication::notify (this=0x19590c0, receiver=0x1ae62f0, e=0x7fff71e2b470) at kernel/qapplication.cpp:4420
#43 0x00007f6de301abb6 in KApplication::notify (this=0x19590c0, receiver=0x1ae62f0, event=0x7fff71e2b470) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007f6de233ce9c in QCoreApplication::notifyInternal (this=0x19590c0, receiver=0x1ae62f0, event=0x7fff71e2b470) at kernel/qcoreapplication.cpp:876
#45 0x00007f6de1cf23ab in sendEvent (event=0x7fff71e2b470, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QGraphicsView::contextMenuEvent (this=0x1de5100, event=0x7fff71e2bd60) at graphicsview/qgraphicsview.cpp:2892
#47 0x00007f6de170fe94 in QWidget::event (this=0x1de5100, event=0x7fff71e2bd60) at kernel/qwidget.cpp:8529
#48 0x00007f6de1ad03b6 in QFrame::event (this=0x1de5100, e=0x7fff71e2bd60) at widgets/qframe.cpp:557
#49 0x00007f6de1cfab2b in QGraphicsView::viewportEvent (this=0x1de5100, event=0x7fff71e2bd60) at graphicsview/qgraphicsview.cpp:2866
#50 0x00007f6de233d028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1de8a50, event=0x7fff71e2bd60) at kernel/qcoreapplication.cpp:986
#51 0x00007f6de16bf85f in notify_helper (e=0x7fff71e2bd60, receiver=0x1de8a50, this=0x19a83a0) at kernel/qapplication.cpp:4555
#52 QApplicationPrivate::notify_helper (this=0x19a83a0, receiver=0x1de8a50, e=0x7fff71e2bd60) at kernel/qapplication.cpp:4531
#53 0x00007f6de16c4bcd in QApplication::notify (this=<optimized out>, receiver=0x1de8a50, e=0x7fff71e2bd60) at kernel/qapplication.cpp:4181
#54 0x00007f6de301abb6 in KApplication::notify (this=0x19590c0, receiver=0x1de8a50, event=0x7fff71e2bd60) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007f6de233ce9c in QCoreApplication::notifyInternal (this=0x19590c0, receiver=0x1de8a50, event=0x7fff71e2bd60) at kernel/qcoreapplication.cpp:876
#56 0x00007f6de173fc58 in sendSpontaneousEvent (event=0x7fff71e2bd60, receiver=0x1de8a50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#57 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qapplication_x11.cpp:4622
#58 0x00007f6de173ebae in QApplication::x11ProcessEvent (this=0x19590c0, event=0x7fff71e2c600) at kernel/qapplication_x11.cpp:3732
#59 0x00007f6de17680d2 in x11EventSourceDispatch (s=0x19ad400, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007f6dd9348d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f6dd93490a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f6dd9349164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f6de236c3bf in QEventDispatcherGlib::processEvents (this=0x18b6ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0x00007f6de1767d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007f6de233bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007f6de233bed7 in QEventLoop::exec (this=0x7fff71e2c9a0, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007f6de2340f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#68 0x00007f6de54a7a13 in kdemain (argc=1, argv=0x7fff71e2cd88) at ../../../../plasma/desktop/shell/main.cpp:120
#69 0x00007f6de50ca76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff71e2cd88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff71e2cd78) at libc-start.c:226
#70 0x0000000000400671 in _start ()

Possible duplicates by query: bug 290152, bug 289482.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-06-19 18:43:31 UTC

*** This bug has been marked as a duplicate of bug 272495 ***