kdeinit freezes on Wayland in OOM protection

Michael Pyne mpyne at kde.org
Wed Dec 16 02:20:08 UTC 2015


On Tue, December 15, 2015 09:05:52 Martin Gräßlin wrote:
> >> If the kill() call *is* reached then perhaps SIGUSR1 is
> >> unintentionally masked
> >> in the 'grandchild' process (the child of kdeinit about to be
> >> exec()'d).
> >> Perhaps something in the wayland/kwin/weston/x11 library interaction
> >> blocks
> >> SIGUSR1 from being received in that case?
> 
> good news: I found the reason. It was KWin blocking SIGUSR through
> pthread_sigmask and passing it to the child processes created through
> QProcess. By reimplementing setupChildProcess I was able to fix the
> problem.
> 
> Thanks a lot for pointing me in the right direction!

\o/

:)

Regards,
 - Michael Pyne


More information about the Kde-frameworks-devel mailing list