]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: print gdb hints when crashing
authorWilly Tarreau <w@1wt.eu>
Fri, 21 Jun 2024 12:04:46 +0000 (14:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 26 Jun 2024 05:43:00 +0000 (07:43 +0200)
commit8f204fa8aeadef3faea4471ba9cfd93d9d168960
tree837d8df611f5d2895756bbe08a80b0e59b174122
parent2cd52a88bee19c8948df8a71e9494d2474f05e5b
MINOR: debug: print gdb hints when crashing

To make bug reporting easier for users, when crashing, let's suggest
what to do. Typically when a BUG_ON() matches, only the current thread
is useful the vast majority of the time, while when the watchdog
triggers, all threads are interesting.

The messages are printed at the end after the dump. We may adjust these
with wiki links in the future is more detailed instructions are relevant.
include/haproxy/bug.h
src/debug.c