Bug 347892

Summary: kwin_x11 crashed after waking from sleep without an HDMI monitor previously connected.
Product: [Plasma] kwin Reporter: Serhiy Zahoriya <serhiy.int>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Serhiy Zahoriya 2015-05-18 10:04:27 UTC
Application: kwin_x11 (5.3.0)

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

-- Information about the crash:
- What I was doing when the application crashed:

Hibernated the system with HDMI monitor connected and woke it up without.

Could be duplicate of https://bugs.kde.org/show_bug.cgi?id=346627

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 0x7faf14ba4800 (LWP 13831))]

Thread 4 (Thread 0x7faef6645700 (LWP 13834)):
#0  0x00007faf12c76910 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007faf12c77275 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007faf12c1e3e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007faf129ddb44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007faf0c840f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007faf129e2b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007faf13f026aa in start_thread (arg=0x7faef6645700) at pthread_create.c:333
#7  0x00007faf1468ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7faeef7fe700 (LWP 13836)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faf117e6644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007faf117e6689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007faf13f026aa in start_thread (arg=0x7faeef7fe700) at pthread_create.c:333
#4  0x00007faf1468ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7faef73e2700 (LWP 14221)):
#0  0x00007faf14683743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faf12c75101 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007faf12c76cd2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007faf12c77275 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007faf12c1e3e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007faf129ddb44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007faf0c840f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007faf129e2b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007faf13f026aa in start_thread (arg=0x7faef73e2700) at pthread_create.c:333
#9  0x00007faf1468ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7faf14ba4800 (LWP 13831)):
[KCrash Handler]
#6  0x00007faf12f94690 in QScreen::handle() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007faefe9e7545 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#8  0x00007faefe9d45c1 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#9  0x00007faf12f72786 in QWindowPrivate::create(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007faf12f72b28 in QWindow::winId() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007faf1424feff in KWin::AbstractThumbnailItem::findParentEffectWindow (this=0x22d54b0) at ../thumbnailitem.cpp:79
#12 0x00007faf142500c9 in KWin::AbstractThumbnailItem::effectWindowAdded (this=0x22d54b0) at ../thumbnailitem.cpp:90
#13 0x00007faf142e64e5 in KWin::AbstractThumbnailItem::qt_static_metacall (_o=0x0, _c=QMetaObject::ResetProperty, _id=37198400, _a=0x7faf1494ac00 <main_arena>) at moc_thumbnailitem.cpp:130
#14 0x00007faf12c519c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007faf12201242 in KWin::EffectsHandler::windowAdded (this=<optimized out>, _t1=0x19815e0) at moc_kwineffects.cpp:1236
#16 0x00007faf12c5135a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007faf142e1442 in KWin::Toplevel::windowShown (this=this@entry=0x222aa30, _t1=_t1@entry=0x222aa30) at moc_toplevel.cpp:672
#18 0x00007faf1421746f in KWin::Toplevel::setReadyForPainting (this=0x222aa30) at ../toplevel.cpp:259
#19 0x00007faf142e7b45 in KWin::Toplevel::qt_static_metacall (_o=0x0, _c=QMetaObject::ResetProperty, _id=37198400, _a=0x7faf1494ac00 <main_arena>) at moc_toplevel.cpp:336
#20 0x00007faf12c519c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007faf12c5f6ab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007faf12c526f3 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007faf1352ab2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007faf13530000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007faf12c20c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007faf12c78ae5 in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007faf12c77243 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007faefea2996d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#29 0x00007faf12c1e3e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007faf12c2602c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007faf14955310 in kdemain (argc=1, argv=0x7ffc9c72fd08) at ../main_x11.cpp:300
#32 0x00007faf145a6a40 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7ffc9c72fd08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9c72fcf8) at libc-start.c:289
#33 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2015-05-19 09:02:11 UTC
the crash happens in Qt and for that the debug symbols are unfortunately missing. If you are able to reproduce, please provide a new backtrace with full debug symbols.
Comment 2 Martin Flöser 2015-05-19 09:03:35 UTC
looks like we just found a duplicate with a full backtrace.

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