public inbox for [email protected]  
help / color / mirror / Atom feed
From: Joe Conway <[email protected]>
To: Andres Freund <[email protected]>
To: [email protected]
Subject: Re: Optionally using a better backtrace library?
Date: Sun, 2 Jul 2023 16:34:40 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On 7/2/23 14:31, Andres Freund wrote:
> Nice things about libbacktrace are that the generation of stack traces is
> documented to be async signal safe on most platforms (with a #define to figure
> that out, and a more minimal safe version always available) and that it
> supports a wide range of platforms:
> 
> https://github.com/ianlancetaylor/libbacktrace
>    As of October 2020, libbacktrace supports ELF, PE/COFF, Mach-O, and XCOFF
>    executables with DWARF debugging information. In other words, it supports
>    GNU/Linux, *BSD, macOS, Windows, and AIX. The library is written to make it
>    straightforward to add support for other object file and debugging formats.
> 
> 
> The state I currently have is very hacky, but if there's interest in
> upstreaming something like this, I could clean it up.

+1
Seems useful!

-- 
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com







view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Optionally using a better backtrace library?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox