How to use backtrace() safely in signal handler.

Florian Weimer fweimer@redhat.com
Mon Dec 9 16:17:00 GMT 2019


* Adhemerval Zanella:

>> What is the usual "out-of-process" practice?
>>   /proc/sys/kernel/core_pattern + abrt kind of configuration (take
>> rhel/centos distribution as an example)?
>
> The abrt afaik just setup and handle the generated core file by
> configuring the system required parameters. You will still need
> a tool to read and process the core file, gdb for instance.

No, both ABRT and systemd contain tools to performan basic analysis,
such as capturing symbolic backtraces.  without every writing the
coredump to disk (which can be very large).

Thanks,
Florian



More information about the Libc-help mailing list