DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24483>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24483

mod_usertrack dumps core...on apache 2.0.48





------- Additional Comments From [EMAIL PROTECTED]  2003-11-11 20:49 -------
Similar behavior exists in version 1.3.29 (Solaris 7); "CookieTracking On" with 
no "CookieName" results in a SIGSEGV.  Explicitly setting CookieName as 
suggested in "Additional Comments From Manni Wood 2003-11-07 16:55" appears to 
be a successful workaround for 1.3.29 as well.

#
# Debugger trace of mod_usertrack segfault on apache 1.3.29, Solaris 7
# ("CookieTracking on", no CookieName set in httpd.conf
#
Breakpoint 1, spot_cookie (r=0xe7950) at mod_usertrack.c:295
295         cookie_dir_rec *dcfg = ap_get_module_config(r->per_dir_config,
#
#
# show cookie_dir_rec
#
#
(gdb) print *dcfg
$8 = {enabled = 1, style = CT_NETSCAPE, format = CF_NORMAL, 
  cookie_name = 0x1 <Address 0x1 out of bounds>, 
  cookie_domain = 0x1 <Address 0x1 out of bounds>, 
  prefix_string = 0x190 <Address 0x190 out of bounds>, regexp_string = 0x0, 
regexp = 0x0}
#
#
# Step further ...
#
#
(gdb) s
301         if (!dcfg->enabled) {
(gdb) s
305         if ((cookie_header = ap_table_get(r->headers_in,
(gdb) s
309             if (!ap_regexec(dcfg->regexp, cookie_header, NUM_SUBS, regm, 
0)) {
#
#
# Show parameters passed to ap_regexec.  cookie_header appears
# to hold data; dcfg->regexp is a null pointer
#
#
(gdb) print cookie_header
$9 = 0xe7360 "Apache=172.19.30.174.114851068582299525"
(gdb) print dcfg->regexp
$11 = (regex_t *) 0x0
#
#
# Stepping into ap_regexec ...
#
#
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0xff1e88e0 in __regexec_C () from /usr/lib/libc.so.1
#
#
# show backtrace
#
#
#
(gdb) bt
#0  0xff1e88e0 in __regexec_C () from /usr/lib/libc.so.1
#1  0x4412c in ap_regexec ()
#2  0xfe591090 in spot_cookie (r=0xe7950) at mod_usertrack.c:309
#3  0x20130 in run_method ()
#4  0x20290 in ap_run_fixups ()
#5  0x409e4 in process_request_internal ()
#6  0x40f90 in ap_internal_redirect ()
#7  0x401e4 in ap_die ()
#8  0x402b8 in decl_die ()
#9  0x4069c in process_request_internal ()
#10 0x40aa0 in ap_process_request ()
#11 0x33380 in child_main ()
#12 0x3363c in make_child ()
#13 0x33858 in startup_children ()
#14 0x3431c in standalone_main ()
#15 0x34f90 in main ()


$ httpd -V

$ /d/apache/bin/httpd -V
Server version: Apache/1.3.29 (Unix)
Server built:   Nov 11 2003 10:26:38
Server's Module Magic Number: 19990320:15
Server compiled with....
 -D EAPI
 -D EAPI_MM
 -D EAPI_MM_CORE_PATH="logs/httpd.mm"
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D HAVE_FCNTL_SERIALIZED_ACCEPT
 -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
 -D HAVE_PTHREAD_SERIALIZED_ACCEPT
 -D DYNAMIC_MODULE_LIMIT=64
 -D HARD_SERVER_LIMIT=2048
 -D HTTPD_ROOT="/d/apache-1.3.29-20031117"
 -D SUEXEC_BIN="/d/apache-1.3.29-20031117/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to