Bug 347957 - KWin crash when removing laptop from docking station
Summary: KWin crash when removing laptop from docking station
Status: RESOLVED DUPLICATE of bug 341497
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-19 15:29 UTC by Robert Munteanu
Modified: 2015-05-20 22:45 UTC (History)
0 users

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 Robert Munteanu 2015-05-19 15:29:27 UTC
Application: kwin_x11 (5.3.0)

Qt Version: 5.4.1
Operating System: Linux 4.0.3-1-desktop x86_64
Distribution: "openSUSE 20150516 (Tumbleweed) (x86_64)"

-- Information about the crash:
My laptop was docked and connected to two external monitors ( laptop screen was disabled ). I removed the laptop from the docking station. The two external monitors were deactivated and the laptop screen was activated. However, I was greeted by a krunner crash and a kwin one ( this bug report )

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc06ca14900 (LWP 16349))]

Thread 5 (Thread 0x7fc04a85d700 (LWP 16361)):
#0  0x00007fc06c390ae3 in select () from /lib64/libc.so.6
#1  0x00007fc06a23c769 in qt_safe_select (nfds=15, fdread=0x7fc03c000a98, fdwrite=0x7fc03c000d28, fdexcept=0x7fc03c000fb8, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fc06a23e083 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fc03c000900, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fc06a23e4eb in QEventDispatcherUNIX::processEvents (this=0x7fc03c0008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fc06a1e6f2b in QEventLoop::exec (this=this@entry=0x7fc04a85ccb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fc06a009dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fc06444bf68 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007fc06a00e9ef in QThreadPrivate::start (arg=0x1b7b990) at thread/qthread_unix.cpp:337
#8  0x00007fc06bc48484 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc06c397a4d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc03ad1f700 (LWP 16376)):
#0  0x00007fc06bc4c91f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc06901347b in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007fc0690134a9 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007fc06bc48484 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc06c397a4d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc048891700 (LWP 17048)):
#0  0x00007fc06bc4c91f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc06a00fa0b in wait (time=18446744073709551615, this=0x23bef70) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23d00e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007fc06490fb2b in ?? () from /usr/lib64/libQt5Quick.so.5
#4  0x00007fc06490ffc3 in ?? () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fc06a00e9ef in QThreadPrivate::start (arg=0x23d0060) at thread/qthread_unix.cpp:337
#6  0x00007fc06bc48484 in start_thread () from /lib64/libpthread.so.0
#7  0x00007fc06c397a4d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc04b3e5700 (LWP 19203)):
#0  0x00007fc06bc4c91f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc06a00fa0b in wait (time=18446744073709551615, this=0x250acd0) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2969bd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007fc06490fb2b in ?? () from /usr/lib64/libQt5Quick.so.5
#4  0x00007fc06490ffc3 in ?? () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fc06a00e9ef in QThreadPrivate::start (arg=0x2969b50) at thread/qthread_unix.cpp:337
#6  0x00007fc06bc48484 in start_thread () from /lib64/libpthread.so.0
#7  0x00007fc06c397a4d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc06ca14900 (LWP 16349)):
[KCrash Handler]
#5  QScreen::handle (this=0x0) at kernel/qscreen.cpp:85
#6  0x00007fc05295f735 in QXcbWindow::QXcbWindow (this=0x1a95af0, window=0x26fbcb0) at qxcbwindow.cpp:260
#7  0x00007fc05294d1c1 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x26fbcb0) at qxcbintegration.cpp:194
#8  0x00007fc06a72297e in QWindowPrivate::create (this=0x26fcff0, recursive=recursive@entry=false) at kernel/qwindow.cpp:395
#9  0x00007fc06a722b5b in QWindow::create (this=this@entry=0x26fbcb0) at kernel/qwindow.cpp:539
#10 0x00007fc06a722cd8 in QWindow::winId (this=0x26fbcb0) at kernel/qwindow.cpp:558
#11 0x00007fc06bf864ef in KWin::AbstractThumbnailItem::findParentEffectWindow (this=0x2b623f0) at /usr/src/debug/kwin-5.3.0/thumbnailitem.cpp:79
#12 0x00007fc06bf8669c in KWin::AbstractThumbnailItem::effectWindowAdded (this=0x2b623f0) at /usr/src/debug/kwin-5.3.0/thumbnailitem.cpp:90
#13 0x00007fc06c019015 in KWin::AbstractThumbnailItem::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kwin-5.3.0/build/moc_thumbnailitem.cpp:130
#14 0x00007fc06a218851 in QMetaObject::activate (sender=0x1b68e80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffe3ce98710) at kernel/qobject.cpp:3716
#15 0x00007fc06a218e77 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fc069a3daa0 <KWin::EffectsHandler::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffe3ce98710) at kernel/qobject.cpp:3582
#16 0x00007fc06982f542 in KWin::EffectsHandler::windowAdded (this=<optimized out>, _t1=0x24b4e90) at /usr/src/debug/kwin-5.3.0/build/libkwineffects/moc_kwineffects.cpp:1236
#17 0x00007fc06a2182cf in call (a=0x7ffe3ce98860, r=0x1b68e80, this=0x208c910) at ../../src/corelib/kernel/qobject_impl.h:124
#18 QMetaObject::activate (sender=sender@entry=0x27d5f00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffe3ce98860) at kernel/qobject.cpp:3702
#19 0x00007fc06a218e77 in QMetaObject::activate (sender=sender@entry=0x27d5f00, m=m@entry=0x7fc06c2aaa60 <KWin::Toplevel::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffe3ce98860) at kernel/qobject.cpp:3582
#20 0x00007fc06c011fc2 in KWin::Toplevel::windowShown (this=this@entry=0x27d5f00, _t1=_t1@entry=0x27d5f00) at /usr/src/debug/kwin-5.3.0/build/moc_toplevel.cpp:672
#21 0x00007fc06bf55d24 in KWin::Toplevel::setReadyForPainting (this=0x27d5f00) at /usr/src/debug/kwin-5.3.0/toplevel.cpp:259
#22 0x00007fc06c017255 in KWin::Toplevel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kwin-5.3.0/build/moc_toplevel.cpp:336
#23 0x00007fc06a218851 in QMetaObject::activate (sender=sender@entry=0x1acde60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3716
#24 0x00007fc06a218e77 in QMetaObject::activate (sender=sender@entry=0x1acde60, m=m@entry=0x7fc06a6210c0 <QSingleShotTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#25 0x00007fc06a2258f3 in timeout (this=0x1acde60) at .moc/qtimer.moc:122
#26 QSingleShotTimer::timerEvent (this=0x1acde60) at kernel/qtimer.cpp:318
#27 0x00007fc06a21944c in QObject::event (this=0x1acde60, e=<optimized out>) at kernel/qobject.cpp:1226
#28 0x00007fc06aea8b5c in QApplicationPrivate::notify_helper (this=this@entry=0x18b6320, receiver=receiver@entry=0x1acde60, e=e@entry=0x7ffe3ce98db0) at kernel/qapplication.cpp:3720
#29 0x00007fc06aeada26 in QApplication::notify (this=0x7ffe3ce98fe0, receiver=0x1acde60, e=0x7ffe3ce98db0) at kernel/qapplication.cpp:3503
#30 0x00007fc06a1e8fd5 in QCoreApplication::notifyInternal (this=0x7ffe3ce98fe0, receiver=0x1acde60, event=0x7ffe3ce98db0) at kernel/qcoreapplication.cpp:935
#31 0x00007fc06a23fd2d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:228
#32 QTimerInfoList::activateTimers (this=0x1910b58) at kernel/qtimerinfo_unix.cpp:635
#33 0x00007fc06a23d880 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x190bb70) at kernel/qeventdispatcher_unix.cpp:549
#34 0x00007fc06a23e578 in QEventDispatcherUNIX::processEvents (this=0x190bb70, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#35 0x00007fc05299fb9d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#36 0x00007fc06a1e6f2b in QEventLoop::exec (this=this@entry=0x7ffe3ce98f10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007fc06a1ee5b6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#38 0x00007fc06a71723c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1507
#39 0x00007fc06aea5235 in QApplication::exec () at kernel/qapplication.cpp:2956
#40 0x00007fc06c6565a8 in kdemain (argc=1, argv=0x7ffe3ce99138) at /usr/src/debug/kwin-5.3.0/main_x11.cpp:300
#41 0x00007fc06c2d18c5 in __libc_start_main () from /lib64/libc.so.6
#42 0x0000000000400869 in _start () at ../sysdeps/x86_64/start.S:118

Reported using DrKonqi
Comment 1 Christoph Feck 2015-05-20 22:45:18 UTC

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