perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hansen ...@ngmedia.com>
Subject [MP2] 1.999024 fails on OS X
Date Fri, 13 May 2005 07:16:26 GMT

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x014563fc in S_mess_alloc ()

(gdb) bt
#0  0x014563fc in S_mess_alloc ()
#1  0x014566e8 in Perl_vmess ()
#2  0x014571dc in Perl_vcroak ()
#3  0x014576b8 in Perl_croak_nocontext ()
#4  0x007dd9c8 in modperl_global_cleanup ()
#5  0x006a3f60 in run_cleanups (cref=0x1806228) at apr_pools.c:1952
#6  0x006a35f4 in apr_pool_clear (pool=0xbffffa1c) at apr_pools.c:694
#7  0x0000ac34 in main (argc=11, argv=0xbffffc40) at main.c:575

Looks like I'm hitting the same problem that Philippe M. Chiasson 
reported last month, 
http://article.gmane.org/gmane.comp.apache.mod-perl/18408

I'm using trunk, revision: 169956. With 1.999.21 all tests passes, so 
guess something changed in the namespace change.


Please let me know if I can be at further assistance.

Regards
Christian Hansen




1. Problem Description:

2. Used Components and their Configuration:

*** mod_perl version 1.999024

*** using /Users/chansen/src/mod_perl-2.0/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
   MP_APR_LIB     => aprext
   MP_APXS        => /usr/local/apache2/bin/apxs
   MP_COMPAT_1X   => 1
   MP_GENERATE_XS => 1
   MP_LIBNAME     => mod_perl
   MP_USE_DSO     => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.53
Server built:   May  6 2005 06:36:06
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/prefork"
  -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="/usr/local/apache2"
  -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
  -D DEFAULT_PIDLOG="logs/httpd.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="logs/accept.lock"
  -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/usr/local/lib -laprutil-0 -lgdbm -ldb-4.2 -lexpat -liconv
  -L/usr/local/lib -lapr-0 -lresolv  -lpthread



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
   Platform:
     osname=darwin, osvers=7.4.0, archname=darwin-thread-multi-2level
     uname='darwin mundus.corp.ngmedia.net 7.4.0 darwin kernel version 
7.4.0: wed may 12 16:58:24 pdt 2004; 
root:xnuxnu-517.7.7.obj~7release_ppc power macintosh powerpc '
     config_args='-ds -e -des -Dusethreads -Duseshrplib 
-Dperladmin=ch@ngmedia.com -Dcf_email=ch@ngmedia.com'
     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=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include',
     optimize='-Os',
     cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include'
     ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 
1495)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib
     libs=-lgdbm -ldbm -ldb -ldl -lm -lc
     perllibs=-ldl -lm -lc
     libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, 
libperl=libperl.dylib
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup 
-L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT
   Built under darwin
   Compiled at Aug  4 2004 19:13:41
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /usr/local/lib/perl5/5.8.5/darwin-thread-multi-2level
     /usr/local/lib/perl5/5.8.5
     /usr/local/lib/perl5/site_perl/5.8.5/darwin-thread-multi-2level
     /usr/local/lib/perl5/site_perl/5.8.5
     /usr/local/lib/perl5/site_perl/5.8.4/darwin-thread-multi-2level
     /usr/local/lib/perl5/site_perl/5.8.4
     /usr/local/lib/perl5/site_perl/5.8.3/darwin-thread-multi-2level
     /usr/local/lib/perl5/site_perl/5.8.3
     /usr/local/lib/perl5/site_perl/5.8.2/darwin-thread-multi-2level
     /usr/local/lib/perl5/site_perl/5.8.2
     /usr/local/lib/perl5/site_perl
     .

*** Packages of interest status:

Apache2         : -
Apache2::Request: -
CGI             : 3.05
LWP             : 5.76, 5.800, 5.803
mod_perl        : -
mod_perl2       : -


3. This is the core dump trace: (if you get a core dump):

This report was generated by t/REPORT on Fri May 13 06:52:50 2005 GMT.


Mime
View raw message