[Rpm-maint] [rpm-software-management/rpm] 3 cleanup fixes (#359)

Panu Matilainen notifications at github.com
Tue Jun 5 08:13:29 UTC 2018


Oh, rpm doesn't do clean-up from signal handlers, that's specifically documented as being unsafe for BDB in particular. Rpm has a "signal queue" which is polled from here and there in the codepaths and that's where cleanup occurs. The race here is that the signal queue for trapping those signals for safe handling was not set up, so rpm would directly exit on signals in that window, and this makes BDB rather unhappy.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/359#issuecomment-394621697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180605/c20bfffd/attachment-0001.html>


More information about the Rpm-maint mailing list