Re: Figure out what killed an app (rhbz#2253099)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2024-01-31 at 13:07 +0100, Milan Crha wrote:
> In such case, I might be able to catch this in gdb, right? Maybe with
> a breakpoint in the `kill` function, and any other?

Okay, I tried with the following (more variants, just in case):

   gdb evolution \
	--ex "b kill" \
	--ex "b exit" \
	--ex "b __kill" \
	--ex "b _kill" \
	--ex "b _exit" \
	--ex "b pidfd_send_signal" \
	--ex "b tkill if sig==9" \
	--ex r

and it did not catch any of these. The last lines are:

   [Thread 0x7fffd92006c0 (LWP 3086) exited]
   [New process 3080]

   Program terminated with signal SIGKILL, Killed.
   The program no longer exists.
   (gdb)

which may or may not mean it is sent by a different function, I guess.
I cannot tell how much time was between the kill signal and the "[New
process 3080]" line.

	Bye,
	Milan
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux