Summary

fastcgi egg segfaults with SIGUSR1

Metadata

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.

Changes and comments

[2016-07-08 22:57:03 UTC] bcaine changed status from new to closed

[2016-07-08 22:57:03 UTC] bcaine set resolution to fixed