Bug 317116

Summary: Krunner crashed after changing settings
Product: [Plasma] krunner Reporter: Jussi Schultink <jussi01>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lucidlytwisted
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jussi Schultink 2013-03-21 09:18:22 UTC
Application: krunner (0.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.0-13-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
alt+f2 to open krunner
click settings button
click user interface
change something
click apply
click the system monitor button
crash. 

Happens everytime.

-- Backtrace:
Application: Run Command Interface (krunner), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f534c5387c0 (LWP 1983))]

Thread 3 (Thread 0x7f5331227700 (LWP 2006)):
#0  0x00007f5340ec540d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5340ec7b77 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5340ec80f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5340ec8284 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5348c75026 in QEventDispatcherGlib::processEvents (this=0x7f532c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f5348c4537f in QEventLoop::processEvents (this=this@entry=0x7f5331226d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5348c45608 in QEventLoop::exec (this=0x7f5331226d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f5348b47410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f5348c26ecf in QInotifyFileSystemWatcherEngine::run (this=0xac35e0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f5348b49bec in QThreadPrivate::start (arg=0xac35e0) at thread/qthread_unix.cpp:338
#10 0x00007f534139af8e in start_thread (arg=0x7f5331227700) at pthread_create.c:311
#11 0x00007f534be48e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f5321e3d700 (LWP 4195)):
#0  0x00007f5340e98d80 in pthread_mutex_unlock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5340f078b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5340ec7ab9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5340ec80cc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5340ec8284 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5348c75026 in QEventDispatcherGlib::processEvents (this=0x7f531c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f5348c4537f in QEventLoop::processEvents (this=this@entry=0x7f5321e3cd90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5348c45608 in QEventLoop::exec (this=0x7f5321e3cd90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5348b47410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f5348c26ecf in QInotifyFileSystemWatcherEngine::run (this=0xd61110) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f5348b49bec in QThreadPrivate::start (arg=0xd61110) at thread/qthread_unix.cpp:338
#11 0x00007f534139af8e in start_thread (arg=0x7f5321e3d700) at pthread_create.c:311
#12 0x00007f534be48e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f534c5387c0 (LWP 1983)):
[KCrash Handler]
#6  isWidgetType (this=0x0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:146
#7  QWidget::ensurePolished (this=this@entry=0xf5faa0) at kernel/qwidget.cpp:9729
#8  0x00007f53496806a6 in QWidgetPrivate::show_recursive (this=0xfe14d0) at kernel/qwidget.cpp:7414
#9  0x00007f534968082a in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7863
#10 0x00007f534967febd in QWidgetPrivate::show_helper (this=this@entry=0xb05010) at kernel/qwidget.cpp:7502
#11 0x00007f53496802a2 in QWidget::setVisible (this=0xbaa950, visible=<optimized out>) at kernel/qwidget.cpp:7777
#12 0x00007f534c13a3e8 in show (this=0xbaa950) at /usr/include/qt4/QtGui/qwidget.h:494
#13 KRunnerDialog::positionOnScreen (this=0xbaa950) at ../../krunner/krunnerdialog.cpp:143
#14 0x00007f534c13f41a in Interface::display (this=0xbaa950, term=...) at ../../krunner/interfaces/default/interface.cpp:370
#15 0x00007f534c13cd83 in display (this=0x92d340) at ../../krunner/krunnerapp.cpp:267
#16 KRunnerApp::display (this=0x92d340) at ../../krunner/krunnerapp.cpp:260
#17 0x00007f534c13e2e5 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./krunnerapp.moc:92
#18 KRunnerApp::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./krunnerapp.moc:73
#19 0x00007f5348c5b0df in QMetaObject::activate (sender=0xabfda0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#20 0x00007f534905f58c in KCoreConfigSkeleton::writeConfig (this=0xabfda0) at ../../kdecore/config/kcoreconfigskeleton.cpp:1088
#21 0x00007f534c141ab9 in Interface::~Interface (this=0x1317d50, __in_chrg=<optimized out>) at ../../krunner/interfaces/default/interface.cpp:328
#22 0x00007f534c141c19 in Interface::~Interface (this=0x1317d50, __in_chrg=<optimized out>) at ../../krunner/interfaces/default/interface.cpp:335
#23 0x00007f5348c59222 in QObjectPrivate::deleteChildren (this=0xfe14d0) at kernel/qobject.cpp:1907
#24 0x00007f534967d6dc in QWidget::~QWidget (this=0xf5faa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#25 0x00007f534c13b619 in KRunnerConfigWidget::~KRunnerConfigWidget (this=0xf5faa0, __in_chrg=<optimized out>) at ../../krunner/configdialog.cpp:100
#26 0x00007f534c139625 in KRunnerDialog::hideEvent (this=0xbaa950) at ../../krunner/krunnerdialog.cpp:354
#27 0x00007f534967cc87 in QWidget::event (this=0xbaa950, event=0x7fffd012c900) at kernel/qwidget.cpp:8597
#28 0x00007f534962f8ec in QApplicationPrivate::notify_helper (this=this@entry=0x93d5f0, receiver=receiver@entry=0xbaa950, e=e@entry=0x7fffd012c900) at kernel/qapplication.cpp:4567
#29 0x00007f534963225b in QApplication::notify (this=0x92d340, receiver=0xbaa950, e=0x7fffd012c900) at kernel/qapplication.cpp:4428
#30 0x00007f534af14af6 in KApplication::notify (this=0x92d340, receiver=0xbaa950, event=0x7fffd012c900) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f5348c4662e in QCoreApplication::notifyInternal (this=0x92d340, receiver=0xbaa950, event=0x7fffd012c900) at kernel/qcoreapplication.cpp:946
#32 0x00007f534967dcdb in sendEvent (event=0x7fffd012c900, receiver=0xbaa950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QWidgetPrivate::hide_helper (this=this@entry=0xb05010) at kernel/qwidget.cpp:7641
#34 0x00007f5349680488 in QWidget::setVisible (this=0xbaa950, visible=<optimized out>) at kernel/qwidget.cpp:7814
#35 0x00007f534967be7b in hide (this=0xbaa950) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:498
#36 QWidgetPrivate::close_helper (this=0xb05010, mode=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:7949
#37 0x00007f534c140c55 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./interface.moc:93
#38 Interface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./interface.moc:71
#39 0x00007f5348c5b0df in QMetaObject::activate (sender=0xaca630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd012cb90) at kernel/qobject.cpp:3539
#40 0x00007f5349629152 in QAction::triggered (this=this@entry=0xaca630, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#41 0x00007f534962a580 in QAction::activate (this=0xaca630, event=<optimized out>) at kernel/qaction.cpp:1257
#42 0x00007f53499eea9f in QAbstractButtonPrivate::click (this=this@entry=0xbf6d30) at widgets/qabstractbutton.cpp:530
#43 0x00007f53499eed4c in QAbstractButton::mouseReleaseEvent (this=0xb48460, e=0x7fffd012d440) at widgets/qabstractbutton.cpp:1123
#44 0x00007f5349aab82a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#45 0x00007f534967ca89 in QWidget::event (this=0xb48460, event=0x7fffd012d440) at kernel/qwidget.cpp:8375
#46 0x00007f534962f8ec in QApplicationPrivate::notify_helper (this=this@entry=0x93d5f0, receiver=receiver@entry=0xb48460, e=e@entry=0x7fffd012d440) at kernel/qapplication.cpp:4567
#47 0x00007f5349632a33 in QApplication::notify (this=<optimized out>, receiver=0xb48460, e=0x7fffd012d440) at kernel/qapplication.cpp:4110
#48 0x00007f534af14af6 in KApplication::notify (this=0x92d340, receiver=0xb48460, event=0x7fffd012d440) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007f5348c4662e in QCoreApplication::notifyInternal (this=0x92d340, receiver=0xb48460, event=0x7fffd012d440) at kernel/qcoreapplication.cpp:946
#50 0x00007f5349635933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QApplicationPrivate::sendMouseEvent (receiver=0xb48460, event=0x7fffd012d440, alienWidget=0xb48460, nativeWidget=0xa6ae00, buttonDown=0x7f534a10d308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#52 0x00007f53496aaec4 in QETWidget::translateMouseEvent (this=this@entry=0xa6ae00, event=event@entry=0x7fffd012dbc0) at kernel/qapplication_x11.cpp:4631
#53 0x00007f53496a9ef1 in QApplication::x11ProcessEvent (this=0x92d340, event=0x7fffd012dbc0) at kernel/qapplication_x11.cpp:3746
#54 0x00007f53496d50b2 in x11EventSourceDispatch (s=0x93cd50, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007f5340ec7e85 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f5340ec81c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f5340ec8284 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f5348c75026 in QEventDispatcherGlib::processEvents (this=0x8f6ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#59 0x00007f53496d51ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f5348c4537f in QEventLoop::processEvents (this=this@entry=0x7fffd012df90, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f5348c45608 in QEventLoop::exec (this=0x7fffd012df90, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f5348c4ace6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#63 0x00007f534c13e7cf in kdemain (argc=1, argv=0x7fffd012e1d8) at ../../krunner/main.cpp:64
#64 0x00007f534bd70ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffd012e1d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd012e1c8) at libc-start.c:260
#65 0x0000000000400701 in _start ()

This bug may be a duplicate of or related to bug 257996.

Possible duplicates by query: bug 307104.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-21 12:44:03 UTC

*** This bug has been marked as a duplicate of bug 257996 ***
Comment 2 Twisted Lucidity 2013-12-01 21:17:50 UTC
Created attachment 83866 [details]
New crash information added by DrKonqi

krunner (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.4

- What I was doing when the application crashed:
Trying to get KRunner to position itself into the centre of the screen top (rather than appearing on the right as it currently does).
Was trying different settings to see what they did (didn't save any chnged).
Clicked on "Show System Activity" and KRunner appeared to crash.

-- Backtrace (Reduced):
#6  isWidgetType (this=0x0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:146
#7  QWidget::ensurePolished (this=this@entry=0x2b21080) at kernel/qwidget.cpp:9729
#8  0x00007f3b7b7cc4e6 in QWidgetPrivate::show_recursive (this=0x2aed140) at kernel/qwidget.cpp:7414
#9  0x00007f3b7b7cc67a in QWidgetPrivate::showChildren (this=this@entry=0x2918080, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7863
#10 0x00007f3b7b7cc70f in QWidgetPrivate::show_helper (this=this@entry=0x2918080) at kernel/qwidget.cpp:7502