Bug 355118 - Crash after removing external monitor while being on standby
Summary: Crash after removing external monitor while being on standby
Status: RESOLVED DUPLICATE of bug 341497
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 355135 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-10 08:28 UTC by Leonard Lausen
Modified: 2015-11-14 14:26 UTC (History)
1 user (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 Leonard Lausen 2015-11-10 08:28:40 UTC
Application: kwin_x11 (5.3.0)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-31-generic x86_64
Distribution: Netrunner 16

-- Information about the crash:
- What I was doing when the application crashed: I have configured my setup to only use an external monitor when the lid of the laptop is closed and an external monitor is connected.
Removing the external monitor while being on standby leads to crash or to unusable DE

I'm using a recent version of Netrunner

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3a2e414800 (LWP 12030))]

Thread 3 (Thread 0x7f3a0f98b700 (LWP 12053)):
#0  0x00007f3a2deef743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3a2c4e1101 in qt_safe_select (nfds=15, fdread=fdread@entry=0x7f3a04000a78, fdwrite=fdwrite@entry=0x7f3a04000d08, fdexcept=fdexcept@entry=0x7f3a04000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f3a2c4e2cd2 in select (timeout=0x0, exceptfds=0x7f3a04000f98, writefds=0x7f3a04000d08, readfds=0x7f3a04000a78, nfds=<optimized out>, this=0x7f3a040008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f3a040008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f3a2c4e3275 in QEventDispatcherUNIX::processEvents (this=0x7f3a040008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f3a2c48a3e2 in QEventLoop::exec (this=this@entry=0x7f3a0f98ada0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3a2c249b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3a260a9f75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f3a2c24eb0e in QThreadPrivate::start (arg=0x1ffb1c0) at thread/qthread_unix.cpp:337
#9  0x00007f3a2d76e6aa in start_thread (arg=0x7f3a0f98b700) at pthread_create.c:333
#10 0x00007f3a2def8eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3a02ffd700 (LWP 12098)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3a2b052644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f3a2b052689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f3a2d76e6aa in start_thread (arg=0x7f3a02ffd700) at pthread_create.c:333
#4  0x00007f3a2def8eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3a2e414800 (LWP 12030)):
[KCrash Handler]
#6  QScreen::handle (this=0x0) at kernel/qscreen.cpp:85
#7  0x00007f3a1824a545 in QXcbWindow::QXcbWindow (this=0x20025f0, window=0x31bfdd0) at qxcbwindow.cpp:260
#8  0x00007f3a182375c1 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x31bfdd0) at qxcbintegration.cpp:194
#9  0x00007f3a2c7de786 in QWindowPrivate::create (this=0x31ba820, recursive=recursive@entry=false) at kernel/qwindow.cpp:395
#10 0x00007f3a2c7de97b in QWindow::create (this=this@entry=0x31bfdd0) at kernel/qwindow.cpp:539
#11 0x00007f3a2c7deb28 in QWindow::winId (this=0x31bfdd0) at kernel/qwindow.cpp:558
#12 0x00007f3a2dabc3af in KWin::AbstractThumbnailItem::findParentEffectWindow (this=0x34df080) at ../thumbnailitem.cpp:79
#13 0x00007f3a2dabc579 in KWin::AbstractThumbnailItem::effectWindowAdded (this=0x34df080) at ../thumbnailitem.cpp:90
#14 0x00007f3a2db52995 in KWin::AbstractThumbnailItem::qt_static_metacall (_o=0x0, _c=QMetaObject::ResetProperty, _id=62482048, _a=0x7f3a2e1b6c00 <main_arena>) at moc_thumbnailitem.cpp:130
#15 0x00007f3a2c4bd9c9 in QMetaObject::activate (sender=0x2d3ed50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffc88682a20) at kernel/qobject.cpp:3716
#16 0x00007f3a2c4be057 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3a2bc7bac0 <KWin::EffectsHandler::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffc88682a20) at kernel/qobject.cpp:3582
#17 0x00007f3a2ba6d242 in KWin::EffectsHandler::windowAdded (this=<optimized out>, _t1=0x3234a30) at moc_kwineffects.cpp:1236
#18 0x00007f3a2c4bd35a in call (a=0x7ffc88682b60, r=0x2d3ed50, this=0x2e0a750) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#19 QMetaObject::activate (sender=sender@entry=0x2e06a60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc88682b60) at kernel/qobject.cpp:3702
#20 0x00007f3a2c4be057 in QMetaObject::activate (sender=sender@entry=0x2e06a60, m=m@entry=0x7f3a2ddec120 <KWin::Toplevel::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc88682b60) at kernel/qobject.cpp:3582
#21 0x00007f3a2db4d8f2 in KWin::Toplevel::windowShown (this=this@entry=0x2e06a60, _t1=_t1@entry=0x2e06a60) at moc_toplevel.cpp:672
#22 0x00007f3a2da8391f in KWin::Toplevel::setReadyForPainting (this=0x2e06a60) at ../toplevel.cpp:259
#23 0x00007f3a2db53ff5 in KWin::Toplevel::qt_static_metacall (_o=0x0, _c=QMetaObject::ResetProperty, _id=62482048, _a=0x7f3a2e1b6c00 <main_arena>) at moc_toplevel.cpp:336
#24 0x00007f3a2c4bd9c9 in QMetaObject::activate (sender=sender@entry=0x2ec3020, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3716
#25 0x00007f3a2c4be057 in QMetaObject::activate (sender=sender@entry=0x2ec3020, m=m@entry=0x7f3a2c6e4080 <QSingleShotTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#26 0x00007f3a2c4cb6ab in timeout (this=0x2ec3020) at .moc/qtimer.moc:122
#27 QSingleShotTimer::timerEvent (this=0x2ec3020) at kernel/qtimer.cpp:318
#28 0x00007f3a2c4be6f3 in QObject::event (this=0x2ec3020, e=<optimized out>) at kernel/qobject.cpp:1267
#29 0x00007f3a2cd96b2c in QApplicationPrivate::notify_helper (this=0x1da38b0, receiver=0x2ec3020, e=0x7ffc88682fd0) at kernel/qapplication.cpp:3720
#30 0x00007f3a2cd9c000 in QApplication::notify (this=0x7ffc88683210, receiver=0x2ec3020, e=0x7ffc88682fd0) at kernel/qapplication.cpp:3503
#31 0x00007f3a2c48cc2b in QCoreApplication::notifyInternal (this=0x7ffc88683210, receiver=0x2ec3020, event=event@entry=0x7ffc88682fd0) at kernel/qcoreapplication.cpp:935
#32 0x00007f3a2c4e4ae5 in sendEvent (event=0x7ffc88682fd0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#33 QTimerInfoList::activateTimers (this=0x1deab68) at kernel/qtimerinfo_unix.cpp:635
#34 0x00007f3a2c4e26a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1dcf300) at kernel/qeventdispatcher_unix.cpp:549
#35 0x00007f3a2c4e3243 in QEventDispatcherUNIX::processEvents (this=0x1dcf300, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#36 0x00007f3a1828c96d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#37 0x00007f3a2c48a3e2 in QEventLoop::exec (this=this@entry=0x7ffc88683130, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007f3a2c49202c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#39 0x00007f3a2c7d131c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#40 0x00007f3a2cd927a5 in QApplication::exec () at kernel/qapplication.cpp:2956
#41 0x00007f3a2e1c1310 in kdemain (argc=1, argv=0x7ffc88683378) at ../main_x11.cpp:300
#42 0x00007f3a2de12a40 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7ffc88683378, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc88683368) at libc-start.c:289
#43 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 Marco Martin 2015-11-10 16:30:56 UTC
*** Bug 355135 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Lübking 2015-11-14 14:26:38 UTC

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