Skip to content

Commit

Permalink
VALID_ERROR_INFO_PTR(): add msg that marker invalid before showing ba…
Browse files Browse the repository at this point in the history
…cktrace
  • Loading branch information
rockowitz committed Jan 4, 2025
1 parent 23ac168 commit 12e9cf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/error_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#define VALID_ERROR_INFO_PTR(ptr) \
assert(ptr); \
if (memcmp(ptr->marker, ERROR_INFO_MARKER, 4) != 0) { \
DBG("Invalid ptr->marker, ptr=%p", ptr); \
show_backtrace(1); \
debug_current_traced_function_stack(false); \
} \
Expand Down

0 comments on commit 12e9cf8

Please sign in to comment.