Bug 348785 - Kwin crashed when switching windows
Summary: Kwin crashed when switching windows
Status: RESOLVED DUPLICATE of bug 348779
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-06 12:35 UTC by Dennis Schridde
Modified: 2015-06-07 10:26 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 Dennis Schridde 2015-06-06 12:35:48 UTC
Application: kwin_x11 (5.3.1)

Qt Version: 5.4.1
Operating System: Linux 4.0.4-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

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

I switched windows and KWin crashed. It appears to be generally unstable, too. I get messages like these, when starting it on the console:
areKeySymXsDepressed:  any of  2
0 : keySymX=0x "ffe9"  i= 8  mask=0x "1"  keymap[i]=0x "1" 

Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL
Application::crashHandler() called with signal 6; recent crashes: 1
KCrash: Application 'kwin_x11' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
kwin: unable to claim manager selection, another wm running? (try using --replace)

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0x7fbaa6629700 (LWP 9253)):
#0  0x00007fff5254aa7e in clock_gettime ()
#1  0x000000319a4f7a12 in clock_gettime () from /lib64/libc.so.6
#2  0x0000003babd5d286 in qt_clock_gettime (ts=0x7fbaa6628b40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#5  0x0000003babeee169 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fba98001118) at kernel/qtimerinfo_unix.cpp:84
#6  0x0000003babeed77f in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fba980008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:171
#7  0x0000003babeedda5 in QEventDispatcherUNIX::processEvents (this=0x7fba980008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#8  0x0000003babe95b02 in QEventLoop::exec (this=this@entry=0x7fbaa6628da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#9  0x0000003babca021e in QThread::exec (this=this@entry=0x1353bc0) at thread/qthread.cpp:503
#10 0x0000003bb32cf765 in QQmlThreadPrivate::run (this=0x1353bc0) at qml/ftw/qqmlthread.cpp:141
#11 0x0000003babca5182 in QThreadPrivate::start (arg=0x1353bc0) at thread/qthread_unix.cpp:337
#12 0x000000319ac072f6 in start_thread () from /lib64/libpthread.so.0
#13 0x000000319a4eabdd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbaadee2700 (LWP 9254)):
#0  0x000000319ac0c84f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003baed7a5c4 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x0000003baed7a609 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x000000319ac072f6 in start_thread () from /lib64/libpthread.so.0
#4  0x000000319a4eabdd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbab1879800 (LWP 9249)):
[KCrash Handler]
#5  0x000000319a433a27 in raise () from /lib64/libc.so.6
#6  0x000000319a434d39 in abort () from /lib64/libc.so.6
#7  0x0000003babc91f3e in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#8  QMessageLogger::fatal (this=this@entry=0x7fff524285f0, msg=msg@entry=0x7fbab136c9d5 "Could not initialize OpenGL") at global/qlogging.cpp:636
#9  0x00007fbab131d77a in QXcbWindow::create (this=0x1339ae0) at qxcbwindow.cpp:378
#10 0x00007fbab1309ee4 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x12e59f0) at qxcbintegration.cpp:194
#11 0x0000003ba94eb2a6 in QWindowPrivate::create (this=0x12cf8b0, recursive=recursive@entry=false) at kernel/qwindow.cpp:395
#12 0x0000003ba94eb47b in QWindow::create (this=this@entry=0x12e59f0) at kernel/qwindow.cpp:539
#13 0x0000003ba94eb628 in QWindow::winId (this=0x12e59f0) at kernel/qwindow.cpp:558
#14 0x00007fbab0269486 in PlasmaQuick::Dialog::event(QEvent*) () from /usr/lib64/libKF5PlasmaQuick.so.5
#15 0x0000003ba9b5bb0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x0000003ba9b60f88 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x0000003babe9829b in QCoreApplication::notifyInternal (this=0x7fff52429e20, receiver=receiver@entry=0x12e59f0, event=event@entry=0x7fff52428af0) at kernel/qcoreapplication.cpp:935
#18 0x0000003ba94ee1ed in sendEvent (event=0x7fff52428af0, receiver=0x12e59f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#19 QWindow::setIcon (this=0x12e59f0, icon=...) at kernel/qwindow.cpp:850
#20 0x00007fbab02658c3 in PlasmaQuick::Dialog::Dialog(QQuickItem*) () from /usr/lib64/libKF5PlasmaQuick.so.5
#21 0x00007fbab0504140 in ?? () from /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#22 0x0000003bb3263feb in QQmlType::create (this=this@entry=0x7fba98049cb0) at qml/qqmlmetatype.cpp:713
#23 0x0000003bb32ccf33 in QQmlObjectCreator::createInstance (this=this@entry=0x1312f30, index=2, parent=0x132a130, isContextObject=isContextObject@entry=false) at qml/qqmlobjectcreator.cpp:1061
#24 0x0000003bb32ca3ad in QQmlObjectCreator::setPropertyBinding (this=this@entry=0x1312f30, property=property@entry=0x7fba981cd308, binding=binding@entry=0x7fba98164d48) at qml/qqmlobjectcreator.cpp:774
#25 0x0000003bb32cb22e in QQmlObjectCreator::setupBindings (this=this@entry=0x1312f30, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
#26 0x0000003bb32cbbad in QQmlObjectCreator::populateInstance (this=this@entry=0x1312f30, index=0, instance=0x0, instance@entry=0x132a130, bindingTarget=0x50, bindingTarget@entry=0x132a130, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:1348
#27 0x0000003bb32cc933 in QQmlObjectCreator::createInstance (this=this@entry=0x1312f30, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1184
#28 0x0000003bb32cd67c in QQmlObjectCreator::create (this=0x1312f30, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:222
#29 0x0000003bb324ed87 in QQmlComponentPrivate::beginCreate (this=0x1285190, context=0x1319f10) at qml/qqmlcomponent.cpp:880
#30 0x0000003bb324f1fd in beginCreate (publicContext=0x15474d0, this=0x129a230) at qml/qqmlcomponent.cpp:829
#31 QQmlComponent::create (this=0x129a230, context=0x15474d0) at qml/qqmlcomponent.cpp:789
#32 0x0000003bb759e752 in ?? () from /usr/lib64/libkwin.so.5
#33 0x0000003bb759fb8c in ?? () from /usr/lib64/libkwin.so.5
#34 0x0000003bb759fe31 in ?? () from /usr/lib64/libkwin.so.5
#35 0x0000003bb75c48b5 in ?? () from /usr/lib64/libkwin.so.5
#36 0x0000003babec8145 in QMetaObject::activate (sender=sender@entry=0x1207c18, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=32767, argv=0x0, argv@entry=0x7fff52429e20) at kernel/qobject.cpp:3716
#37 0x0000003babec88df in QMetaObject::activate (sender=sender@entry=0x1207c18, m=m@entry=0x3bac0c9b80 <QTimer::staticMetaObject>, local_signal_index=32767, local_signal_index@entry=0, argv=0x7fff52429e20, argv@entry=0x0) at kernel/qobject.cpp:3582
#38 0x0000003babf47f40 in QTimer::timeout (this=this@entry=0x1207c18) at .moc/moc_qtimer.cpp:192
#39 0x0000003babed631a in QTimer::timerEvent (this=0x1207c18, e=<optimized out>) at kernel/qtimer.cpp:247
#40 0x0000003babec9387 in QObject::event (this=0x1207c18, e=<optimized out>) at kernel/qobject.cpp:1267
#41 0x0000003ba9b5bb0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#42 0x0000003ba9b60f88 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#43 0x0000003babe9829b in QCoreApplication::notifyInternal (this=0x7fff52429e20, receiver=0x1207c18, event=event@entry=0x7fff52429bd0) at kernel/qcoreapplication.cpp:935
#44 0x0000003babeef54d in sendEvent (event=0x7fff52429bd0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#45 QTimerInfoList::activateTimers (this=0x1142c08) at kernel/qtimerinfo_unix.cpp:635
#46 0x0000003babeed4a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1141150) at kernel/qeventdispatcher_unix.cpp:549
#47 0x0000003babeedd73 in QEventDispatcherUNIX::processEvents (this=0x1141150, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#48 0x00007fbab135f215 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#49 0x0000003babe95b02 in QEventLoop::exec (this=this@entry=0x7fff52429d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#50 0x0000003babe9d714 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#51 0x0000003bb7e053bd in kdemain () from /usr/lib64/libkdeinit5_kwin_x11.so
#52 0x000000319a420050 in __libc_start_main () from /lib64/libc.so.6
#53 0x000000000040083e in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-06-07 10:26:36 UTC

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