← Back to team overview

kicad-developers team mailing list archive

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

 

Hi,

I fixed the mysn bug on my branch:
* https://github.com/pointhi/kicad-source-mirror/tree/crash_report

Allowing people to enable/disable this feature sounds like a good idea.

I tried gcore on linux to create coredumps of an running process, but
because it needs root privileges it cannot simply be integrated into the
reporter (it would be possible with PolKit I think).

There also exists https://code.google.com/archive/p/google-coredumper
but it seems to be broken on newer linux systems (according to
stackoverflow)

Regards, Thomas

Am 22.09.18 um 04:05 schrieb Seth Hillbrand:
> Hi Simon-
> 
> Am Fr., 21. Sep. 2018 um 18:24 Uhr schrieb Simon Richter
> <Simon.Richter@xxxxxxxxxx <mailto:Simon.Richter@xxxxxxxxxx>>:
> 
>     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.
> 
> 
> OK, how about a CMAKE flag KICAD_CRASHREPORTER_DEFAULT=OFF/ON?  Then we
> have two command line flags
> --enable-crashreporter/--disable-crashreporter to override the default.
> 
> Thoughts?
> 
> -S
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References