Bug 358560 - Konsole crashes when I unplug a second monitor
Summary: Konsole crashes when I unplug a second monitor
Status: RESOLVED DUPLICATE of bug 341497
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-25 23:17 UTC by Con Hennessy
Modified: 2021-02-08 19:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
konsoleRestore.sh (459 bytes, text/plain)
2016-03-04 19:55 UTC, Demaro Stanberry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Con Hennessy 2016-01-25 23:17:21 UTC
Application: konsole (15.12.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-rc8-1.ge628e30-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
The second monitor is bigger than my laptop screen. 

Also I've only just switched from opensuse 13.2 to leap 42.1 and then added the new frameworks from http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_42.1/

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fb604c3e290 in QScreen::handle() const () at /usr/lib64/libQt5Gui.so.5
#7  0x00007fb604c1e7a5 in QWindowPrivate::applyCursor() () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fb604c1f3f1 in QWindow::setVisible(bool) () at /usr/lib64/libQt5Gui.so.5
#9  0x00007fb6053e0996 in QWidgetPrivate::show_sys() () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007fb6053e7d23 in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007fb6053ea807 in QWidget::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007fb60551fd79 in QMenu::popup(QPoint const&, QAction*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007fb60552a955 in  () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007fb60552c61f in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007fb60552cd9e in QMenuBar::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007fb6053eb3ba in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007fb60552dccb in QMenuBar::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007fb6053aae7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007fb6053b02cb in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007fb6046c6e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007fb6053af191 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007fb60540413b in  () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007fb605406353 in  () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fb6053aae7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fb6053afcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007fb6046c6e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fb604c18804 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#28 0x00007fb604c1a015 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#29 0x00007fb604bff118 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#30 0x00007fb5f4d3e200 in  () at /usr/lib64/libQt5XcbQpa.so.5
#31 0x00007fb5fed2ac84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#32 0x00007fb5fed2aed8 in  () at /usr/lib64/libglib-2.0.so.0
#33 0x00007fb5fed2af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fb60471dd6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#35 0x00007fb6046c4d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007fb6046cc8f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#37 0x00007fb608409d51 in kdemain () at /usr/lib64/libkdeinit5_konsole.so
#38 0x00007fb60805bb05 in __libc_start_main () at /lib64/libc.so.6
#39 0x00000000004007ee in _start ()

Reported using DrKonqi
Comment 1 Bernd Steinhauser 2016-02-01 23:01:53 UTC
Can confirm this. I've seen this for quite some time, but since for me drkonqi does not appear I just wondered why my konsole displays disappear.
The programs running in there continue to do so, but konsole itself is gone.
Comment 2 Bernd Steinhauser 2016-02-18 04:20:56 UTC
I did notice, that for me, it's not actually crashing, but konsole just disappears (as in not visible anymore).

The process is reparanted to init and childs run until I kill konsole.

That's also why drkonqi doesn't appear.
Comment 3 Demaro Stanberry 2016-03-04 19:55:37 UTC
Created attachment 97683 [details]
konsoleRestore.sh
Comment 4 Demaro Stanberry 2016-03-04 20:00:04 UTC
I've also experienced this, and finally got annoyed enough to figure out a workaround that suits my needs. The script above is a pretty crude hack to 'restore' konsole but it will only restore your tabs if there is a konsole session in $HOME/.config/sessions/konsole_<really long uid>
Comment 5 Bernd Steinhauser 2016-03-04 20:27:24 UTC
Right, but killing it will also kill processes running in the konsole session, which I really would like to avoid.

Anyway, maybe this should be moved into a separate bug, because this one actually talks about konsole crashing, while what you and I observe is konsole disappearing due to the disconnect or reconnect.
Comment 6 Bernd Steinhauser 2016-04-06 05:33:51 UTC
I have not seen any issues with konsole crashing or disappearing when disconnecting a screen during the last two months or so.

I think that this was (somehow?) fixed. Maybe you can confirm.
Comment 7 Andrew Crouthamel 2018-11-01 13:56:55 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-11-16 11:38:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2018-12-01 03:52:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 10 Nate Graham 2021-02-08 19:24:28 UTC

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