[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libsigsegv] libsigsegv
From: |
Bruno Haible |
Subject: |
Re: [bug-libsigsegv] libsigsegv |
Date: |
Sun, 31 Mar 2019 23:43:22 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Jonny Grant wrote:
> Would be good if there was a simple example and an example of the kind
> of output we could expect. At the moment it just looks like test files.
The files tests/sigsegv1.c and tests/stackoverflow1.c are simple
fully working examples. Other than that, please refer to README and sigsegv.h.
> Something with a backtrace of a SEGV would be handy..
When there is a SIGSEGV, the gdb stack trace is most often inaccurate.
The only reliable information that you get is
- the fault address,
- the information whether it's a stack overflow or not.
Bruno