]> git.ipfire.org Git - thirdparty/elfutils.git/commit
PR30879: intermittent debuginfod crash with unhandled exception
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 22 Sep 2023 19:30:51 +0000 (15:30 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 22 Sep 2023 19:45:15 +0000 (15:45 -0400)
commit7f4d556ad818e25334016d567b12e084fc7b5d41
treeb15a654d0dc38d20c4a8b880e84dcd7ffbc25b3f
parentd0525debab65a3a4a35c292052f8706b90635911
PR30879: intermittent debuginfod crash with unhandled exception

Code inspection identified two places where sqlite_ps objects were
being created/used outside try/catch protection.  This patch wraps or
replaces them.

* configure.ac: Look for glibc backtrace headers.
* debuginfod.cxx (scan): New function wrapped by a try/catch loop.
  (sqlite_checkpoint_pb): Use non-exception-producing sqlite functions.
  (main, my_terminate_handler): New terminate() handler.
configure.ac
debuginfod/debuginfod.cxx