Bug 358082 - Lancelot crash
Summary: Lancelot crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-lancelot (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords: drkonqi
: 360535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-16 16:40 UTC by ghoest
Modified: 2016-05-02 16:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ghoest 2016-01-16 16:40:52 UTC
Application: lancelot (1.9.5)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
- What I was doing when the application crashed: I choosed a program to be added as favorite.

- Unusual behavior I noticed: Nothing more than the crash when have done so several times!

- Custom settings of the application: Show menu at mouse contact (hoover) - Search plugins: nearly all

The crash can be reproduced every time.

-- 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 0x7f91644be7c0 (LWP 2422))]

Thread 3 (Thread 0x7f914217f700 (LWP 2424)):
#0  0x00007f91582b961a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f91582b9979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9158277557 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9158277f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f91582780ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9160fb37be in QEventDispatcherGlib::processEvents (this=0x7f913c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f9160f850af in QEventLoop::processEvents (this=this@entry=0x7f914217ede0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9160f853a5 in QEventLoop::exec (this=this@entry=0x7f914217ede0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9160e81c5f in QThread::exec (this=this@entry=0x176a200) at thread/qthread.cpp:537
#9  0x00007f9160f66823 in QInotifyFileSystemWatcherEngine::run (this=0x176a200) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f9160e8432f in QThreadPrivate::start (arg=0x176a200) at thread/qthread_unix.cpp:349
#11 0x00007f9158b98182 in start_thread (arg=0x7f914217f700) at pthread_create.c:312
#12 0x00007f916083a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9141747700 (LWP 2425)):
#0  0x00007f916082d12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9158277fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91582780ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9160fb37be in QEventDispatcherGlib::processEvents (this=0x7f91300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f9160f850af in QEventLoop::processEvents (this=this@entry=0x7f9141746de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9160f853a5 in QEventLoop::exec (this=this@entry=0x7f9141746de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9160e81c5f in QThread::exec (this=this@entry=0x1afe7e0) at thread/qthread.cpp:537
#7  0x00007f9160f66823 in QInotifyFileSystemWatcherEngine::run (this=0x1afe7e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f9160e8432f in QThreadPrivate::start (arg=0x1afe7e0) at thread/qthread_unix.cpp:349
#9  0x00007f9158b98182 in start_thread (arg=0x7f9141747700) at pthread_create.c:312
#10 0x00007f916083a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f91644be7c0 (LWP 2422)):
[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=5, context=0x2978a50) at ../../../libs/lancelot-datamodels/Applications.cpp:307
#9  0x00007f91634f8d64 in Lancelot::ActionListViewItemFactory::itemContext (this=0x29278c0, sender=sender@entry=0x28f2ac0, mouseCoordinate=<optimized out>, mouseCoordinate@entry=true) at ../../../libs/lancelot/widgets/ActionListView.cpp:621
#10 0x00007f91634f8e76 in Lancelot::ActionListViewItem::contextMenuEvent (this=0x28f2ac0, event=0x7fff1d80ac70) at ../../../libs/lancelot/widgets/ActionListView.cpp:109
#11 0x00007f9161cdc655 in QGraphicsItem::sceneEvent (this=0x28f2ad0, event=0x7fff1d80ac70) at graphicsview/qgraphicsitem.cpp:6725
#12 0x00007f9161d037aa in QGraphicsScene::contextMenuEvent (this=<optimized out>, contextMenuEvent=0x7fff1d80ac70) at graphicsview/qgraphicsscene.cpp:3617
#13 0x00007f9161d18275 in QGraphicsScene::event (this=0x1889970, event=0x7fff1d80ac70) at graphicsview/qgraphicsscene.cpp:3412
#14 0x00007f9161732e2c in QApplicationPrivate::notify_helper (this=this@entry=0x16d9e20, receiver=receiver@entry=0x1889970, e=e@entry=0x7fff1d80ac70) at kernel/qapplication.cpp:4567
#15 0x00007f91617394a0 in QApplication::notify (this=this@entry=0x16ba650, receiver=receiver@entry=0x1889970, e=e@entry=0x7fff1d80ac70) at kernel/qapplication.cpp:4353
#16 0x00007f91628fecca in KApplication::notify (this=0x16ba650, receiver=0x1889970, event=0x7fff1d80ac70) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f9160f864dd in QCoreApplication::notifyInternal (this=0x16ba650, receiver=0x1889970, event=event@entry=0x7fff1d80ac70) at kernel/qcoreapplication.cpp:953
#18 0x00007f9161d2fda7 in sendEvent (event=0x7fff1d80ac70, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QGraphicsView::contextMenuEvent (this=0x1856b30, event=0x7fff1d80b140) at graphicsview/qgraphicsview.cpp:2892
#20 0x00007f91617827e2 in QWidget::event (this=this@entry=0x1856b30, event=event@entry=0x7fff1d80b140) at kernel/qwidget.cpp:8554
#21 0x00007f9161b2404e in QFrame::event (this=0x1856b30, e=0x7fff1d80b140) at widgets/qframe.cpp:557
#22 0x00007f9161d2f859 in QGraphicsView::viewportEvent (this=0x1856b30, event=0x7fff1d80b140) at graphicsview/qgraphicsview.cpp:2866
#23 0x00007f9160f86646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x16d9e20, receiver=receiver@entry=0x18653b0, event=event@entry=0x7fff1d80b140) at kernel/qcoreapplication.cpp:1063
#24 0x00007f9161732e0c in QApplicationPrivate::notify_helper (this=this@entry=0x16d9e20, receiver=receiver@entry=0x18653b0, e=e@entry=0x7fff1d80b140) at kernel/qapplication.cpp:4563
#25 0x00007f916173a1f8 in QApplication::notify (this=this@entry=0x16ba650, receiver=receiver@entry=0x18653b0, e=e@entry=0x7fff1d80b140) at kernel/qapplication.cpp:4189
#26 0x00007f91628fecca in KApplication::notify (this=0x16ba650, receiver=0x18653b0, event=0x7fff1d80b140) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f9160f864dd in QCoreApplication::notifyInternal (this=0x16ba650, receiver=receiver@entry=0x18653b0, event=event@entry=0x7fff1d80b140) at kernel/qcoreapplication.cpp:953
#28 0x00007f91617ada40 in sendSpontaneousEvent (event=0x7fff1d80b140, receiver=0x18653b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#29 QETWidget::translateMouseEvent (this=this@entry=0x1856b30, event=event@entry=0x7fff1d80b490) at kernel/qapplication_x11.cpp:4639
#30 0x00007f91617ad289 in QApplication::x11ProcessEvent (this=0x16ba650, event=event@entry=0x7fff1d80b490) at kernel/qapplication_x11.cpp:3627
#31 0x00007f91617d4b32 in x11EventSourceDispatch (s=0x16db270, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f9158277e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f9158278048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f91582780ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f9160fb37a1 in QEventDispatcherGlib::processEvents (this=0x1683990, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#36 0x00007f91617d4be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f9160f850af in QEventLoop::processEvents (this=this@entry=0x7fff1d80b860, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f9160f853a5 in QEventLoop::exec (this=this@entry=0x7fff1d80b860, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f9160f8ab79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#40 0x00007f916173137c 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 0x00007f9160761ec5 in __libc_start_main (main=0x40cc90 <main(int, char**)>, argc=1, argv=0x7fff1d80b9c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1d80b9b8) at libc-start.c:287
#43 0x000000000040ce17 in _start ()

Reported using DrKonqi
Comment 1 Leszek Lesner 2016-02-02 09:59:58 UTC
Lancelot is unmaintained for couple of years now so don't expect any patch for this. 

For the problem itself.
Can you please check if you have a local ~/.kde/share/config/lancelotrc file ? 
If it isn't there it might explain the crash as lancelot seems not to create it when it isn't there. 
So manually creating even an empty file and relogin should do the trick.
Comment 2 Christoph Feck 2016-03-15 22:50:08 UTC
*** Bug 360535 has been marked as a duplicate of this bug. ***
Comment 3 Ivan Čukić 2016-05-02 16:56:27 UTC
Plasma 4 (and thus Lancelot 4) is unmaintained.

As for the work-around, you can try not clicking the context item, but hovering the 'activation' area (the no-click usage pattern). It should not trigger the crash.