httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50117] New: startup segfault with new LogLevel syntax
Date Tue, 19 Oct 2010 20:58:00 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50117

           Summary: startup segfault with new LogLevel syntax
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: covener@gmail.com


When I use the new LogLevel syntax in VH context, I see a startup crash:

--
ServerRoot "/home/covener/SRC/httpd-trunk/built"
Listen 80
LoadModule rewrite_module modules/mod_rewrite.so
LogLevel info
<virtualhost *:80>
  ServerName localhost
  LogLevel debug rewrite:trace1
</virtualhost>
--

$ built/bin/apachectl -f conf/test.conf -t
built/bin/apachectl: line 79:   368 Segmentation fault      (core dumped)
$HTTPD "$@"
$ gdb built/bin/httpd core
...

#0  0x08093918 in ap_find_loaded_module_symbol (s=0x9ae5e10, modname=0x9ae98e0
"rewrite") at mod_so.c:342
342        modie = (ap_module_symbol_t *)sconf->loaded_modules->elts;
(gdb) where

#0  0x080990b9 in ap_find_loaded_module_symbol (s=0x855be10, modname=0x855f8e0
"rewrite") at mod_so.c:342
342        modie = (ap_module_symbol_t *)sconf->loaded_modules->elts;
(gdb) where
#0  0x080990b9 in ap_find_loaded_module_symbol (s=0x855be10, modname=0x855f8e0
"rewrite") at mod_so.c:342
#1  0x0807d279 in find_module (s=0x855be10, name=0x855f8e0 "rewrite") at
core.c:2062
#2  0x0807e224 in set_loglevel (cmd=0xbfeb3e1c, config_=0x855bff0,
arg_=0x855c260 "rewrite:trace1") at core.c:2628
#3  0x0808944c in invoke_cmd (cmd=0x80addc8, parms=0xbfeb3e1c,
mconfig=0x855bff0, args=0x855bc3c "") at config.c:933
#4  0x08089dd3 in ap_walk_config_sub (current=0x855bc00, parms=0xbfeb3e1c,
section_vector=0x855bef0) at config.c:1234
#5  0x08089e65 in ap_walk_config (current=0x855bc00, parms=0xbfeb3e1c,
section_vector=0x855bef0) at config.c:1267
#6  0x0807d680 in virtualhost_section (cmd=0xbfeb3e1c, dummy=0x854e180,
arg=0x855be08 "*:80") at core.c:2209
#7  0x08088d34 in invoke_cmd (cmd=0x80ad9f0, parms=0xbfeb3e1c,
mconfig=0x854e180, args=0x855bba0 "*:80>") at config.c:828
#8  0x08089dd3 in ap_walk_config_sub (current=0x855bb78, parms=0xbfeb3e1c,
section_vector=0x854df68) at config.c:1234
#9  0x08089e65 in ap_walk_config (current=0x855bb78, parms=0xbfeb3e1c,
section_vector=0x854df68) at config.c:1267
#10 0x0808b473 in ap_process_config_tree (s=0x854d4a0, conftree=0x855b488,
p=0x85150a8, ptemp=0x8553470) at config.c:1940
#11 0x0806ba83 in main (argc=4, argv=0xbfeb3fe4) at main.c:627

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message