Project

General

Profile

Actions

Bug #1550

closed

segfault

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

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

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
$HTTP["host"] == "dev2.rtvslo.si" {
        server.document-root = "/var/www" 
        global {
                fastcgi.server = ( ".php" => ((
                             "bin-path" => "/usr/bin/php4-cgi",
                             "socket" => "/tmp/php.socket" 
                                ))
                 )

        $HTTP["url"] =~ "^/" {
          proxy.server = ("/trac" => ( "trac" => ( "host" => "127.0.0.1", "port" => 9000 )))
          }

        }
        $HTTP["url"] =~ "\.(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.

-- almir

Actions #1

Updated by stbuehler almost 17 years ago

Workaround for now:

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

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2277

Actions

Also available in: Atom