← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Print stacktrace when SIGSEGV or SIGABRT appears

 

Hi,

On 22.09.2018 02:12, Seth Hillbrand wrote:

>>    It will need a way to turn it off.

> Say a command-line switch? e.g --disable-crashreporter

The distro maintainers probably need a compile time option for apport,
I'd prefer that as well because I don't have to remember it when starting.

> YMMV but I do find stack traces to be useful, especially when tracking
> hard to reproduce issues.

I'm not fundamentally opposed to having such a function, but for me it's
making things harder, not easier.

> Yes, I agree that a coredump provides more
> information but there are relatively few users that have been able to
> successfully generate a coredump file for a bug report.    Having a
> window pop up that gives the user a text based error report and
> optionally a coredump (wxDebugReport::AddDump()) would be enormously
> helpful.  I really like the idea of allowing in-situ bug reporting.

wxDebugReport::AddDump() only works on Windows with dbghlp32.dll installed.

On Linux with systemd, people should be able to use coredumpctl to
retrieve the coredump file.

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References