Summary
fastcgi egg segfaults with SIGUSR1
Metadata
- Id: 83704278dd38caf73bdaa7368d827aedfd7d6270
- Trac id: 1304
- Type: defect
- Reporter: bcaine
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: someday
- Version: 4.11.0
- Changetime: 2016-07-08 22:57:03 UTC
- Created: 2016-07-08 18:17:42 UTC
- Keywords:
Description
libfcgi has the option to gracefully terminate in response to SIGUSR1.
The fastcgi egg doesn't properly detect this case and segfaults. When it's shutting down, the FCGX_Request's out field (and probably all the fields) go to null.
This patch to fastcgi.scm fixes it:
245c245,246 < (and-let* (((callback --- > (and-let* ((_ (fcgi-request-out req)) > ((callback
The fastcgi egg is very old and the original author doesn't maintain it anymore. I would appreciate it if someone could apply this patch.