Bug 360548 - kwin crash after access through VNC
Summary: kwin crash after access through VNC
Status: RESOLVED DUPLICATE of bug 341497
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-15 08:55 UTC by Laurent Bonnaud
Modified: 2016-03-15 09:42 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 Laurent Bonnaud 2016-03-15 08:55:04 UTC
Application: kwin_x11 (5.5.4)

Qt Version: 5.5.1
Operating System: Linux 4.4.5-040405-lowlatency x86_64
Distribution: Ubuntu 15.10

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

I am using vino to remotely access my plasma desktop.  When I do this I see windows from the current desktop but no panel, as if plasmashell had crash.
Then I tried to use Alt-Tab to switch window and kwin crashed.

It is the second time I do this and kwin crashed twice.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f8a468b8700 (LWP 30724)):
#0  0x00007f8a6c7d36f3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8a6adb5b7f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=15, fdread=fdread@entry=0x7f8a38000a78, fdwrite=fdwrite@entry=0x7f8a38000d08, fdexcept=fdexcept@entry=0x7f8a38000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f8a6adb767e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7f8a38000f98, writefds=0x7f8a38000d08, readfds=0x7f8a38000a78, nfds=<optimized out>, this=0x7f8a380008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007f8a6adb767e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7f8a380008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f8a6adb7bae in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8a380008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f8a6ad6150a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8a468b7d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f8a6ab7dac4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f8a658b4c35 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f8a6ab82a6e in QThreadPrivate::start(void*) (arg=0x1298e80) at thread/qthread_unix.cpp:331
#9  0x00007f8a6bddb6aa in start_thread (arg=0x7f8a468b8700) at pthread_create.c:333
#10 0x00007f8a6c7dce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8a3e879700 (LWP 30741)):
#0  0x00007f8a6bde0da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8a69d0b194 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f8a69df3ee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f8a69d0b1d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f8a6bddb6aa in start_thread (arg=0x7f8a3e879700) at pthread_create.c:333
#4  0x00007f8a6c7dce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f8a6ccdb840 (LWP 30693)):
[KCrash Handler]
#6  0x00007f8a6c70b267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f8a6c70ceca in __GI_abort () at abort.c:89
#8  0x00007f8a6ab701e1 in QMessageLogger::fatal(char const*, ...) const (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  0x00007f8a6ab701e1 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffe7d7d9620, msg=msg@entry=0x7f8a6b4355e8 "Cannot create window: no screens available") at global/qlogging.cpp:781
#10 0x00007f8a6b0aa9b4 in QWindowPrivate::init() (this=0x15f49a0) at kernel/qwindow.cpp:215
#11 0x00007f8a65dc6e9d in QQuickWindow::QQuickWindow(QWindow*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f89b1f2d2fc in PlasmaQuick::Dialog::Dialog(QQuickItem*) () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#13 0x00007f89b2177fe0 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#14 0x00007f8a6584cfdb in QQmlType::create() const () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007f8a658ae6c4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007f8a658b0ac3 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007f8a658b0d58 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#18 0x00007f8a658ad2fa in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#19 0x00007f8a658adc5a in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#20 0x00007f8a658af15f in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007f8a65837365 in QQmlComponentPrivate::beginCreate(QQmlContextData*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007f8a65834fcf in QQmlComponent::create(QQmlContext*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007f8a6c419bb3 in KWin::TabBox::TabBoxHandlerPrivate::createSwitcherItem(bool) (this=this@entry=0x11acfa0, desktopMode=<optimized out>) at ../tabbox/tabboxhandler.cpp:296
#24 0x00007f8a6c41af8c in KWin::TabBox::TabBoxHandlerPrivate::show() (this=0x11acfa0) at ../tabbox/tabboxhandler.cpp:329
#25 0x00007f8a6c41b269 in KWin::TabBox::TabBoxHandler::show() (this=0x11143a0) at ../tabbox/tabboxhandler.cpp:385
#26 0x00007f8a6c40c9e6 in KWin::TabBox::TabBox::show() (this=<optimized out>) at ../tabbox/tabbox.cpp:742
#27 0x00007f8a6c430b95 in KWin::TabBox::TabBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x11aaae0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=4, _a=_a@entry=0x7ffe7d7da2f0) at moc_tabbox.cpp:178
#28 0x00007f8a6ad928ea in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x11aab08, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#29 0x00007f8a6ad930e7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x11aab08, m=m@entry=0x7f8a6afad7a0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#30 0x00007f8a6ae123b0 in QTimer::timeout(QTimer::QPrivateSignal) (this=this@entry=0x11aab08) at .moc/moc_qtimer.cpp:197
#31 0x00007f8a6ad9f198 in QTimer::timerEvent(QTimerEvent*) (this=0x11aab08, e=<optimized out>) at kernel/qtimer.cpp:247
#32 0x00007f8a6ad93763 in QObject::event(QEvent*) (this=0x11aab08, e=<optimized out>) at kernel/qobject.cpp:1261
#33 0x00007f8a6b6589dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0xf34ec0, receiver=receiver@entry=0x11aab08, e=e@entry=0x7ffe7d7da620) at kernel/qapplication.cpp:3716
#34 0x00007f8a6b65dea6 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe7d7da850, receiver=0x11aab08, e=0x7ffe7d7da620) at kernel/qapplication.cpp:3499
#35 0x00007f8a6ad63d7b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe7d7da850, receiver=0x11aab08, event=event@entry=0x7ffe7d7da620) at kernel/qcoreapplication.cpp:965
#36 0x00007f8a6adb930d in QTimerInfoList::activateTimers() (event=0x7ffe7d7da620, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#37 0x00007f8a6adb930d in QTimerInfoList::activateTimers() (this=0xf7d458) at kernel/qtimerinfo_unix.cpp:637
#38 0x00007f8a6adb70b0 in QEventDispatcherUNIX::activateTimers() (this=this@entry=0xf66990) at kernel/qeventdispatcher_unix.cpp:549
#39 0x00007f8a6adb7b26 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xf66990, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#40 0x00007f8a561ffa1d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#41 0x00007f8a6ad6150a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe7d7da770, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#42 0x00007f8a6ad695ec in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#43 0x00007f8a6b09dd1c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1530
#44 0x00007f8a6b654e15 in QApplication::exec() () at kernel/qapplication.cpp:2976
#45 0x00007f8a6caa5564 in kdemain(int, char**) (argc=1, argv=0x7ffe7d7da9b8) at ../main_x11.cpp:308
#46 0x00007f8a6c6f6a40 in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=3, argv=0x7ffe7d7da9b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe7d7da9a8) at libc-start.c:289
#47 0x00000000004007d9 in _start ()

Possible duplicates by query: bug 355096, bug 354164, bug 353914, bug 353748, bug 353525.

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-03-15 09:42:55 UTC
Qt 5.6 is supposed to fix this.

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