Bug 369318 - Crash when an application showing the starting borderless window crashes
Summary: Crash when an application showing the starting borderless window crashes
Status: RESOLVED DUPLICATE of bug 317765
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-25 11:12 UTC by Jaime Torres
Modified: 2016-10-04 07:43 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 Jaime Torres 2016-09-25 11:12:55 UTC
Application: kwin_x11 (5.7.4)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.7.3-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Starting a java application that shows a borderless centered window while starting (I do not remember the english name for that kind of windows) that crashes just before creating/showing the main window.

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7fb888e23700 (LWP 16667)):
#0  0x00007fb94005210f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb88f9965a3 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007fb88f995ce7 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007fb94004c454 in start_thread (arg=0x7fb888e23700) at pthread_create.c:333
#4  0x00007fb9474ed3ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7fb8978c8700 (LWP 16626)):
#0  0x00007fb944b65640 in QEventDispatcherUNIXPrivate::initThreadWakeUp() (this=this@entry=0x7fb8900008e0) at kernel/qeventdispatcher_unix.cpp:268
#1  0x00007fb944b66d1a in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fb8900008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:189
#2  0x00007fb944b6726a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fb8900008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#3  0x00007fb944b116fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fb8978c7c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007fb9449373c3 in QThread::exec() (this=this@entry=0x2856cc0) at thread/qthread.cpp:500
#5  0x00007fb93eb7e0a5 in QQmlThreadPrivate::run() (this=0x2856cc0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/ftw/qqmlthread.cpp:141
#6  0x00007fb94493c2e8 in QThreadPrivate::start(void*) (arg=0x2856cc0) at thread/qthread_unix.cpp:341
#7  0x00007fb94004c454 in start_thread (arg=0x7fb8978c8700) at pthread_create.c:333
#8  0x00007fb9474ed3ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fb924954700 (LWP 16522)):
#0  0x00007fb94005210f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb943ac67f4 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7fb943dafec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb943ac6839 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb94004c454 in start_thread (arg=0x7fb924954700) at pthread_create.c:333
#4  0x00007fb9474ed3ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fb925a17700 (LWP 16514)):
#0  0x00007fb9474e5cd3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb944b652af in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=14, fdread=fdread@entry=0x7fb91c000a78, fdwrite=fdwrite@entry=0x7fb91c000d08, fdexcept=fdexcept@entry=0x7fb91c000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fb944b66d54 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fb91c000f98, writefds=0x7fb91c000d08, readfds=0x7fb91c000a78, nfds=<optimized out>, this=0x7fb91c0008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fb944b66d54 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fb91c0008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fb944b6726a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fb91c0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fb944b116fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fb925a16c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb9449373c3 in QThread::exec() (this=this@entry=0x2bd9ed0) at thread/qthread.cpp:500
#7  0x00007fb93eb7e0a5 in QQmlThreadPrivate::run() (this=0x2bd9ed0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007fb94493c2e8 in QThreadPrivate::start(void*) (arg=0x2bd9ed0) at thread/qthread_unix.cpp:341
#9  0x00007fb94004c454 in start_thread (arg=0x7fb925a17700) at pthread_create.c:333
#10 0x00007fb9474ed3ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fb927fff700 (LWP 16474)):
#0  0x00007fb9474e5cd3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb944b652af in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=9, fdread=fdread@entry=0x7fb920000a78, fdwrite=fdwrite@entry=0x7fb920000d08, fdexcept=fdexcept@entry=0x7fb920000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fb944b66d54 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fb920000f98, writefds=0x7fb920000d08, readfds=0x7fb920000a78, nfds=<optimized out>, this=0x7fb9200008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fb944b66d54 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fb9200008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fb944b6726a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fb9200008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fb944b116fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fb927ffec50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb9449373c3 in QThread::exec() (this=this@entry=0x7fb93dfc6d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007fb93dd53985 in QDBusConnectionManager::run() (this=0x7fb93dfc6d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007fb94493c2e8 in QThreadPrivate::start(void*) (arg=0x7fb93dfc6d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007fb94004c454 in start_thread (arg=0x7fb927fff700) at pthread_create.c:333
#10 0x00007fb9474ed3ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fb92dfa6700 (LWP 16471)):
#0  0x00007fb9474e46ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb9466743f0 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fb92dfa5b80) at /usr/include/bits/poll2.h:46
#2  0x00007fb9466743f0 in _xcb_conn_wait (c=c@entry=0x25edbb0, cond=cond@entry=0x25edbf0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007fb946676189 in xcb_wait_for_event (c=0x25edbb0) at xcb_in.c:693
#4  0x00007fb92ea567a9 in QXcbEventReader::run() (this=0x2600bc0) at qxcbconnection.cpp:1325
#5  0x00007fb94493c2e8 in QThreadPrivate::start(void*) (arg=0x2600bc0) at thread/qthread_unix.cpp:341
#6  0x00007fb94004c454 in start_thread (arg=0x7fb92dfa6700) at pthread_create.c:333
#7  0x00007fb9474ed3ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fb947b1b940 (LWP 16468)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007fb94703369d in KWin::Workspace::constrainedStackingOrder() (this=this@entry=0x26c83c0) at /usr/src/debug/kwin-5.7.4/layers.cpp:514
#8  0x00007fb947033e36 in KWin::Workspace::updateStackingOrder(bool) (this=0x26c83c0, propagate_new_clients=<optimized out>) at /usr/src/debug/kwin-5.7.4/layers.cpp:120
#9  0x00007fb947034140 in KWin::Workspace::blockStackingUpdates(bool) (this=this@entry=0x26c83c0, block=block@entry=false) at /usr/src/debug/kwin-5.7.4/layers.cpp:622
#10 0x00007fb946ff44b8 in KWin::Client::destroyClient() (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/src/debug/kwin-5.7.4/workspace.h:634
#11 0x00007fb946ff44b8 in KWin::Client::destroyClient() (this=this@entry=0x511d7f0) at /usr/src/debug/kwin-5.7.4/client.cpp:288
#12 0x00007fb947041d6a in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) (this=0x511d7f0, e=<optimized out>) at /usr/src/debug/kwin-5.7.4/events.cpp:815
#13 0x00007fb947045333 in KWin::Client::windowEvent(xcb_generic_event_t*) (this=0x511d7f0, e=e@entry=0x7fb928004430) at /usr/src/debug/kwin-5.7.4/events.cpp:655
#14 0x00007fb94704678c in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) (this=0x26c83c0, e=0x7fb928004430) at /usr/src/debug/kwin-5.7.4/events.cpp:352
#15 0x00007fb944b1083f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fb928004430, result=result@entry=0x7ffdcec7ca28) at kernel/qabstracteventdispatcher.cpp:460
#16 0x00007fb92ea58185 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x25ec4f0, event=event@entry=0x7fb928004430) at qxcbconnection.cpp:1091
#17 0x00007fb92ea5911b in QXcbConnection::processXcbEvents() (this=0x25ec4f0) at qxcbconnection.cpp:1723
#18 0x00007fb944b41c99 in QObject::event(QEvent*) (this=0x25ec4f0, e=<optimized out>) at kernel/qobject.cpp:1256
#19 0x00007fb945859acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x25ec4f0, e=0x7fb928003010) at kernel/qapplication.cpp:3804
#20 0x00007fb94585ef6f in QApplication::notify(QObject*, QEvent*) (this=0x7ffdcec7d070, receiver=0x25ec4f0, e=0x7fb928003010) at kernel/qapplication.cpp:3561
#21 0x00007fb944b139b0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x25ec4f0, event=event@entry=0x7fb928003010) at kernel/qcoreapplication.cpp:1015
#22 0x00007fb944b1593c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fb928003010, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#23 0x00007fb944b1593c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x25cf740) at kernel/qcoreapplication.cpp:1650
#24 0x00007fb944b67152 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x25cf720, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#25 0x00007fb92eacb20d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#26 0x00007fb944b116fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdcec7cf60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007fb944b19f0c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#28 0x00007fb945062b5c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1607
#29 0x00007fb945856b05 in QApplication::exec() () at kernel/qapplication.cpp:2979
#30 0x00007fb9477aca56 in kdemain(int, char**) (argc=<optimized out>, argv=0x7ffdcec7d1f8) at /usr/src/debug/kwin-5.7.4/main_x11.cpp:466
#31 0x00007fb947424291 in __libc_start_main (main=0x4006e0 <main>, argc=3, argv=0x7ffdcec7d1f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdcec7d1e8) at ../csu/libc-start.c:289
#32 0x0000000000400719 in _start () at ../sysdeps/x86_64/start.S:118

Possible duplicates by query: bug 333663, bug 326416.

Reported using DrKonqi
Comment 1 Martin Flöser 2016-10-04 07:43:39 UTC

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