https://issues.apache.org/bugzilla/show_bug.cgi?id=49044

           Summary: mod_lua causes segfault on some requests.
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Using Apache 2.3-HEAD and mod_lua enabled, with the following virtual server
configuration:

NameVirtualHost [fc00::1:3]:80
<VirtualHost [fc00::1:3]:80>
        ServerName      lua.roswell.area51
        ServerAdmin     [email protected]
        DocumentRoot    /home/spc/web/lua/htdocs
        CustomLog       logs/lua.roswell.area51 combined
        ErrorLog        syslog:daemon
        LuaRoot         /home/spc/web/lua   
        AddHandler      lua-script      .lua
        LuaMapHandler   /basic          /home/spc/web/lua/htdocs/test.lua
        LuaMapHandler   /filter/simple  /home/spc/web/lua/htdocs/filters.lua
handle_simple
        LuaMapHandler   ^/(\w+)_(\w+)$  /home/spc/web/lua/htdocs/$1.lua
handle_$2
        LuaHookTranslateName    htdocs/hooks.lua translate_name
        LuaHookTranslateName    htdocs/hooks.lua translate_name2
        LuaHookFixups           htdocs/hooks.lua fixups_test
        LuaPackagePath          lib/?.lua
        LuaCodeCache            stat
        LogLevel                debug
        <Directory      /home/spc/web/lua>
                Require         all granted
        </Directory>
        <Directory      /home/spc/web/lua/htdocs>
                Options         All
                AllowOverride   None
                Require         all granted
        </Directory>
</VirtualHost>

Requesting the URL "http://lua.roswell.area51/test_serverversion"; results in
the following line being logged in error_log:

[Sun Apr 04 00:52:10 2010] [notice] child pid 9065 exit signal Segmentation
fault (11)

Not all requests fail though---"http://lua.roswell.area51/basic"; does work.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to