scgi.debug=1 debug causes SIGSEGV if SCGI server dies
ASK QUESTIONS IN Forums:
The two offending lines are source:tags/lighttpd-1.4.15/src/mod_scgi.c@1768#L2289:
log_error_write(srv, __FILE__, __LINE__, "ssdsd", "[REPORT ME] connection was dropped after accept().reconnect() denied:", "write-offset:", hctx->wb->bytes_out, "reconnect attempts:", hctx->reconnects);
log_error_write(srv, __FILE__, __LINE__, "sdsdsd", "response not sent, request sent:", hctx->wb->bytes_out, "connection-fd:", con->fd, "scgi-fd:", hctx->fd);
In both cases the first "
d" in the format string should be an "
o". Patch attached.
Updated by jan almost 16 years ago
- Status changed from New to Fixed
- Resolution set to duplicate
duplicate of #1263
this patch has been applied in a similar fashion to other modules too which were affected in the same way.
Also available in: Atom