Bug 397190 - kwin_killer_helper hangs trying to kill window
Summary: kwin_killer_helper hangs trying to kill window
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-05 20:04 UTC by undying.k
Modified: 2020-12-23 04:34 UTC (History)
3 users (show)

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


Attachments
kwin_killer_helper flamegraph (23.43 KB, image/svg)
2018-08-05 20:07 UTC, undying.k
Details
kwin_killer_helper core file (3.09 MB, application/octet-stream)
2018-08-05 20:09 UTC, undying.k
Details
.asoundrc file using which we have a problem (390 bytes, text/plain)
2018-08-05 20:34 UTC, undying.k
Details
powerdevil backtrace (7.28 KB, text/plain)
2018-08-06 12:15 UTC, undying.k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description undying.k 2018-08-05 20:04:25 UTC
Overview:
When I'm closing firefox it's not exiting and then kwin helper popups with suggestion to kill the window. After aproving window killing kwin_killer_helper hangs with 100% CPU usage.
But if I'm kill firefox simply executing "kill <firefox pid>" it exits normally and kwin_killer_helper also exits.

Steps to Reproduce:
1) Start firefox
2) Try to close it

Actual Results:
1) Firefox window still exists
2) kwin_killer_helper hangs with 100% CPU usage

Expected Results:
1) Application should be closed correctly
Comment 1 undying.k 2018-08-05 20:07:27 UTC
Created attachment 114309 [details]
kwin_killer_helper flamegraph
Comment 2 undying.k 2018-08-05 20:09:30 UTC
Created attachment 114310 [details]
kwin_killer_helper core file
Comment 3 undying.k 2018-08-05 20:34:41 UTC
Created attachment 114311 [details]
.asoundrc file using which we have a problem

I'm using custom .asoundrc which uses jackd. If I switch back to default configuration there is no problem with closing window.

jackd is launched this way:
jackd -T -d alsa
Comment 4 David Edmundson 2018-08-05 21:55:41 UTC
Can you get a back trace in gdb of kwin helper whilst its using 100% cpu
Comment 5 David Edmundson 2018-08-06 09:59:56 UTC
Oh you have. sorry.
Comment 6 David Edmundson 2018-08-06 10:01:01 UTC
So the bug is in frameworks integration adding notification with sound support to KMessageBox.

There's a port on frameworks that should fix that soon.
Comment 7 undying.k 2018-08-06 12:15:01 UTC
Btw, I've meet the same problem with org_kde_powerdevile (sorry for posting it here) but here the backtrace of thread which use 100% CPU:

Thread 7 (Thread 0x7f022c143700 (LWP 14031)):
#0  0x00007f0251f01483 in __GI___poll (fds=0x7f022c142c80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f022f55d10f in ?? () from /usr/lib64/libasound.so.2
#2  0x00007f022f59ea14 in ?? () from /usr/lib64/libasound.so.2
#3  0x00007f022f7f2d05 in ?? () from /usr/lib64/vlc/plugins/audio_output/libalsa_plugin.so
#4  0x00007f02387831c2 in ?? () from /usr/lib64/libvlccore.so.9
#5  0x00007f0238765f9c in ?? () from /usr/lib64/libvlccore.so.9
#6  0x00007f024f16f96a in start_thread (arg=0x7f022c143700) at pthread_create.c:463
#7  0x00007f0251f0d05f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 8 undying.k 2018-08-06 12:15:50 UTC
Created attachment 114321 [details]
powerdevil backtrace
Comment 9 David Edmundson 2018-08-17 12:35:45 UTC
yeah, you'll hit it with everything with a notification in any kde app.
Comment 10 Nicolas Fella 2020-11-23 00:51:29 UTC
@David did that port ever happen?

Is this still relevant?
Comment 11 Bug Janitor Service 2020-12-08 04:34:03 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
mark the bug 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 12 Bug Janitor Service 2020-12-23 04:34:28 UTC
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!