Bug 346915 - Crash when rearranging dual monitor hookup
Summary: Crash when rearranging dual monitor hookup
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 3.0.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-29 18:45 UTC by Peter Cordes
Modified: 2015-10-05 12:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
krunner BT from crash at the same time as Konsole (30.60 KB, text/plain)
2015-04-29 18:47 UTC, Peter Cordes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Cordes 2015-04-29 18:45:13 UTC
Application: konsole (3.0.1)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-15-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
This is almost certainly not Konsole's bug, but IDK which package is at fault, or how to get drkonqi to send the bug there if I did.  krunner crashed at the same time as Konsole.  (Will attach a backtrace from that to this bug.)  Please reassign this bug somewhere appropriate, thanks.

- What I was doing when the application crashed:

old: DVI-0 (@0,150)   DVI-1 (@1680,0)
 DVI-0 was the primary head (so the plasma panel showed there, etc.)

change: plug in HDMI-0, unplug DVI-1.  (in that order).  .xsession-errors shows I temporarily had 3 screens.

new: HDMI-0 (@0,0)  DVI-0 (@1920,0)
   with HDMI-0 as primary.

I *think* I had at least one of Konsole's 2 open windows on screen 1 (DVI-1), which went away.

I had to use the monitor setup GUI to arrange my monitors again, with HDMI-0 logically to the right of DVI-0, instead of the other way around.  And DVI-0 as primary again.  (That's fine, IDK if it's worth trying to remember monitors by their EDID serial number or something.)  

 I was just changing which connection i was using to connect my desktop to one of my monitors, to free up its DVI input.  Given the order I did things, without overly clever EDID monitor ID detection my system couldn't know that it was actually connected twice to the same monitor.


  I also had to update my /etc/X11/xorg.conf.

My xorg.conf is (now):
Section "Monitor"
    Identifier  "DVI-0"
    Option      "PreferredMode" "1680x1050"
    Option      "Position" "0 150"
EndSection

Section "Monitor"
#       Identifier  "DVI-1"
        Identifier  "HDMI-0"
        Option      "PreferredMode" "1920x1200"
        Option      "Position" "1680 0"
EndSection

#Section "Screen"
Section "ServerFlags"
        # without this, one head on Intel, other on Radeon appears to work.
        # stop server from grabbing all the GPUs
        Option "AutoAddGPU" "false"
EndSection

Without an xorg.conf, KDE's graphical login comes up at a crappy rez.  With it, it comes up spanned across my screens, instead of mirrored on each one, but at least my monitors are running at native rez all the time.

Also, it's REALLY hard to get the GUI screen layout configurator to snap the 1680x1050 head to align with the BOTTOM of the other head, instead of the top or half-way up.  With enough wiggling of the mouse, it is possible.  (My bigger monitor is physically positioned a bit higher than my smaller monitor, so I want their bottoms logically aligned, so windows stay closer to the same physical height when dragging from one to another.  This means (0,0) is off-screen, but that's rarely a problem.)

In case it matters, I'm running an ATI 6870 GPU on Intel Sandybridge.  Software is Kubuntu 15.04, stock versions of kernel and open source (mesa) graphics stack, no fglrx.

I have a couple non-default desktop settings: breeze-dark theme, and the dim non-focused windows desktop effect.

.xsession-errors:
kwin_core: Successfully loaded built-in effect:  "contrast"
kscreen: Requesting missing EDID for outputs (86, 87, 88)
kscreen.kded: resetDisplaySwitch()
kscreen.kded: outputConnectedChanged(): "HDMI-0"
kscreen.kded: Calculating config ID for KScreen::Config(0x11ddf30)
kscreen.kded:   Part of the Id:  "9432147f58afaedcb18840f26d81a084"
kscreen.kded:   Part of the Id:  "051c926150883d57afd5a7e7d09ac473"
kscreen.kded:   Part of the Id:  "55f61b7d9b571546a48140d17ce681c6"
kscreen.kded:   Config ID: "df8523b618c8037d24fb9a419e04ae55"
kscreen.kded: Change detected
kscreen.kded: Applying config
kscreen.kded: Calculating config ID for KScreen::Config(0x11ddf30)
kscreen.kded:   Part of the Id:  "9432147f58afaedcb18840f26d81a084"
kscreen.kded:   Part of the Id:  "051c926150883d57afd5a7e7d09ac473"
kscreen.kded:   Part of the Id:  "55f61b7d9b571546a48140d17ce681c6"
kscreen.kded:   Config ID: "df8523b618c8037d24fb9a419e04ae55"
kscreen.kded: Applying ideal config
kscreen.kded: "DisplayPort-0"  Disabled
kscreen.kded: Connected outputs:  3
kscreen.kded: Extend to Right
kscreen.kded: Extending to the right
kscreen.kded: fallbackIfNeeded()
kscreen.kded: doApplyConfig()
kscreen.kded: Monitor for changes:  false
kwin_core: Vertical Refresh rate  60 Hz
kwin_core: Vertical Refresh rate  60 Hz
kwin_core: Vertical Refresh rate  60 Hz
kwin_core: Vertical Refresh rate  60 Hz
kwin_core: Vertical Refresh rate  60 Hz
kwin_core: Vertical Refresh rate  60 Hz
Normal
kwin_core: Vertical Refresh rate  60 Hz
kwin_core: screens:  3 desktops:  1
kwin_core: Done.
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "blur"
kwin_core: Successfully loaded built-in effect:  "blur"
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "contrast"
kwin_core: Successfully loaded built-in effect:  "contrast"
kwin_core: screens:  3 desktops:  1
kwin_core: Done.
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "blur"
kwin_core: Successfully loaded built-in effect:  "blur"
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "contrast"
kwin_core: Successfully loaded built-in effect:  "contrast"
"/home/peter/.xsession-errors"
Normal
kscreen.kded: Saving current config to file
kscreen.kded: Calculating config ID for KScreen::Config(0x11ddf30)
kscreen.kded:   Part of the Id:  "9432147f58afaedcb18840f26d81a084"
kscreen.kded:   Part of the Id:  "051c926150883d57afd5a7e7d09ac473"
kscreen.kded:   Part of the Id:  "55f61b7d9b571546a48140d17ce681c6"
kscreen.kded:   Config ID: "df8523b618c8037d24fb9a419e04ae55"
kscreen.kded: Config saved on:  "/home/peter/.local/share/kscreen/df8523b618c8037d24fb9a419e04ae55"
kscreen.kded: Config applied
kscreen.kded: Monitor for changes:  true
kwin_core: KWin::Client(0x2c263f0) true false false
kwin_core: PERMITTED 'ID: 48234514 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Desktop — Plasma" ' true
kwin_core: KWin::Client(0x2c28300) true false false
kwin_core: PERMITTED 'ID: 48234520 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Desktop — Plasma" ' true
kwin_core: KWin::Client(0x2c61a70) true false false
kwin_core: PERMITTED 'ID: 48234526 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Plasma" ' true
kwin_core: KWin::Client(0x2c61a70) true false false
kwin_core: PERMITTED 'ID: 48234526 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Plasma" ' true
kscreen: Requesting missing EDID for outputs (86, 87)
kscreen.kded: resetDisplaySwitch()
kscreen.kded: outputConnectedChanged(): "DVI-1"
kscreen.kded: Change detected
kwin_core: screens:  3 desktops:  1
kwin_core: Done.
kwin_core: screens:  3 desktops:  1
kwin_core: Done.
kscreen.kded: Applying config
kscreen.kded: Calculating config ID for KScreen::Config(0x11ddf30)
kscreen.kded:   Part of the Id:  "9432147f58afaedcb18840f26d81a084"
kscreen.kded:   Part of the Id:  "051c926150883d57afd5a7e7d09ac473"
kscreen.kded:   Config ID: "ded9c12ca707dedc494100ce40c11a6d"
kscreen.kded: Applying ideal config
kscreen.kded: "DisplayPort-0"  Disabled
kscreen.kded: "DVI-1"  Disabled
kscreen.kded: Connected outputs:  2
kscreen.kded: Extend to Right
kscreen.kded: Extending to the right
kscreen.kded: fallbackIfNeeded()
kscreen.kded: doApplyConfig()
kscreen.kded: Monitor for changes:  false
kwin_core: Vertical Refresh rate  60 Hz
pure virtual method called
terminate called without an active exception
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "blur"
kwin_core: Successfully loaded built-in effect:  "blur"
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "contrast"
KCrash: Attempting to start /usr/bin/krunner from kdeinit
kdeinit5: Got EXEC_NEW '/usr/bin/krunner' from wrapper.
kdeinit5: preparing to launch '/usr/bin/krunner'
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = krunner path = /usr/bin pid = 6441
KCrash: Arguments: /usr/bin/krunner 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' from wrapper.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/drkonqi'
kwin_core: Successfully loaded built-in effect:  "contrast"
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 46550, resource id: 48234520, major code: 15 (QueryTree), minor code: 0
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "blur"
kwin_core: Successfully loaded built-in effect:  "blur"
kwin_core: EffectsHandler::unloadEffect : Unloading Effect :  "contrast"
kscreen.kded: Saving current config to file
kscreen.kded: Calculating config ID for KScreen::Config(0x11ddf30)
kscreen.kded:   Part of the Id:  "9432147f58afaedcb18840f26d81a084"
kscreen.kded:   Part of the Id:  "051c926150883d57afd5a7e7d09ac473"
kscreen.kded:   Config ID: "ded9c12ca707dedc494100ce40c11a6d"
kscreen.kded: Config saved on:  "/home/peter/.local/share/kscreen/ded9c12ca707dedc494100ce40c11a6d"
kscreen.kded: Config applied
kscreen.kded: Monitor for changes:  true
kwin_core: Successfully loaded built-in effect:  "contrast"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 46631, resource id: 48234520, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 46652, resource id: 48234520, major code: 20 (GetProperty), minor code: 0
kscreen: Requesting missing EDID for outputs (86, 87)
kscreen.kded: Change detected
kwin_core: KWin::Client(0x2c263f0) true false false
kwin_core: PERMITTED 'ID: 48234514 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Desktop — Plasma" ' true
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kscreen.kded: Saving current config to file
kscreen.kded: Calculating config ID for KScreen::Config(0x11ddf30)
kscreen.kded:   Part of the Id:  "9432147f58afaedcb18840f26d81a084"
kscreen.kded:   Part of the Id:  "051c926150883d57afd5a7e7d09ac473"
kscreen.kded:   Config ID: "ded9c12ca707dedc494100ce40c11a6d"
kscreen.kded: Config saved on:  "/home/peter/.local/share/kscreen/ded9c12ca707dedc494100ce40c11a6d"
kf5.kiconthemes: "Theme tree: (Breeze Dark)"
kf5.kiconthemes: "Theme tree: (Breeze Dark)"
found lsb_release
Using /proc to determine executable path
Executable is: "/usr/bin/krunner"
Executable exists: true
Enabling drkonqi crash catching
Invalid pixmap specified.
No frame loaded
No frame loaded
No frame loaded
No frame loaded
No frame loaded
No frame loaded
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_layoutemplate.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_lookandfeel.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_plasmashell.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaper.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaperimages.so" instead.
kwin_core: User timestamp, ASN: 4294967295
kwin_core: User timestamp, final: 'ID: 33554438 ;WMCLASS: "drkonqi" : "drkonqi" ;Caption: "krunner" ' : 738739847
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
Enabled: false
Handler: 0
Exclude: 0x0  Match?  false
false
Gesture ungrab
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konsole path = /usr/bin pid = 6685
KCrash: Arguments: /usr/bin/konsole 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' from wrapper.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/drkonqi'
"/home/peter/.bash_history"
Normal
kf5.kiconthemes: "Theme tree: (Breeze Dark)"
found lsb_release
Using /proc to determine executable path
Executable is: "/usr/bin/konsole"
Executable exists: true
Enabling drkonqi crash catching
Invalid pixmap specified.
No frame loaded
No frame loaded
No frame loaded
No frame loaded
No frame loaded
No frame loaded
kwin_core: User timestamp, ASN: 4294967295
kwin_core: User timestamp, final: 'ID: 125829126 ;WMCLASS: "drkonqi" : "drkonqi" ;Caption: "Konsole" ' : 738740427
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
Enabled: false
Handler: 0
Exclude: 0x0  Match?  false
false
Gesture ungrab
kwin_core: User timestamp, ASN: 738738366
kwin_core: User timestamp, final: 'ID: 48235450 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Desktop — Plasma" ' : 738738366
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: KWin::Client(0x2c61a70) true false false
kwin_core: PERMITTED 'ID: 48234526 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Plasma" ' true
kwin_core: KWin::Client(0x2c61a70) true false false
kwin_core: PERMITTED 'ID: 48234526 ;WMCLASS: "plasmashell" : "plasmashell" ;Caption: "Plasma" ' true
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Sending SIGSTOP to process
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
Sending SIGSTOP to process
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 48294, resource id: 96468999, major code: 15 (QueryTree), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 48352, resource id: 96491217, major code: 15 (QueryTree), minor code: 0
Enabled: false
Handler: 0
Exclude: 0x0  Match?  false
false
Gesture ungrab
Enabled: false
Handler: 0
Exclude: 0x0  Match?  false
false
...

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5a1153b800 (LWP 6685))]

Thread 3 (Thread 0x7f59fd8a1700 (LWP 6686)):
#0  0x00007f5a110008dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5a0b50cb72 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f59fd8a0cc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f5a0b50cb72 in _xcb_conn_wait (c=c@entry=0xbdbd30, cond=cond@entry=0xbdbd70, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:447
#3  0x00007f5a0b50e64f in xcb_wait_for_event (c=0xbdbd30) at ../../src/xcb_in.c:622
#4  0x00007f59ff7c5099 in QXcbEventReader::run() (this=0xbd1310) at qxcbconnection.cpp:1105
#5  0x00007f5a0d935b0e in QThreadPrivate::start(void*) (arg=0xbd1310) at thread/qthread_unix.cpp:337
#6  0x00007f5a094dd6aa in start_thread (arg=0x7f59fd8a1700) at pthread_create.c:333
#7  0x00007f5a1100beed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f59f07ca700 (LWP 6687)):
#0  0x00007f5a094e2da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f59f38074fb in radeon_drm_cs_emit_ioctl (mtx=0xd50f88, cond=0xd50fb0) at ../../../../../../../include/c11/threads_posix.h:154
#2  0x00007f59f38074fb in radeon_drm_cs_emit_ioctl (sema=0xd50f88) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:248
#3  0x00007f59f38074fb in radeon_drm_cs_emit_ioctl (param=param@entry=0xd50c70) at ../../../../../../../src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:594
#4  0x00007f59f3806c87 in impl_thrd_routine (p=<optimized out>) at ../../../../../../../include/c11/threads_posix.h:87
#5  0x00007f5a094dd6aa in start_thread (arg=0x7f59f07ca700) at pthread_create.c:333
#6  0x00007f5a1100beed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5a1153b800 (LWP 6685)):
[KCrash Handler]
#6  0x0000000000b76f10 in  ()
#7  0x00007f59ff7daefa in QXcbBackingStore::flush(QWindow*, QRegion const&, QPoint const&) (this=0xd1ba60, window=0x12d7010, region=..., offset=...) at qxcbbackingstore.cpp:319
#8  0x00007f5a0e05a915 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) (this=0xd049d0, region=..., win=0x12d7010, offset=...) at painting/qbackingstore.cpp:105
#9  0x00007f5a0e488ba2 in QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) (widget=0xc73dc0, region=..., backingStore=0xd049d0, tlw=0xc79f90, tlwOffset=..., widgetTextures=0x0, widgetBackingStore=0xd1de50) at kernel/qwidgetbackingstore.cpp:118
#10 0x00007f5a0e489a66 in QWidgetBackingStore::flush(QWidget*) (this=0xd1de50, widget=0xd1dea4) at kernel/qwidgetbackingstore.cpp:1267
#11 0x00007f5a0e48b150 in QWidgetBackingStore::doSync() (beginPaintInfo=<optimized out>, backingStore=<optimized out>, cleaned=..., this=<optimized out>) at kernel/qwidgetbackingstore.cpp:335
#12 0x00007f5a0e48b150 in QWidgetBackingStore::doSync() (this=0xbe9c10, this@entry=0xd1de50) at kernel/qwidgetbackingstore.cpp:1233
#13 0x00007f5a0e48b4d9 in QWidgetBackingStore::sync() (this=0xd1de50) at kernel/qwidgetbackingstore.cpp:1036
#14 0x00007f5a0e4ac25f in QWidgetPrivate::syncBackingStore() (this=0xca7930) at kernel/qwidget.cpp:1886
#15 0x00007f5a0e4c1298 in QWidget::event(QEvent*) (this=this@entry=0xc79f90, event=event@entry=0x1abd890) at kernel/qwidget.cpp:8961
#16 0x00007f5a0e5d652b in QMainWindow::event(QEvent*) (this=this@entry=0xc79f90, event=event@entry=0x1abd890) at widgets/qmainwindow.cpp:1495
#17 0x00007f5a10957737 in KMainWindow::event(QEvent*) (this=this@entry=0xc79f90, ev=ev@entry=0x1abd890) at ../../src/kmainwindow.cpp:806
#18 0x00007f5a10990f85 in KXmlGuiWindow::event(QEvent*) (this=0xc79f90, ev=0x1abd890) at ../../src/kxmlguiwindow.cpp:118
#19 0x00007f5a0e47db2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0xbc6c10, receiver=0xc79f90, e=0x1abd890) at kernel/qapplication.cpp:3720
#20 0x00007f5a0e483000 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc631f26a0, receiver=0xc79f90, e=0x1abd890) at kernel/qapplication.cpp:3503
#21 0x00007f5a0db73c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffc631f26a0, receiver=0xc79f90, event=event@entry=0x1abd890) at kernel/qcoreapplication.cpp:935
#22 0x00007f5a0db75c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x1abd890, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#23 0x00007f5a0db75c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xb76f10) at kernel/qcoreapplication.cpp:1552
#24 0x00007f5a0db76298 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#25 0x00007f5a0dbcc843 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0xc1aad0) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007f5a08da8c3d in g_main_context_dispatch (context=0x7f59f40016f0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3122
#27 0x00007f5a08da8c3d in g_main_context_dispatch (context=context@entry=0x7f59f40016f0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3737
#28 0x00007f5a08da8f20 in g_main_context_iterate (context=context@entry=0x7f59f40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3808
#29 0x00007f5a08da8fcc in g_main_context_iteration (context=0x7f59f40016f0, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#30 0x00007f5a0dbccc57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xc177a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#31 0x00007f5a0db713e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc631f2560, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007f5a0db7902c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#33 0x00007f5a112f076f in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#34 0x00007f5a10f25a40 in __libc_start_main (main=0x400720 <main>, argc=1, argv=0x7ffc631f27e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc631f27d8) at libc-start.c:289
#35 0x000000000040074e in _start ()

Reported using DrKonqi
Comment 1 Peter Cordes 2015-04-29 18:47:47 UTC
Created attachment 92331 [details]
krunner BT from crash at the same time as Konsole
Comment 2 Lindsay Roberts 2015-04-30 14:44:05 UTC
The krunner crash is almost certainly https://bugreports.qt.io/browse/QTBUG-40174 - see attached backtrace.

Similarly the konsole crash matches https://bugreports.qt.io/browse/QTBUG-42985.

Both are unfortunately only in Qt 5.5, which is currently a month behind schedule and due at the end of May.

Note that the bugs suggest that ensuring there is always at least one screen will prevent these crashes.
Comment 3 Peter Cordes 2015-04-30 21:48:50 UTC
Thanks for taking the time to sort out my crashlog.  My monitor swap was a one-time thing, so I don't need to get it fixed for me to be happy with KDE on my system.  I just wanted to get the bug reported.

> Note that the bugs suggest that ensuring there is always at least one screen will prevent these crashes.

 You're talking about what software is doing in response to monitor changes, right?  Not physical connections.

 Because I always had at least TWO screens connected.  I never unplugged DVI-0.  I went from DVI-0(1680x1050)+DVI-1(1920x1200) to DVI-0(1680x1050)+HDMI-0(1920x1200), with DVI-0+DVI-1+HDMI-0 as a temporary state.  When I was done, HDMI-0 instead of DVI-0 was the "primary" display, showing the panel, so clearly some configurator shuffled stuff around.
Comment 4 Christoph Cullmann 2015-10-05 12:23:29 UTC
Qt issue, see (there are more similar reports linked in comments):

https://bugreports.qt.io/browse/QTBUG-42985

If you have further info, please report it there, to raise the awareness ;)
It might be that this crash here is even already fixed, thought still others with bit different BTs remain.