Ticket #1550 (new defect)

Opened 5 months ago

Last modified 5 months ago

segfault

Reported by: almir@kiberpipa.org Assigned to: jan
Priority: normal Milestone: 1.4.20
Component: core Version: 1.4.18
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

Description

chudak:~/src/lighttpd-1.4.18# src/lighttpd -t -f /tmp/test lighttpd: ./configparser.y:19: configparser_push: Assertion `dc->context_ndx > ctx->current->context_ndx' failed. Aborted chudak:~/src/lighttpd-1.4.18# cat /tmp/test $HTTPhost? == "dev2.rtvslo.si" {

server.document-root = "/var/www" global {

fastcgi.server = ( ".php" => ((

"bin-path" => "/usr/bin/php4-cgi", "socket" => "/tmp/php.socket"

))

)

$HTTPurl? =~ "/" {

proxy.server = ("/trac" => ( "trac" => ( "host" => "127.0.0.1", "port" => 9000 ))) }

} $HTTPurl? =~ "\.(jpg|gif|png)$" {

expire.url = ( "" => "access 2 hours" )

}

}

that is compiled with no ./configure args lighttpd 1.4.18, 1.4.13-4etch4 and 1.4.11-2bpo1 simply segfault with no error message.

i also noticed if i comment out the conditional around the proxy url no seg fault occurs.

Attachments

Change History

02/18/2008 09:15:36 PM changed by stbuehler

Workaround for now:
Just don't use conditionals in global { } (i think global shouldn't be used at all ;-) )


Add/Change #1550 (segfault)




Change Properties