FS#51654 - [lighttpd] crashes when mod_scgi is enabled

Attached to Project: Arch Linux
Opened by hamelg (hamelg) - Wednesday, 02 November 2016, 21:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 02 January 2017, 14:47 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
lighttpd crashes when mod_scgi is enabled.

Additional info:
* package version(s) : 1.4.43-1
* config and/or log files etc.

server.modules += ( "mod_scgi" )
scgi.server = (
"/RPC2" =>
("127.0.0.1" =>
(
"socket" => "/tmp/a.socket",
"check-local" => "disable",
"disable-time" => 0, # don't disable scgi if connection fails
)
)
)


Steps to reproduce:

Upgrade to the latest 1.4.43-1 and enable scgi.server.
send a http request, it crashes here :

Stack trace of thread 2153:
#0 0x00007ffbd820484c n/a (mod_scgi.so)
#1 0x000000000041fc83 plugins_call_handle_uri_clean (lighttpd)
#2 0x000000000040c93c http_response_prepare (lighttpd)
#3 0x000000000040ef0b connection_state_machine (lighttpd)
#4 0x000000000040a6a6 main (lighttpd)
#5 0x00007ffbda2ae291 __libc_start_main (libc.so.6)
#6 0x000000000040b65a _start (lighttpd)

This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 02 January 2017, 14:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  lighttpd 1.4.44-1
Comment by hamelg (hamelg) - Wednesday, 02 November 2016, 21:37 GMT Comment by Bogdan Szczurek (thebodzio) - Sunday, 13 November 2016, 22:52 GMT
Patch for this problem is trivial (as is for the similar mod_fcgi crash): https://redmine.lighttpd.net/projects/lighttpd/repository/revisions/5e3653dc5d00647d32d3553b639b0e195ec839f9/diff

It will be fixed in 1.4.44, however it's hard to tell when 1.4.44 “will be” and the bug is quite annoying and crippling at that.

Loading...