Yes, compiz sends -KILL to the process. After talking with Matthew about this some more, I think you're right, Marc. We should implement this as follows for the first iteration:
- The application hangs for X seconds. - Compiz launches apport with the pid as an argument. - A dialog pops up explaining the application has hung: https://wiki.ubuntu.com/ErrorTracker#app-hang - The user presses either the Force Close or Relaunch button. - The process gets a -SEGV from apport, which then waits for the core dump through the regular core pipe mechanism. It does this while continuing to run so that it can remember that the specified pid is a hang not a regular SEGV. This means that we cannot do something fancy like Wait Chain Traversal: http://msdn.microsoft.com/en-us/library/windows/desktop/ms681622(v=vs.85).aspx But we can always re-evaluate our approach if we find we need a living, ptrace-able process at the point of generating the report file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1006398 Title: Bypassing ptrace restrictions for errors from hanging applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/whoopsie-daisy/+bug/1006398/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
