httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48787] New: Event MPM segfaults when trying to start or configcheck
Date Sun, 21 Feb 2010 23:10:31 GMT

           Summary: Event MPM segfaults when trying to start or
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Event MPM

I configured event mpm like so:

ServerRoot "/opt/bw"
Mutex default:logs
Listen 80
LoadModule unixd_module modules/
LoadModule serf_module modules/
LoadModule mpm_event_module modules/
LoadModule log_config_module modules/
LoadModule authz_core_module modules/
LoadModule authz_host_module modules/
LoadModule mime_magic_module modules/
LoadModule mime_module modules/
LoadModule filter_module modules/
LoadModule env_module modules/
LoadModule setenvif_module modules/
LoadModule negotiation_module modules/
LoadModule dir_module modules/
LoadModule status_module modules/
LoadModule info_module modules/
LoadModule autoindex_module modules/
LoadModule alias_module modules/
LoadModule lua_module modules/
User i.galic
Group wheel
DocumentRoot "/opt/bw/htdocs"
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all denied
DirectoryIndex index.html
<FilesMatch "^\.ht">
    Require all denied
Include etc/httpd/extra/log.conf
ErrorLog "logs/error_log"
CustomLog "logs/access_log" combined-vhosts
TypesConfig etc/httpd/mime.types
MIMEMagicFile etc/httpd/magic
Include etc/httpd/extra/httpd-mpm.conf
Include etc/httpd/extra/httpd-multilang-errordoc.conf
Include etc/httpd/extra/httpd-autoindex.conf
Include etc/httpd/extra/httpd-languages.conf
Include etc/httpd/extra/httpd-vhosts.conf
Include etc/httpd/extra/httpd-default.conf

The important part here is ``Mutex default:logs''. When trying to start, the
server get's a segmentation fault:

(gdb) bt
#0  0x00007f23b9e279aa in find_entry (ht=0x0, key=0x465960, klen=-1, val=0x0)
at tables/apr_hash.c:260
#1  0x00007f23b9e27ce4 in apr_hash_get (ht=0x0, key=0x465960, klen=-1) at
#2  0x0000000000450979 in ap_set_mutex (cmd=0x7fff2900f450, dummy=0x1c2f838,
arg=0x1c344ac "") at util_mutex.c:230
#3  0x0000000000445d6c in invoke_cmd (cmd=0x671d68, parms=0x7fff2900f450,
mconfig=0x1c2f838, args=0x1c344a0 "default:logs")
    at config.c:767
#4  0x00000000004471fb in ap_walk_config_sub (current=0x1c34460,
parms=0x7fff2900f450, section_vector=0x1c2f420)
    at config.c:1173
#5  0x00000000004472b0 in ap_walk_config (current=0x1c34460,
parms=0x7fff2900f450, section_vector=0x1c2f420) at config.c:1206
#6  0x000000000044880c in ap_process_config_tree (s=0x1c05dc0,
conftree=0x1c34460, p=0x1bfe138, ptemp=0x1c2c328)
    at config.c:1813
#7  0x0000000000426968 in main (argc=3, argv=0x7fff2900f688) at main.c:630

it fails because in server/util_mutex.c ``mxcfg_by_type'' is not set.

It only fails for event mpm, because so far ``ap_mutex_register()'' not been

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message