Hi,
Through user error (me) I was reporting the same file through
dwfl_report_offline () which currently SEGFAULTS because
__libdwfl_report_elf doesn't actually return NULL on DWFL_E_OVERLAP and
calls elf_end twice (the caller also calls elf_end on error). This patch
fixes that so that you get a NULL return and DWFL_E_OVERLAP set, giving
the application the opportunity to recover from its own failure.
Cheers,
Mark
Show replies by date