Bug 207305

Summary: plasma crashed on "show applications by name" setting (application lauchner) turned on (assert, Kickoff::MenuView::rowsInserted)
Product: [Unmaintained] plasma4 Reporter: Marcin Gryszkalis <mg>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcin Gryszkalis 2009-09-14 03:09:29 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-gentoo-r4-ines i686

What I was doing when the application crashed:
1. choose application launcher settings
2. checked "show appliactions by name" on
3. OK
4. crash
5. setting not saved

Second attempt to turn it on was successful.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Aborted
[Current thread is 0 (LWP 6399)]

Thread 2 (Thread 0xa6fe8b70 (LWP 6401)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7e7a135 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7f10292 in QWaitCondition::wait (this=0x9d9ab50, mutex=0x9d9ab4c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb78acddb in QHostInfoAgent::run (this=0x9d9ab40) at kernel/qhostinfo.cpp:260
#4  0xb7f0f6f0 in QThreadPrivate::start (arg=0x9d9ab40) at thread/qthread_unix.cpp:188
#5  0xb7e76440 in start_thread (arg=0xa6fe8b70) at pthread_create.c:297
#6  0xb6a69e2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb63f5700 (LWP 6399)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb69c2980 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb69c41c8 in abort () at abort.c:88
#9  0xb7f070d6 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xac5b990 "ASSERT: \"parent.isValid()\" in file /tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1/plasma/applets/kickoff/simpleapplet/menuview.cpp, line 317")
    at global/qglobal.cpp:2042
#10 0xb7f0718b in qFatal (msg=0xb803ff68 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2241
#11 0xb7f074f7 in qt_assert (assertion=0xa8d15e36 "parent.isValid()", 
    file=0xa8d15eb8 "/tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1/plasma/applets/kickoff/simpleapplet/menuview.cpp", line=317) at global/qglobal.cpp:1811
#12 0xa8d09116 in Kickoff::MenuView::rowsInserted (this=0x9a527f8, parent=@0xbfe88594, start=0, end=0)
    at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1/plasma/applets/kickoff/simpleapplet/menuview.cpp:317
#13 0xa8d096f5 in Kickoff::MenuView::qt_metacall (this=0x9a527f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe88554)
    at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1_build/plasma/applets/kickoff/menuview.moc:87
#14 0xb80084c5 in QMetaObject::activate (sender=0x9a2e808, from_signal_index=<value optimized out>, to_signal_index=9, argv=0x0) at kernel/qobject.cpp:3101
#15 0xb8009f9d in QMetaObject::activate (sender=0x9a2e808, m=0xb80a2518, local_signal_index=5, argv=0xbfe88554) at kernel/qobject.cpp:3178
#16 0xb803e778 in QAbstractItemModel::rowsInserted (this=0x9a2e808, _t1=@0xbfe88594, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:159
#17 0xb7feea4b in QAbstractItemModel::endInsertRows (this=0x9a2e808) at kernel/qabstractitemmodel.cpp:2081
#18 0xb72927a6 in QStandardItemModelPrivate::rowsInserted (this=0x9a5d7a8, parent=0xa4aff20, row=0, count=1) at itemviews/qstandarditemmodel.cpp:559
#19 0xb729792f in QStandardItemPrivate::insertRows (this=0x9a56d10, row=0, count=1, items=@0xbfe886ac) at itemviews/qstandarditemmodel.cpp:434
#20 0xb729a86f in QStandardItem::insertRow (this=0xa4aff20, row=0, items=@0xbfe886ac) at itemviews/qstandarditemmodel.cpp:1460
#21 0xb729a8fc in QStandardItemModel::appendRow (this=0x9a2e808, items=@0xbfe886ac) at itemviews/qstandarditemmodel.h:302
#22 0xa8d3cdfb in QStandardItemModel::appendRow (this=0x9a2e808, aitem=0x9a4e348) at /usr/include/qt4/QtGui/qstandarditemmodel.h:435
#23 0xa8d3ce73 in Kickoff::FavoritesModel::Private::init (this=0x9a53010) at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1/plasma/applets/kickoff/core/favoritesmodel.cpp:50
#24 0xa8d3bc60 in Kickoff::FavoritesModel::setNameDisplayOrder (this=0x9e4c548, displayOrder=Kickoff::NameBeforeDescription)
    at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1/plasma/applets/kickoff/core/favoritesmodel.cpp:320
#25 0xa8dbda79 in Kickoff::Launcher::setShowAppsByName (this=0x98b7200, showAppsByName=true)
    at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1/plasma/applets/kickoff/ui/launcher.cpp:635
#26 0xa8dca30f in LauncherApplet::configAccepted (this=0x98b9038) at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1/plasma/applets/kickoff/applet/applet.cpp:229
#27 0xa8dca415 in LauncherApplet::qt_metacall (this=0x98b9038, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe88878)
    at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1_build/plasma/applets/kickoff/applet.moc:76
#28 0xb80084c5 in QMetaObject::activate (sender=0x9a3f728, from_signal_index=<value optimized out>, to_signal_index=45, argv=0x0) at kernel/qobject.cpp:3101
#29 0xb8009f9d in QMetaObject::activate (sender=0x9a3f728, m=0xb77f60e4, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3178
#30 0xb75dc668 in KDialog::okClicked (this=0x9a3f728) at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1_build/kdeui/kdialog.moc:252
#31 0xb75ddbb8 in KDialog::slotButtonClicked (this=0x9a3f728, button=4) at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1/kdeui/dialogs/kdialog.cpp:853
#32 0xb75df994 in KDialog::qt_metacall (this=0x9a3f728, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfe88a6c) at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1_build/kdeui/kdialog.moc:184
#33 0xb768f283 in KPageDialog::qt_metacall (this=0x9a3f728, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfe88a6c)
    at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1_build/kdeui/kpagedialog.moc:64
#34 0xb75cf9cd in KConfigDialog::qt_metacall (this=0x9a3f728, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfe88a6c)
    at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1_build/kdeui/kconfigdialog.moc:78
#35 0xb80084c5 in QMetaObject::activate (sender=0x9a8ed48, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101
#36 0xb8009f9d in QMetaObject::activate (sender=0x9a8ed48, m=0xb80a18b0, local_signal_index=0, argv=0xbfe88a6c) at kernel/qobject.cpp:3178
#37 0xb800bd7a in QSignalMapper::mapped (this=0x9a8ed48, _t1=4) at .moc/debug-shared/moc_qsignalmapper.cpp:95
#38 0xb800be3c in QSignalMapper::map (this=0x9a8ed48, sender=0x9eaefd0) at kernel/qsignalmapper.cpp:266
#39 0xb800c033 in QSignalMapper::map (this=0x9a8ed48) at kernel/qsignalmapper.cpp:257
#40 0xb800d0dd in QSignalMapper::qt_metacall (this=0x9a8ed48, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe88bec) at .moc/debug-shared/moc_qsignalmapper.cpp:81
#41 0xb80084c5 in QMetaObject::activate (sender=0x9eaefd0, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3101
#42 0xb8008855 in QMetaObject::activate (sender=0x9eaefd0, m=0xb74130c4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfe88bec) at kernel/qobject.cpp:3198
#43 0xb732cd76 in QAbstractButton::clicked (this=0x9eaefd0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:200
#44 0xb7092808 in QAbstractButtonPrivate::emitClicked (this=0x9a93c48) at widgets/qabstractbutton.cpp:543
#45 0xb70940eb in QAbstractButtonPrivate::click (this=0x9a93c48) at widgets/qabstractbutton.cpp:536
#46 0xb70942f0 in QAbstractButton::mouseReleaseEvent (this=0x9eaefd0, e=0xbfe8923c) at widgets/qabstractbutton.cpp:1115
#47 0xb6d7070d in QWidget::event (this=0x9eaefd0, event=0xbfe8923c) at kernel/qwidget.cpp:7549
#48 0xb709272a in QAbstractButton::event (this=0x9eaefd0, e=0x18ff) at widgets/qabstractbutton.cpp:1077
#49 0xb712c251 in QPushButton::event (this=0x9eaefd0, e=0xbfe8923c) at widgets/qpushbutton.cpp:662
#50 0xb6d1c9fb in QApplicationPrivate::notify_helper (this=0x93b9718, receiver=0x9eaefd0, e=0xbfe8923c) at kernel/qapplication.cpp:4056
#51 0xb6d2566c in QApplication::notify (this=0x93b2780, receiver=0x9eaefd0, e=0xbfe8923c) at kernel/qapplication.cpp:3758
#52 0xb7663180 in KApplication::notify (this=0x93b2780, receiver=0x9eaefd0, event=0xbfe8923c) at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#53 0xb7ff37fd in QCoreApplication::notifyInternal (this=0x93b2780, receiver=0x9eaefd0, event=0xbfe8923c) at kernel/qcoreapplication.cpp:606
#54 0xb6d23ee0 in QApplicationPrivate::sendMouseEvent (receiver=0x9eaefd0, event=0xbfe8923c, alienWidget=0x9eaefd0, nativeWidget=0x9a3f728, buttonDown=0xb741aae0, lastMouseReceiver=@0xb741aae4)
    at src/corelib/kernel/qcoreapplication.h:216
#55 0xb6d87ddd in QETWidget::translateMouseEvent (this=0x9a3f728, event=0xbfe8a80c) at kernel/qapplication_x11.cpp:4404
#56 0xb6d87296 in QApplication::x11ProcessEvent (this=0x93b2780, event=0xbfe8a80c) at kernel/qapplication_x11.cpp:3423
#57 0xb6dacf4f in x11EventSourceDispatch (s=0x93bc368, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0xb68dc42e in IA__g_main_context_dispatch (context=0x93bb690) at gmain.c:1824
#59 0xb68df721 in g_main_context_iterate (context=0x93bb690, block=1, dispatch=1, self=0x93b9200) at gmain.c:2455
#60 0xb68df892 in IA__g_main_context_iteration (context=0x93bb690, may_block=1) at gmain.c:2518
#61 0xb801b997 in QEventDispatcherGlib::processEvents (this=0x93b94e8, flags={i = -1075271224}) at kernel/qeventdispatcher_glib.cpp:327
#62 0xb6dac71e in QGuiEventDispatcherGlib::processEvents (this=0x93b94e8, flags={i = -1075271176}) at kernel/qguieventdispatcher_glib.cpp:202
#63 0xb7ff241f in QEventLoop::processEvents (this=0xbfe8aa60, flags={i = -1075271112}) at kernel/qeventloop.cpp:149
#64 0xb7ff25eb in QEventLoop::exec (this=0xbfe8aa60, flags={i = -1075271064}) at kernel/qeventloop.cpp:197
#65 0xb7ff702b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#66 0xb6d1c79c in QApplication::exec () at kernel/qapplication.cpp:3525
#67 0xb41dddc2 in kdemain (argc=1, argv=0x932d348) at /usr/src/debug/kde-base/plasma-workspace-4.3.1/plasma-workspace-4.3.1/plasma/shells/desktop/main.cpp:50
#68 0x0804e324 in launch (argc=1, _name=0x93464d4 "/usr/bin/plasma-desktop", args=0x93464ec "", cwd=0x0, envc=0, envs=0x93464f0 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051d94 "0") at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1/kinit/kinit.cpp:677
#69 0x0804ee87 in handle_launcher_request (sock=8, who=0x8051d94 "0") at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1/kinit/kinit.cpp:1169
#70 0x0804f48f in handle_requests (waitForPid=0) at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1/kinit/kinit.cpp:1362
#71 0x0804fa2d in main (argc=2, argv=0xbfe8b104, envp=0xbfe8b110) at /usr/src/debug/kde-base/kdelibs-4.3.1/kdelibs-4.3.1/kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Beat Wolf 2009-12-17 11:26:14 UTC
is this still reproducible with a later kde version? thank you
Comment 2 Marcin Gryszkalis 2009-12-17 12:43:32 UTC
I cannot reproduce it in 4.3.4, looks like fixed.