[frameworks-kcrash] [Bug 409961] Dr.Konqui doesn't report plasmashell crash when using Wayland

Harald Sitter bugzilla_noreply at kde.org
Tue Jul 23 14:08:40 BST 2019


https://bugs.kde.org/show_bug.cgi?id=409961

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned-bugs at kde.org     |faure at kde.org
             Status|NEEDSINFO                   |REPORTED
                 CC|                            |kdelibs-bugs at kde.org
         Resolution|WAITINGFORINFO              |---
            Product|drkonqi                     |frameworks-kcrash
            Version|unspecified                 |5.60.0
          Component|general                     |general

--- Comment #7 from Harald Sitter <sitter at kde.org> ---
Right, so I *think* I've found it happening, but it's not really drkonqi's
fault. What likely happens is that GIO is being used by something (in my case
discover) and GIO will trip over a filedescriptor that was closed by KCrash
before drkonqi starts. GIO has a forced fatality attached to this so
essentially plasmashell crashes while we are trying to trace the crash. I've
not really found an easy way to prevent this. 

Possibly coordinate closing with drkonqi may prevent this sort of problem. I.e.
since we now have a socket from kcrash to drkonqi we could have drkonqi tell
kcrash when it SIGSTOP'ed the process, at this point kcrash can safely close
the file descriptors without risking that a still running thread will fall over
the closed FD.
Alas, I don't really know enough about this, or even if there is a reason that
the FDs are closed before starting drkonqi.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list