[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1304: fastcgi egg segfaults with SIGUSR1
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1304: fastcgi egg segfaults with SIGUSR1 |
Date: |
Fri, 08 Jul 2016 16:17:42 -0000 |
#1304: fastcgi egg segfaults with SIGUSR1
------------------------+---------------------
Reporter: bcaine | Owner:
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: extensions | Version: 4.11.0
Keywords: |
------------------------+---------------------
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.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1304>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1304: fastcgi egg segfaults with SIGUSR1,
Chicken Trac <=