Re: Getting backtrace of a process

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

 



On Mon, 14 Jun 2021 20:40:57 +0530, hemanth nandish said:

> As per my understanding, the *do_coredump* kills the faulty process inside
> *coredump_wait*  function before invoking the userspace handler,
> This might be the reason the libunwind fails to gather the backtrace as it
> uses PTRACE calls.
>
> Is there any way to overcome this without modifying the kernel code?

You might want to look at how gdb implements stuff like 'thread apply all bt',
which works just fine on a coredump.

Attachment: pgpLia1AEUyD5.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux