Bug 381496 - "Replacing" kwin crashes it
Summary: "Replacing" kwin crashes it
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.10.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2017-06-21 17:33 UTC by Luca Weiss
Modified: 2018-10-28 03:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Weiss 2017-06-21 17:33:05 UTC
Application: kwin_x11 (5.10.2)

Qt Version: 5.9.0
Frameworks Version: 5.35.0
Operating System: Linux 4.11.5-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I ran "kwin_x11 --replace" from the KRunner (Alt+F2) - actually saved that into a script but I don't think that matters.
This bug doesn't break anything except that a popup with "kwin crashed" appears. After the "restart" process is complete, everything works as expected.

The crash can be reproduced sometimes.

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

Thread 5 (Thread 0x7fac5cacb700 (LWP 1499)):
#0  0x00007fac8c3b5396 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fac899cf471 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fac899d0b5e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fac8997a21a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fac8979c40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fac897a0cbd in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fac85566297 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fac8c3bf25f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fac53fff700 (LWP 27762)):
#0  0x00007fac8556c39d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fac888faac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fac888fab09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fac85566297 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fac8c3bf25f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fac70c5a700 (LWP 27698)):
#0  0x00007fac8c3b5396 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fac899cf471 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fac899d0b5e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fac8997a21a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fac8979c40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fac8342bd45 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fac897a0cbd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fac85566297 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fac8c3bf25f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fac72dd5700 (LWP 27686)):
#0  0x00007fac8c3b52bd in poll () at /usr/lib/libc.so.6
#1  0x00007fac8b49f8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fac8b4a1679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fac73eb0d49 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fac897a0cbd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fac85566297 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fac8c3bf25f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fac8c96b840 (LWP 27667)):
[KCrash Handler]
#5  0x00007fac8c305670 in raise () at /usr/lib/libc.so.6
#6  0x00007fac8c306d00 in abort () at /usr/lib/libc.so.6
#7  0x00007fac8978c807 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fac8979b77d in QThread::~QThread() () at /usr/lib/libQt5Core.so.5
#9  0x00007fac8979b859 in QThread::~QThread() () at /usr/lib/libQt5Core.so.5
#10 0x00007fac899a803b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007fac899b19cb in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#12 0x00007fac702352e9 in KWin::X11StandalonePlatform::~X11StandalonePlatform() () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#13 0x00007fac899a803b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#14 0x00007fac899b19cb in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#15 0x00007fac8997da06 in QCoreApplication::~QCoreApplication() () at /usr/lib/libQt5Core.so.5
#16 0x00007fac8a6a6ec9 in QApplication::~QApplication() () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fac8c67e743 in  () at /usr/lib/libkdeinit5_kwin_x11.so
#18 0x00007fac8c680029 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#19 0x00007fac8c2f243a in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000000000040069a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-06-21 17:50:26 UTC
As always backtraces from Arch are useless.
Comment 2 Luca Weiss 2017-06-21 19:07:08 UTC
Just so I understand it correctly, you need information where it's "in  ()", right? Sidenote: DrKonqi rated the backtrace with 3 stars so that should probably be changed then.
Comment 3 Martin Flöser 2017-06-21 19:21:50 UTC
(In reply to Luca Weiss from comment #2)
> Just so I understand it correctly, you need information where it's "in  ()",
> right?

Yes and on Arch that's just not available. Arch is the only distribution out there which does not provide debug packages.
Comment 4 Andrew Crouthamel 2018-09-28 02:33:49 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 5 Andrew Crouthamel 2018-10-28 03:21:54 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!