$ httpd -X
Segmentation Fault(coredump)

I thought this was the old 'apache & modperl use a different malloc'
problem, so I recompiled Perl with -Uusemymalloc, along with all the
other installed modules.  No joy - it still core dumps.  Here's the
stack trace:
(/package/SC5.0/bin/../WS5.0/bin/sparcv9/dbx) where
=>[1] boot_Data__Dumper(0x40000, 0xfef582a0, 0xfef62f54, 0x285814,
0xff0e7734, 0xfeff52f4), at 0xfefe4e0c
  [2] Perl_pp_entersub(0xfef62f1c, 0xfef582a0, 0xfef67734, 0x2857a8,
0x7, 0x33f170), at 0xfeef4dd4
  [3] Perl_runops_standard(0xfef582a0, 0xfef676f8, 0x265a20, 0xfef62f10,
0xe6, 0xfef676f8), at 0xfeeeccb0
  [4] perl_eval_sv(0xfef676f8, 0x0, 0xfef67200, 0x2, 0x2bc12c,
0xff1bdbc4), at 0xfeea33ac
  [5] perl_require_module(0x93eb0, 0x0, 0xff17597c, 0x0, 0xffbefdcc,
0x10), at 0xff13d754
  [6] perl_cmd_module(0x93d20, 0x93db8, 0x93eb0, 0xff17597c, 0xffbefb04,
0xa), at 0xff1377a4
  [7] invoke_cmd(0xff177e64, 0xffbefb04, 0x93db8, 0xffbedaab,
0xffbefb04, 0xff177e64), at 0x32790
  [8] ap_handle_command(0x6f810, 0xff177e64, 0xffbedaa0, 0x258390, 0x0,
0x93200), at 0x32b7c
  [9] ap_srm_command_loop(0x2000, 0x93200, 0x93200, 0xffbefb04,
0x2f687474, 0x2f616363), at 0x32c50
  [10] ap_process_resource_config(0x93b10, 0x893c4, 0x92640, 0x258250,
0x92668, 0x92640), at 0x32fd8
  [11] ap_read_config(0x92640, 0x258250, 0x893c4, 0x8dab8, 0x0,
0x92640), at 0x337cc
  [12] standalone_main(0x8dc00, 0x8d800, 0x8dabc, 0x260b8c, 0xb400,
0x8), at 0x3c69c
  [13] main(0x8d800, 0x8dc00, 0x2, 0x86800, 0x0, 0x0), at 0x3d05c

i.e. in the XS startup code for Data::Dumper (which *is* built with
system malloc).
Any clues or cuggestions, anyone?  Here's the rest of my config
information:
My config:

Apache 1.3.9
mod_perl 1.21
Solaris 2.7

$ cat makepl_args.modperl
APACHE_SRC=/home2/web/build/apache_1.3.9/src
EVERYTHING=1
USE_APXS=1
WITH_APXS=/home2/web/apache_1.3.9/bin/apxs

$ perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos fubar 5.7 generic_106541-08 sun4u sparc sunw,ultra-30 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-xO2', gccversion=
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE'
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Jan 12 2000 11:44:51
  @INC:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .

Thanks,

Alan Burlison

Reply via email to