Project

General

Profile

Actions

Bug #1176

closed

scgi.debug=1 debug causes SIGSEGV if SCGI server dies

Added by Anonymous over 17 years ago. Updated over 17 years ago.

Status:
Fixed
Priority:
Low
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

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);

and source:tags/lighttpd-1.4.15/src/mod_scgi.c@1768#L2539:


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.

-- andrewb


Files

p (816 Bytes) p Patch to correct the problem -- andrewb Anonymous, 2007-05-11 17:40
Actions #1

Updated by jan over 17 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.

Actions

Also available in: Atom