Bug 288687 - KDE 4.7.3 - Plasma Desktop Crash on alternate "Application Launcher Menu" click.
Summary: KDE 4.7.3 - Plasma Desktop Crash on alternate "Application Launcher Menu" click.
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-10 21:40 UTC by JP
Modified: 2011-12-12 10:29 UTC (History)
1 user (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 JP 2011-12-10 21:40:36 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

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

I do have two "Application Launcher Menu"s on my default panel, a standard one and the other set to my "Favorites". When I click just on one it is OK, but as soon as I try to use the other BUM, the desktop crashes. So, the alternate use of the two different launcher menus on the default panel triggers the crash.

- Unusual behavior I noticed:

It happens every time

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1de2e9d7c0 (LWP 11387))]

Thread 4 (Thread 0x7f1dc2007700 (LWP 11390)):
#0  0x00007f1dd781c034 in __pthread_mutex_lock (mutex=0x7f1dbc000a78) at pthread_mutex_lock.c:61
#1  0x00007f1dd6d0b649 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1dd6d0cd81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1dd6d0d429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1ddf973f3e in QEventDispatcherGlib::processEvents (this=0x1ee05b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f1ddf947cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1ddf947ef7 in QEventLoop::exec (this=0x7f1dc2006cd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f1ddf85f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f1ddf92acbf in QInotifyFileSystemWatcherEngine::run (this=0x1edfe40) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1ddf861d05 in QThreadPrivate::start (arg=0x1edfe40) at thread/qthread_unix.cpp:331
#10 0x00007f1dd402656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f1dd7819efc in start_thread (arg=0x7f1dc2007700) at pthread_create.c:304
#12 0x00007f1de278e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1db5f46700 (LWP 11392)):
#0  0x00007f1dd6d0bf90 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1dd6d0cdfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1dd6d0d429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1ddf973f3e in QEventDispatcherGlib::processEvents (this=0x1ed3520, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1ddf947cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1ddf947ef7 in QEventLoop::exec (this=0x7f1db5f45cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1ddf85f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1ddf92acbf in QInotifyFileSystemWatcherEngine::run (this=0x18e6b70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1ddf861d05 in QThreadPrivate::start (arg=0x18e6b70) at thread/qthread_unix.cpp:331
#9  0x00007f1dd402656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f1dd7819efc in start_thread (arg=0x7f1db5f46700) at pthread_create.c:304
#11 0x00007f1de278e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1db1e6f700 (LWP 11436)):
#0  0x00007f1de2782773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1dd6d0cf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1dd6d0d792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1db294d516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f1dd6d322b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1dd402656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f1dd7819efc in start_thread (arg=0x7f1db1e6f700) at pthread_create.c:304
#7  0x00007f1de278e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1de2e9d7c0 (LWP 11387)):
[KCrash Handler]
#6  0x00007f1dc850908f in Kickoff::MenuView::rowsInserted (this=0x2457890, parent=..., start=0, end=0) at ../../../../../plasma/desktop/applets/kickoff/simpleapplet/menuview.cpp:423
#7  0x00007f1dc8509cd4 in Kickoff::MenuView::qt_metacall (this=0x2457890, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8a47c5c0) at ./menuview.moc:93
#8  0x00007f1ddf95beba in QMetaObject::activate (sender=0x2bbd950, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8a47c5c0) at kernel/qobject.cpp:3278
#9  0x00007f1ddf9a48d4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#10 0x00007f1ddf94322e in QAbstractItemModel::endInsertRows (this=0x2bbd950) at kernel/qabstractitemmodel.cpp:2412
#11 0x00007f1ddf296943 in QStandardItemModelPrivate::rowsInserted (this=0x2857120, parent=<optimized out>, row=<optimized out>, count=1) at itemviews/qstandarditemmodel.cpp:558
#12 0x00007f1ddf296ba4 in QStandardItemPrivate::insertRows (this=0x300ab50, row=0, count=1, items=...) at itemviews/qstandarditemmodel.cpp:433
#13 0x00007f1dc808ec32 in appendRow (aitem=0x2c57830, this=0x2bbd950) at /usr/include/qt4/QtGui/qstandarditemmodel.h:435
#14 init (this=<optimized out>) at ../../../../../plasma/desktop/applets/kickoff/core/favoritesmodel.cpp:50
#15 Kickoff::FavoritesModel::setNameDisplayOrder (this=<optimized out>, displayOrder=<optimized out>) at ../../../../../plasma/desktop/applets/kickoff/core/favoritesmodel.cpp:339
#16 0x00007f1dc85127c2 in MenuLauncherApplet::showMenu (this=<optimized out>, pressed=<optimized out>) at ../../../../../plasma/desktop/applets/kickoff/simpleapplet/simpleapplet.cpp:634
#17 0x00007f1dc8515674 in MenuLauncherApplet::qt_metacall (this=0x19059e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8a47d540) at ./simpleapplet.moc:138
#18 0x00007f1ddf95beba in QMetaObject::activate (sender=0x191d0f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8a47d540) at kernel/qobject.cpp:3278
#19 0x00007f1de237173f in Plasma::IconWidget::pressed (this=<optimized out>, _t1=true) at ./iconwidget.moc:203
#20 0x00007f1de2372e67 in mousePressEvent (event=0x7fff8a47dda0, this=0x191d0f0) at ../../plasma/widgets/iconwidget.cpp:1378
#21 Plasma::IconWidget::mousePressEvent (this=0x191d0f0, event=0x7fff8a47dda0) at ../../plasma/widgets/iconwidget.cpp:1359
#22 0x00007f1ddf2c0667 in QGraphicsItem::sceneEvent (this=0x191d100, event=0x7fff8a47dda0) at graphicsview/qgraphicsitem.cpp:6727
#23 0x00007f1ddf2e8c2a in QGraphicsScenePrivate::sendMouseEvent (this=0x1849a20, mouseEvent=0x7fff8a47dda0) at graphicsview/qgraphicsscene.cpp:1291
#24 0x00007f1ddf2edc44 in QGraphicsScenePrivate::mousePressEventHandler (this=0x1849a20, mouseEvent=0x7fff8a47dda0) at graphicsview/qgraphicsscene.cpp:1418
#25 0x00007f1ddf2ee17f in QGraphicsScene::mousePressEvent (this=<optimized out>, mouseEvent=0x7fff8a47dda0) at graphicsview/qgraphicsscene.cpp:4067
#26 0x00007f1ddf2f788f in QGraphicsScene::event (this=0x1683f90, event=0x7fff8a47dda0) at graphicsview/qgraphicsscene.cpp:3450
#27 0x00007f1ddecf9424 in notify_helper (e=0x7fff8a47dda0, receiver=0x1683f90, this=0x1682720) at kernel/qapplication.cpp:4486
#28 QApplicationPrivate::notify_helper (this=0x1682720, receiver=0x1683f90, e=0x7fff8a47dda0) at kernel/qapplication.cpp:4458
#29 0x00007f1ddecfe291 in QApplication::notify (this=0x1666ea0, receiver=0x1683f90, e=0x7fff8a47dda0) at kernel/qapplication.cpp:4365
#30 0x00007f1de05f7126 in KApplication::notify (this=0x1666ea0, receiver=0x1683f90, event=0x7fff8a47dda0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f1ddf948afc in QCoreApplication::notifyInternal (this=0x1666ea0, receiver=0x1683f90, event=0x7fff8a47dda0) at kernel/qcoreapplication.cpp:787
#32 0x00007f1ddf30d13f in QGraphicsView::mousePressEvent (this=0x28af120, event=0x7fff8a47e550) at graphicsview/qgraphicsview.cpp:3162
#33 0x00007f1dded49f79 in QWidget::event (this=0x28af120, event=0x7fff8a47e550) at kernel/qwidget.cpp:8291
#34 0x00007f1ddf0f24f6 in QFrame::event (this=0x28af120, e=0x7fff8a47e550) at widgets/qframe.cpp:557
#35 0x00007f1ddf315d3b in QGraphicsView::viewportEvent (this=0x28af120, event=0x7fff8a47e550) at graphicsview/qgraphicsview.cpp:2864
#36 0x00007f1ddf948c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x210b660, event=0x7fff8a47e550) at kernel/qcoreapplication.cpp:902
#37 0x00007f1ddecf93ef in notify_helper (e=0x7fff8a47e550, receiver=0x210b660, this=0x1682720) at kernel/qapplication.cpp:4482
#38 QApplicationPrivate::notify_helper (this=0x1682720, receiver=0x210b660, e=0x7fff8a47e550) at kernel/qapplication.cpp:4458
#39 0x00007f1ddecfec6b in QApplication::notify (this=<optimized out>, receiver=0x210b660, e=0x7fff8a47e550) at kernel/qapplication.cpp:4047
#40 0x00007f1de05f7126 in KApplication::notify (this=0x1666ea0, receiver=0x210b660, event=0x7fff8a47e550) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f1ddf948afc in QCoreApplication::notifyInternal (this=0x1666ea0, receiver=0x210b660, event=0x7fff8a47e550) at kernel/qcoreapplication.cpp:787
#42 0x00007f1ddecfa3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x210b660, event=0x7fff8a47e550, alienWidget=0x210b660, nativeWidget=0x28af120, buttonDown=0x210b660, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#44 0x00007f1dded79945 in QETWidget::translateMouseEvent (this=0x28af120, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#45 0x00007f1dded788be in QApplication::x11ProcessEvent (this=0x1666ea0, event=0x7fff8a47ed70) at kernel/qapplication_x11.cpp:3690
#46 0x00007f1ddeda1412 in x11EventSourceDispatch (s=0x16814a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f1dd6d0ca5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f1dd6d0d258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f1dd6d0d429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f1ddf973ed6 in QEventDispatcherGlib::processEvents (this=0x15cdf40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#51 0x00007f1ddeda107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f1ddf947cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007f1ddf947ef7 in QEventLoop::exec (this=0x7fff8a47f140, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007f1ddf94c789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#55 0x00007f1de2a8d1a3 in kdemain (argc=1, argv=0x7fff8a47f528) at ../../../../plasma/desktop/shell/main.cpp:120
#56 0x00007f1de26ce30d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff8a47f528, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8a47f518) at libc-start.c:226
#57 0x0000000000400671 in _start ()

Possible duplicates by query: bug 288149, bug 286970, bug 284661, bug 284092, bug 284084.

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-12-11 02:06:01 UTC

*** This bug has been marked as a duplicate of bug 266030 ***
Comment 2 Aaron J. Seigo 2011-12-12 10:29:13 UTC
Git commit b3758ba81a5d90a3c14d87d6fc54a653efbfa259 by Aaron Seigo.
Committed on 12/12/2011 at 11:21.
Pushed by aseigo into branch 'master'.

disconnect even sub-menu MenuViews

the previous fix only worked for the top-level view which had the models as parent.
however, there can be other MenuViews which also share those models. the models are
all stored in the header action list, so use that instead

BUG:288687

M  +7    -9    plasma/desktop/applets/kickoff/simpleapplet/menuview.cpp

http://commits.kde.org/kde-workspace/b3758ba81a5d90a3c14d87d6fc54a653efbfa259