1. Problem Description:
Current cvs segfaults w/perl 5.8.5, not reproducible with 5.8.4:
#0 0x0000002a9682334b in Perl_safesysmalloc (size=24) at util.c:78
78 my_exit(1);
This may be an ithread-related bug in 5.8.5, not mp2.
% t/TEST -v t/directive/cmdparms.t
...
t/directive/cmdparms....request has failed (the response code was: 500)
see t/logs/error_log for more details
t/directive/cmdparms....dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
[warning] server localhost.localdomain:9500 shutdown
[ error] error running tests (please examine t/logs/error_log)
[ error] oh crap, server dumped core
% cat t/log/error_log
Thu Sep 30 18:44:34 2004] [info] mod_unique_id: using ip addr 192.168.1.5
END in modperl_extra.pl, pid=18025
END in modperl_extra.pl, pid=18025
[Thu Sep 30 18:44:36 2004] [notice] Digest: generating secret for digest authent
ication ...
[Thu Sep 30 18:44:36 2004] [notice] Digest: done
[Thu Sep 30 18:44:36 2004] [info] mod_unique_id: using ip addr 192.168.1.5
[Thu Sep 30 18:44:38 2004] [info] Child process pid=18046 is exiting
END in modperl_extra.pl, pid=18046
END in modperl_extra.pl, pid=18046
[Thu Sep 30 18:44:38 2004] [info] removed PID file /home/smoke/src/apache/modper
l-2.0/t/logs/httpd.pid (pid=18029)
[Thu Sep 30 18:44:38 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=18029
END in modperl_extra.pl, pid=18029
2. Used Components and their Configuration:
*** mod_perl version 1.9917
*** using /home/smoke/src/apache/modperl-2.0/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /home/smoke/apache/httpd-worker/bin/apxs
MP_COMPAT_1X => 1
MP_DEBUG => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_MAINTAINER => 1
MP_TRACE => 1
MP_USE_DSO => 1
*** /home/smoke/apache/httpd-worker/bin/httpd -V
Server version: Apache/2.1.0-dev
Server built: Sep 28 2004 15:52:23
Server's Module Magic Number: 20040425:1
Architecture: 64-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/home/smoke/apache/httpd-worker"
-D SUEXEC_BIN="/home/smoke/apache/httpd-worker/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** (apr|apu)-config linking info
-L/home/smoke/lib -lapr-1 -lrt -lcrypt -lpthread -ldl
-L/home/smoke/lib -laprutil-1 -lgdbm -ldb-4.2 -lexpat
*** /opt/perl/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.6.1-rc2, archname=x86_64-linux-thread-multi
uname='linux gemini 2.6.1-rc2 #17 smp sun feb 15 12:19:49 est 2004 x86_64 gnulinux
'
config_args='-Dprefix=/opt/perl -Dusethreads -Duseshrplib -Doptimize=-O2 -g-des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.4 (Debian 1:3.3.4-13)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/opt/perl/lib/5.8.5/x86_64-linux-thread-multi/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Sep 30 2004 18:20:53
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/opt/perl/lib/5.8.5/x86_64-linux-thread-multi
/opt/perl/lib/5.8.5
/opt/perl/lib/site_perl/5.8.5/x86_64-linux-thread-multi
/opt/perl/lib/site_perl/5.8.5
/opt/perl/lib/site_perl
.
*** Packages of interest status:
Apache::Request: -
CGI : 3.05
LWP : 5.800
mod_perl : -
3. This is the core dump trace: (if you get a core dump):
#0 0x0000002a9682334b in Perl_safesysmalloc (size=24) at util.c:78
78 my_exit(1);
(gdb) bt
#0 0x0000002a9682334b in Perl_safesysmalloc (size=24) at util.c:78
#1 0x0000002a9668bfeb in modperl_svptr_table_store (my_perl=0x25a5340,
tbl=0x2fc08f0, oldv=0x139d1c0, newv=0x355e1c0) at modperl_svptr_table.c:212
#2 0x0000002a96689d05 in modperl_module_config_merge (p=0x307b290, basev=0x0,
addv=0x139d1c0, type=1) at modperl_module.c:237
#3 0x0000000000428c9f in ap_merge_per_dir_configs (p=0x307b290,
base=0x580190, new_conf=0x2480590)
at /home/smoke/src/apache/httpd-2.0/server/config.c:245
#4 0x000000000044008d in ap_location_walk (r=0x356b070)
at /home/smoke/src/apache/httpd-2.0/server/request.c:1295
#5 0x000000000043ed04 in ap_process_request_internal (r=0x356b070)
at /home/smoke/src/apache/httpd-2.0/server/request.c:135
#6 0x0000000000424048 in ap_process_request (r=0x356b070)
at /home/smoke/src/apache/httpd-2.0/modules/http/http_request.c:244
#7 0x000000000041f235 in ap_process_http_connection (c=0x30799e0)
at /home/smoke/src/apache/httpd-2.0/modules/http/http_core.c:253
#8 0x0000000000432041 in ap_run_process_connection (c=0x30799e0)
at /home/smoke/src/apache/httpd-2.0/server/connection.c:42
#9 0x0000000000425419 in process_socket (p=0x3078760, sock=0x2dd6240,
my_child_num=1, my_thread_num=424, bucket_alloc=0x30799e0)
at /home/smoke/src/apache/httpd-2.0/server/mpm/worker/worker.c:520
#10 0x0000000000425b56 in worker_thread (thd=0x33702b0, dummy=0x3)
at /home/smoke/src/apache/httpd-2.0/server/mpm/worker/worker.c:856
#11 0x0000002a95e3fcab in dummy_worker (opaque=0x0)
at ../../apr/threadproc/unix/thread.c:137
#12 0x0000002a9619ae85 in pthread_start_thread () from /lib/libpthread.so.0
#13 0x0000002a964f7f70 in clone () from /lib/libc.so.6
This report was generated by t/REPORT on Thu Sep 30 22:37:53 2004 GMT.
--
Joe Schaefer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]