Bug 340075 - [kf5] konsole crash on kde session start
Summary: [kf5] konsole crash on kde session start
Status: RESOLVED DUPLICATE of bug 344183
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.99.900
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 21:46 UTC by Luiz Angelo De Luca
Modified: 2015-03-25 16:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo De Luca 2014-10-17 21:46:56 UTC
Hello,

I'm getting a crash on every login if konsole was open when I logout. This is BT:

Thread 1 (Thread 0x7f7326bfb8c0 (LWP 11025)):
[KCrash Handler]
#5  0x00007f7326211261 in Konsole::ViewManager::saveSessions(KConfigGroup&) () from /usr/lib64/libkonsoleprivate.so.2
#6  0x00007f7325ebe8a7 in KMainWindow::savePropertiesInternal (this=0x18ae210, config=config@entry=0x182bdb0, number=1) at /usr/src/debug/kxmlgui-5.4.0git/src/kmainwindow.cpp:504
#7  0x00007f7325ebea86 in KMWSessionManager::saveState (this=<optimized out>) at /usr/src/debug/kxmlgui-5.4.0git/src/kmainwindow.cpp:140
#8  0x00007f7325efbb82 in KMWSessionManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff9656c2f0) at /usr/src/debug/kxmlgui-5.4.0git/build/src/moc_kmainwindow_p.cpp:69
#9  0x00007f7322e6cc76 in QMetaObject::activate (sender=0x7fff9656d540, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff9656c2f0) at kernel/qobject.cpp:3681
#10 0x00007f7322e6d137 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f732397e140 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff9656c2f0) at kernel/qobject.cpp:3547
#11 0x00007f732336a225 in QGuiApplication::saveStateRequest (this=<optimized out>, _t1=...) at .moc/moc_qguiapplication.cpp:320
#12 0x00007f732336bb6b in QGuiApplicationPrivate::saveState (this=0x17a3330) at kernel/qguiapplication.cpp:3083
#13 0x00007f73233aef43 in QPlatformSessionManager::appSaveState (this=this@entry=0x181dc30) at kernel/qplatformsessionmanager.cpp:149
#14 0x00007f7312b869cd in sm_performSaveYourself (sm=0x181dc30) at qxcbsessionmanager.cpp:244
#15 0x00007f7312b86c45 in sm_saveYourselfCallback (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at qxcbsessionmanager.cpp:179
#16 0x00007f731e361e18 in _SmcProcessMessage () from /usr/lib64/libSM.so.6
#17 0x00007f731e151f57 in IceProcessMessages () from /usr/lib64/libICE.so.6
#18 0x00007f7322e6cc76 in QMetaObject::activate (sender=sender@entry=0x18151e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9656cac0) at kernel/qobject.cpp:3681
#19 0x00007f7322e6d137 in QMetaObject::activate (sender=sender@entry=0x18151e0, m=m@entry=0x7f732327e700 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9656cac0) at kernel/qobject.cpp:3547
#20 0x00007f7322ee9b6e in QSocketNotifier::activated (this=this@entry=0x18151e0, _t1=9) at .moc/moc_qsocketnotifier.cpp:132
#21 0x00007f7322e79979 in QSocketNotifier::event (this=0x18151e0, e=0x7fff9656cdc0) at kernel/qsocketnotifier.cpp:300
#22 0x00007f7323adfd1c in QApplicationPrivate::notify_helper (this=this@entry=0x17a3330, receiver=receiver@entry=0x18151e0, e=e@entry=0x7fff9656cdc0) at kernel/qapplication.cpp:3499
#23 0x00007f7323ae4c56 in QApplication::notify (this=0x7fff9656d540, receiver=0x18151e0, e=0x7fff9656cdc0) at kernel/qapplication.cpp:3282
#24 0x00007f7322e3dd25 in QCoreApplication::notifyInternal (this=0x7fff9656d540, receiver=0x18151e0, event=event@entry=0x7fff9656cdc0) at kernel/qcoreapplication.cpp:935
#25 0x00007f7322e959f5 in sendEvent (event=0x7fff9656cdc0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:237
#26 socketNotifierSourceDispatch (source=source@entry=0x1815b30) at kernel/qeventdispatcher_glib.cpp:109
#27 0x00007f731d302316 in g_main_dispatch (context=0x17d2a40) at gmain.c:3066
#28 g_main_context_dispatch (context=context@entry=0x17d2a40) at gmain.c:3642
#29 0x00007f731d302668 in g_main_context_iterate (context=context@entry=0x17d2a40, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#30 0x00007f731d30270c in g_main_context_iteration (context=0x17d2a40, may_block=0) at gmain.c:3774
#31 0x00007f7322e94abc in QEventDispatcherGlib::processEvents (this=0x17a7850, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#32 0x00007f732476903c in KWindowConfig::restoreWindowSize(QWindow*, KConfigGroup const&) () from /usr/lib64/libKF5ConfigGui.so.5
#33 0x00007f7325ebf2f0 in KMainWindow::applyMainWindowSettings (this=this@entry=0x18ae210, cg=...) at /usr/src/debug/kxmlgui-5.4.0git/src/kmainwindow.cpp:613
#34 0x00007f7325ef8372 in KXmlGuiWindow::applyMainWindowSettings (this=0x18ae210, config=...) at /usr/src/debug/kxmlgui-5.4.0git/src/kxmlguiwindow.cpp:374
#35 0x00007f7325ebf6ac in KMainWindow::setAutoSaveSettings (this=this@entry=0x18ae210, groupName=..., saveWindowSize=saveWindowSize@entry=true) at /usr/src/debug/kxmlgui-5.4.0git/src/kmainwindow.cpp:706
#36 0x00007f73268339a5 in Konsole::MainWindow::applyKonsoleSettings (this=this@entry=0x18ae210) at /usr/src/debug/konsole-5.0.0git/src/MainWindow.cpp:718
#37 0x00007f7326834c59 in Konsole::MainWindow::MainWindow (this=0x18ae210, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/MainWindow.cpp:137
#38 0x00007f732682b959 in Konsole::Application::newMainWindow (this=this@entry=0x7fff9656d540) at /usr/src/debug/konsole-5.0.0git/src/Application.cpp:72
#39 0x00007f732683b6bb in restoreSession (app=...) at /usr/src/debug/konsole-5.0.0git/src/main.cpp:288
#40 0x00007f732683c342 in kdemain (argc=3, argv=0x7fff9656d688) at /usr/src/debug/konsole-5.0.0git/src/main.cpp:83
#41 0x00007f732648dbe5 in __libc_start_main () from /lib64/libc.so.6
#42 0x00000000004007f1 in _start () at ../sysdeps/x86_64/start.S:122


Reproducible: Always

Steps to Reproduce:
1.<change some config?>
2.logout
3.login
4. session apps are restarted (including konsole)

Actual Results:  
5. konsole crashes

Expected Results:  
5. konsole opens :-)

If I open konsole directly (not by session manager), it just works.
Comment 1 Luiz Angelo De Luca 2014-10-17 21:47:54 UTC
BTW,

Using OpenSuSE OBS packages, 

Konsole
Version 2.99.900
Using KDE Frameworks 5.3.0
Comment 2 Robert_c 2015-03-05 13:17:56 UTC
I also see the following from the latest builds, maybe it sheds a little more light.

Thread 1 (Thread 0x7f5e37589800 (LWP 1549)):
[KCrash Handler]
#5  0x00007f5e36bf15bf in Konsole::ViewManager::saveSessions(KConfigGroup&) (this=0x1f12110, group=...) at /usr/src/debug/konsole-14.12.2/src/ViewManager.cpp:910
#6  0x00007f5e36224f00 in KMainWindow::savePropertiesInternal(KConfig*, int) (this=0x1e97710, config=config@entry=0x1e762e0, number=1) at /usr/src/debug/kxmlgui-5.7.0/src/kmainwindow.cpp:499
#7  0x00007f5e36225196 in KMWSessionManager::saveState(QSessionManager&) (this=<optimized out>) at /usr/src/debug/kxmlgui-5.7.0/src/kmainwindow.cpp:142
#8  0x00007f5e3625fb72 in KMWSessionManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff026f2d20) at /usr/src/debug/kxmlgui-5.7.0/build/src/moc_kmainwindow_p.cpp:70
#9  0x00007f5e33590641 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7fff026f3fb0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff026f2d20) at kernel/qobject.cpp:3716
#10 0x00007f5e33590c67 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f5e340a6a80 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff026f2d20) at kernel/qobject.cpp:3582
#11 0x00007f5e33a8dce5 in QGuiApplication::saveStateRequest(QSessionManager&) (this=<optimized out>, _t1=...) at .moc/moc_qguiapplication.cpp:376
#12 0x00007f5e33a8f7eb in QGuiApplicationPrivate::saveState() (this=0x1dfea40) at kernel/qguiapplication.cpp:3150
#13 0x00007f5e33acfd53 in QPlatformSessionManager::appSaveState() (this=this@entry=0x1e49ef0) at kernel/qplatformsessionmanager.cpp:141
#14 0x00007f5e246cc55d in sm_performSaveYourself(QXcbSessionManager*) (sm=0x1e49ef0) at qxcbsessionmanager.cpp:236
#15 0x00007f5e246cc7d5 in sm_saveYourselfCallback(SmcConn, SmPointer, int, int, int, int) (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at qxcbsessionmanager.cpp:171
#16 0x00007f5e308fbe18 in _SmcProcessMessage (iceConn=0x1e3fc30, clientData=0x1e4b4a0, opcode=<optimized out>, length=<optimized out>, swap=0, replyWait=<optimized out>, replyReadyRet=0x7fff026f3378) at sm_process.c:241
#17 0x00007f5e306eb167 in IceProcessMessages (iceConn=0x1e3fc30, replyWait=0x0, replyReadyRet=0x0) at process.c:386
#18 0x00007f5e33590641 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x1e43730, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff026f34e0) at kernel/qobject.cpp:3716
#19 0x00007f5e33590c67 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x1e43730, m=m@entry=0x7f5e3399c7a0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff026f34e0) at kernel/qobject.cpp:3582
#20 0x00007f5e3360d7ee in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (this=this@entry=0x1e43730, _t1=9) at .moc/moc_qsocketnotifier.cpp:133
#21 0x00007f5e3359d4d9 in QSocketNotifier::event(QEvent*) (this=0x1e43730, e=0x7fff026f37f0) at kernel/qsocketnotifier.cpp:296
#22 0x00007f5e3421e1dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1dfea40, receiver=receiver@entry=0x1e43730, e=e@entry=0x7fff026f37f0) at kernel/qapplication.cpp:3722
#23 0x00007f5e342231f0 in QApplication::notify(QObject*, QEvent*) (this=0x7fff026f3fb0, receiver=0x1e43730, e=0x7fff026f37f0) at kernel/qapplication.cpp:3505
#24 0x00007f5e33560dc5 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff026f3fb0, receiver=0x1e43730, event=event@entry=0x7fff026f37f0) at kernel/qcoreapplication.cpp:932
#25 0x00007f5e335b9035 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (event=0x7fff026f37f0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:228
#26 0x00007f5e335b9035 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x1e431b0) at kernel/qeventdispatcher_glib.cpp:101
#27 0x00007f5e2da78a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f5e2da78c48 in  () at /usr/lib64/libglib-2.0.so.0
#29 0x00007f5e2da78cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f5e335b80fc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1e137e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#31 0x00007f5e34ed3ccc in KWindowConfig::restoreWindowSize(QWindow*, KConfigGroup const&) (window=0x1f25840, config=...) at /usr/src/debug/kconfig-5.7.0/src/gui/kwindowconfig.cpp:87
#32 0x00007f5e362259a0 in KMainWindow::applyMainWindowSettings(KConfigGroup const&) (this=this@entry=0x1e97710, cg=...) at /usr/src/debug/kxmlgui-5.7.0/src/kmainwindow.cpp:602
#33 0x00007f5e3625caa2 in KXmlGuiWindow::applyMainWindowSettings(KConfigGroup const&) (this=0x1e97710, config=...) at /usr/src/debug/kxmlgui-5.7.0/src/kxmlguiwindow.cpp:374
#34 0x00007f5e36225d5c in KMainWindow::setAutoSaveSettings(QString const&, bool) (this=this@entry=0x1e97710, groupName=..., saveWindowSize=saveWindowSize@entry=true) at /usr/src/debug/kxmlgui-5.7.0/src/kmainwindow.cpp:683
#35 0x00007f5e372038b5 in Konsole::MainWindow::applyKonsoleSettings() (this=this@entry=0x1e97710) at /usr/src/debug/konsole-14.12.2/src/MainWindow.cpp:707
#36 0x00007f5e37204c80 in Konsole::MainWindow::MainWindow() (this=0x1e97710, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-14.12.2/src/MainWindow.cpp:130
#37 0x00007f5e371fba49 in Konsole::Application::newMainWindow() (this=this@entry=0x7fff026f3fb0) at /usr/src/debug/konsole-14.12.2/src/Application.cpp:72
#38 0x00007f5e3720b42b in restoreSession(Konsole::Application&) (app=...) at /usr/src/debug/konsole-14.12.2/src/main.cpp:294
#39 0x00007f5e3720c238 in kdemain(int, char**) (argc=3, argv=0x7fff026f40f8) at /usr/src/debug/konsole-14.12.2/src/main.cpp:89
#40 0x00007f5e36e6b8c5 in __libc_start_main () at /lib64/libc.so.6
#41 0x00000000004007ee in _start () at ../sysdeps/x86_64/start.S:122
Comment 3 Wolfgang Bauer 2015-03-25 16:55:48 UTC

*** This bug has been marked as a duplicate of bug 344183 ***