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 27550] - pcre symbol issues for apache modules
Date Mon, 23 May 2005 18:59:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27550>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27550


pkl@datatech.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From pkl@datatech.ru  2005-05-23 20:59 -------
I have applied most recent Andres' patch (id=13661) against most recent current
stable Apache - 2.0.54. Patched sources compile cleanly, but at run-time Apaches
crashes/segfaults immediately after parsing any regex in config file.

Here are some details: in my system this patch selects glibc's implementation of
regex. If there are not regexes in config file, then apache starts successfully.
If there is regex in config file, it compiles without problem. Using gdb,

(gdb) break regcomp
(gdb) r
(gdb) bt
#0  0x403bf852 in regcomp () from /lib/libc.so.6
#1  0x08071714 in ap_pregcomp (p=0x809b0a8, pattern=0x80d3bd0 "^\\.ht",
cflags=135085008) at util.c:268
#2  0x0807ca4e in filesection (cmd=0xbffff990, mconfig=0x80d3bd0, arg=0x80d3bc1
"") at core.c:1837
#3  0x0806b5f1 in invoke_cmd (cmd=0x808e2e8, parms=0xbffff990,
mconfig=0x80b59f0, args=0x80d2b90 "~ \"^\\.ht\">")
    at config.c:797
#4  0x0806bf06 in ap_walk_config (current=0x80d2b70, parms=0xbffff990,
section_vector=0x80b58e0) at config.c:1060
#5  0x0806cd2f in ap_process_config_tree (s=0x80d3bd8, conftree=0x80d3bd0,
p=0x809b0a8, ptemp=0x80d3bd0)
    at config.c:1643
#6  0x0806fa6b in main (argc=5, argv=0xbffffab4) at main.c:539

But, shortly, segfaults occurs:
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
trie_node_alloc (p=0x809b0a8, parent=0x809b518, c=95 '_') at util_filter.c:113
113                 if (c == parent->children[i].c) {
(gdb) bt
#0  trie_node_alloc (p=0x809b0a8, parent=0x809b518, c=95 '_') at util_filter.c:113
#1  0x080766a3 in register_filter (name=0x809b518 "core_in", filter_func=
      {out_func = 0x807ed90 <core_input_filter>, in_func = 0x807ed90
<core_input_filter>}, filter_init=0, ftype=0, 
    reg_filter_set=0x809b518) at util_filter.c:217
#2  0x08080611 in register_hooks (p=0x809b0a8) at core.c:4509
#3  0x0806fb4f in main (argc=5, argv=0xbffffab4) at main.c:578

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message