Bug 379547 - KWin creshed when I touch of left top screen corner with mouse (desktop grid action)
Summary: KWin creshed when I touch of left top screen corner with mouse (desktop grid ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2017-05-05 09:40 UTC by Lukáš Karas
Modified: 2018-10-28 03:21 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 Lukáš Karas 2017-05-05 09:40:43 UTC
Application: kwin_x11 (5.9.4)

Qt Version: 5.7.1
Frameworks Version: 5.31.0
Operating System: Linux 4.11.0 x86_64
Distribution: Ubuntu 17.04

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

I was using my desktop as usual, when I wanted to show desktop grid, kwin crashed. 

This crash is not reproducible just after kwin_x11 restart, but when I trigger another action, 
like window presentation, followed with desktop grid, it crash... It seems to me that previous 
action keep some dirty context that affect desktop grid. But it is hard to say what it is without 
debugging...

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 0x7fa4a1550580 (LWP 28339))]

Thread 8 (Thread 0x7fa443fff700 (LWP 28380)):
#0  0x00007fa4a0f94251 in __GI_ppoll (fds=0x7fa3a8000ac8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa49e85b251 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa49e85cb4a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa49e636fe3 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa499401df5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fa49e63bc98 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa49a6946da in start_thread (arg=0x7fa443fff700) at pthread_create.c:456
#8  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 7 (Thread 0x7fa442cf1700 (LWP 28377)):
#0  0x00007fa4a0f94251 in __GI_ppoll (fds=0x7fa3ac000da8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa49e85b251 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa49e85cb4a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa49e636fe3 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa499401df5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fa49e63bc98 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa49a6946da in start_thread (arg=0x7fa442cf1700) at pthread_create.c:456
#8  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7fa44d0d3700 (LWP 28376)):
#0  0x00007fa4a0f94251 in __GI_ppoll (fds=0x7fa44406f338, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa49e85b251 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa49e85cb4a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa49e636fe3 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa499401df5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fa49e63bc98 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa49a6946da in start_thread (arg=0x7fa44d0d3700) at pthread_create.c:456
#8  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fa448be2700 (LWP 28370)):
#0  0x00007fa4a0f94251 in __GI_ppoll (fds=0x7fa3b40a39b8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa49e85b251 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa49e85cb4a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa49e636fe3 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa49e63bc98 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa49a6946da in start_thread (arg=0x7fa448be2700) at pthread_create.c:456
#7  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fa44a403700 (LWP 28349)):
#0  0x00007fa49a69a510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa49d9c52c4 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7fa49daaef20 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fa49d9c5309 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fa49a6946da in start_thread (arg=0x7fa44a403700) at pthread_create.c:456
#4  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fa463bc8700 (LWP 28345)):
#0  0x00007fa4a0f94251 in __GI_ppoll (fds=0x7fa45c000ac8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa49e85b251 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa49e85cb4a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa49e636fe3 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa499401df5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fa49e63bc98 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa49a6946da in start_thread (arg=0x7fa463bc8700) at pthread_create.c:456
#8  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fa487d58700 (LWP 28340)):
#0  0x00007fa4a0f94251 in __GI_ppoll (fds=0x7fa48000d1e8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa49e85b251 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa49e85cb4a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa49e636fe3 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa4985da5c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007fa49e63bc98 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa49a6946da in start_thread (arg=0x7fa487d58700) at pthread_create.c:456
#8  0x00007fa4a0fa017f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fa4a1550580 (LWP 28339)):
[KCrash Handler]
#6  0x00007fa49939a064 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fa499397cc2 in QQmlMetaType::qmlSingletonTypes() () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fa49936ee90 in QQmlEngine::~QQmlEngine() () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fa49936f009 in QQmlEngine::~QQmlEngine() () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fa4a0ed2270 in __run_exit_handlers (status=1, listp=0x7fa4a12595d8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#11 0x00007fa4a0ed22ca in __GI_exit (status=<optimized out>) at exit.c:105
#12 0x00007fa497fbfb05 in _XDefaultIOError () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fa486d93a5e in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007fa497fbfd3e in _XIOError () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fa497fbd058 in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fa497fbd835 in _XFlush () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007fa497fc03c5 in _XGetRequest () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007fa497fb956b in XSync () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#19 0x00007fa49707b49e in  () at /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#20 0x00007fa47fdeff9c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#21 0x00007fa47fde85a9 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#22 0x00007fa4a0b2818b in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007fa4a0b029ce in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007fa49e838313 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fa49f4e335c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fa49f4eab11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fa49e80b8a0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fa49e85eeae in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fa49e85cdba in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fa486e0f9fd in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#31 0x00007fa49e80988a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fa49e811ffc in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fa4a1268112 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#34 0x00007fa4a0eb83f1 in __libc_start_main (main=0x5602de5e47e0, argc=2, argv=0x7ffca1b88848, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffca1b88838) at ../csu/libc-start.c:291
#35 0x00005602de5e481a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-05-05 17:07:37 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install the debug packages and attach a new backtrace. Without the debug symbols we do not see where it crashes.
Comment 2 Andrew Crouthamel 2018-09-28 02:23:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-28 03:21:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!