Bug 353202

Summary: Lancelot sometimes crashes when adding applications to favoutite
Product: [Unmaintained] plasma4 Reporter: mongoose11235813
Component: widget-lancelotAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mongoose11235813 2015-09-26 07:06:44 UTC
Application: lancelot (1.9.5)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-28-generic x86_64
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I tried to add Atom icon to applications applications in Lancelot.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Lancelot (lancelot), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcdb0cdd7c0 (LWP 2087))]

Thread 3 (Thread 0x7fcd8e5ea700 (LWP 2089)):
#0  0x00007fcda4ad561a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcda4ad59a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcda4a93a59 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcda4a93f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcda4a940ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcdad7cf7be in QEventDispatcherGlib::processEvents (this=0x7fcd880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fcdad7a10af in QEventLoop::processEvents (this=this@entry=0x7fcd8e5e9de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fcdad7a13a5 in QEventLoop::exec (this=this@entry=0x7fcd8e5e9de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fcdad69dc5f in QThread::exec (this=this@entry=0x27d70b0) at thread/qthread.cpp:537
#9  0x00007fcdad782823 in QInotifyFileSystemWatcherEngine::run (this=0x27d70b0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fcdad6a032f in QThreadPrivate::start (arg=0x27d70b0) at thread/qthread_unix.cpp:349
#11 0x00007fcda53b4182 in start_thread (arg=0x7fcd8e5ea700) at pthread_create.c:312
#12 0x00007fcdad05647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fcd8dbff700 (LWP 2090)):
#0  0x00007fcda4ad561a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcda4ad5979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcda4a93699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcda4a93f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcda4a940ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcdad7cf7be in QEventDispatcherGlib::processEvents (this=0x7fcd7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fcdad7a10af in QEventLoop::processEvents (this=this@entry=0x7fcd8dbfede0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fcdad7a13a5 in QEventLoop::exec (this=this@entry=0x7fcd8dbfede0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fcdad69dc5f in QThread::exec (this=this@entry=0x2a73e60) at thread/qthread.cpp:537
#9  0x00007fcdad782823 in QInotifyFileSystemWatcherEngine::run (this=0x2a73e60) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fcdad6a032f in QThreadPrivate::start (arg=0x2a73e60) at thread/qthread_unix.cpp:349
#11 0x00007fcda53b4182 in start_thread (arg=0x7fcd8dbff700) at pthread_create.c:312
#12 0x00007fcdad05647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fcdb0cdd7c0 (LWP 2087)):
[KCrash Handler]
#6  size (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:98
#7  size (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:137
#8  Lancelot::Models::Applications::contextActivate (this=0x1, index=0, context=0x3771b40) at ../../../libs/lancelot-datamodels/Applications.cpp:307
#9  0x00007fcdafd14d64 in Lancelot::ActionListViewItemFactory::itemContext (this=0x3719d80, sender=sender@entry=0x371c550, mouseCoordinate=<optimized out>, mouseCoordinate@entry=true) at ../../../libs/lancelot/widgets/ActionListView.cpp:621
#10 0x00007fcdafd14e76 in Lancelot::ActionListViewItem::contextMenuEvent (this=0x371c550, event=0x7ffceb450870) at ../../../libs/lancelot/widgets/ActionListView.cpp:109
#11 0x00007fcdae4f8655 in QGraphicsItem::sceneEvent (this=0x371c560, event=0x7ffceb450870) at graphicsview/qgraphicsitem.cpp:6725
#12 0x00007fcdae51f7aa in QGraphicsScene::contextMenuEvent (this=<optimized out>, contextMenuEvent=0x7ffceb450870) at graphicsview/qgraphicsscene.cpp:3617
#13 0x00007fcdae534275 in QGraphicsScene::event (this=0x279ec50, event=0x7ffceb450870) at graphicsview/qgraphicsscene.cpp:3412
#14 0x00007fcdadf4ee2c in QApplicationPrivate::notify_helper (this=this@entry=0x261cec0, receiver=receiver@entry=0x279ec50, e=e@entry=0x7ffceb450870) at kernel/qapplication.cpp:4567
#15 0x00007fcdadf554a0 in QApplication::notify (this=this@entry=0x2603770, receiver=receiver@entry=0x279ec50, e=e@entry=0x7ffceb450870) at kernel/qapplication.cpp:4353
#16 0x00007fcdaf11acca in KApplication::notify (this=0x2603770, receiver=0x279ec50, event=0x7ffceb450870) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007fcdad7a24dd in QCoreApplication::notifyInternal (this=0x2603770, receiver=0x279ec50, event=event@entry=0x7ffceb450870) at kernel/qcoreapplication.cpp:953
#18 0x00007fcdae54bda7 in sendEvent (event=0x7ffceb450870, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QGraphicsView::contextMenuEvent (this=0x276e670, event=0x7ffceb450d40) at graphicsview/qgraphicsview.cpp:2892
#20 0x00007fcdadf9e7e2 in QWidget::event (this=this@entry=0x276e670, event=event@entry=0x7ffceb450d40) at kernel/qwidget.cpp:8554
#21 0x00007fcdae34004e in QFrame::event (this=0x276e670, e=0x7ffceb450d40) at widgets/qframe.cpp:557
#22 0x00007fcdae54b859 in QGraphicsView::viewportEvent (this=0x276e670, event=0x7ffceb450d40) at graphicsview/qgraphicsview.cpp:2866
#23 0x00007fcdad7a2646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x261cec0, receiver=receiver@entry=0x275ff40, event=event@entry=0x7ffceb450d40) at kernel/qcoreapplication.cpp:1063
#24 0x00007fcdadf4ee0c in QApplicationPrivate::notify_helper (this=this@entry=0x261cec0, receiver=receiver@entry=0x275ff40, e=e@entry=0x7ffceb450d40) at kernel/qapplication.cpp:4563
#25 0x00007fcdadf561f8 in QApplication::notify (this=this@entry=0x2603770, receiver=receiver@entry=0x275ff40, e=e@entry=0x7ffceb450d40) at kernel/qapplication.cpp:4189
#26 0x00007fcdaf11acca in KApplication::notify (this=0x2603770, receiver=0x275ff40, event=0x7ffceb450d40) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fcdad7a24dd in QCoreApplication::notifyInternal (this=0x2603770, receiver=receiver@entry=0x275ff40, event=event@entry=0x7ffceb450d40) at kernel/qcoreapplication.cpp:953
#28 0x00007fcdadfc9a40 in sendSpontaneousEvent (event=0x7ffceb450d40, receiver=0x275ff40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#29 QETWidget::translateMouseEvent (this=this@entry=0x276e670, event=event@entry=0x7ffceb451090) at kernel/qapplication_x11.cpp:4639
#30 0x00007fcdadfc9289 in QApplication::x11ProcessEvent (this=0x2603770, event=event@entry=0x7ffceb451090) at kernel/qapplication_x11.cpp:3627
#31 0x00007fcdadff0b32 in x11EventSourceDispatch (s=0x261cb80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007fcda4a93e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fcda4a94048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fcda4a940ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fcdad7cf7a1 in QEventDispatcherGlib::processEvents (this=0x2619600, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#36 0x00007fcdadff0be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fcdad7a10af in QEventLoop::processEvents (this=this@entry=0x7ffceb451460, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fcdad7a13a5 in QEventLoop::exec (this=this@entry=0x7ffceb451460, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fcdad7a6b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#40 0x00007fcdadf4d37c in QApplication::exec () at kernel/qapplication.cpp:3828
#41 0x000000000040cde3 in LancelotApplication::main (argc=<optimized out>, argv=<optimized out>) at ../../../../applets/lancelot/application/LancelotApplication.cpp:113
#42 0x00007fcdacf7dec5 in __libc_start_main (main=0x40cc90 <main(int, char**)>, argc=1, argv=0x7ffceb4515c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffceb4515b8) at libc-start.c:287
#43 0x000000000040ce17 in _start ()

Reported using DrKonqi
Comment 1 Ivan Čukić 2015-11-14 18:06:09 UTC
Lancelot for Plasma 4 is not maintained anymore.