perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Przemyslaw Jaroszewski <prze...@cert.pl>
Subject [mp1] Apache gets segfault when starting after modperl upgrade.
Date Thu, 02 Oct 2003 13:40:53 GMT
Hi,

On Debian linux, fter apt-get upgrade which fetched 1.27-7 of
libapache-mod-perl, the Apache server does not start anymore (just gets
Segmentation fault). This happens only when the conf file tells it to
load perlmod:

LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so

Here's the output from gdb:

Starting program: /usr/sbin/apache
(no debugging symbols found)...(no debugging symbols found)...[New Thread
16384 (LWP 2579)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
[so on]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2579)]
0x40306b62 in boot_DynaLoader () from /usr/lib/apache/1.3/mod_perl.so
(gdb) bt
#0  0x40302b62 in boot_DynaLoader () from /usr/lib/apache/1.3/mod_perl.so
#1  0x40302a49 in boot_DynaLoader () from /usr/lib/apache/1.3/mod_perl.so
#2  0x4039fca9 in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
#3  0x40398509 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#4  0x403340c9 in Perl_call_sv () from /usr/lib/libperl.so.5.8
#5  0x403342eb in Perl_eval_sv () from /usr/lib/libperl.so.5.8
#6  0x402cf098 in perl_require_module () from
/usr/lib/apache/1.3/mod_perl.so
#7  0x402c0ed5 in perl_module_init () from /usr/lib/apache/1.3/mod_perl.so
#8  0x403c7e82 in Perl_leave_scope () from /usr/lib/libperl.so.5.8
#9  0x403c5d5c in Perl_pop_scope () from /usr/lib/libperl.so.5.8
#10 0x403326e9 in perl_parse () from /usr/lib/libperl.so.5.8
#11 0x40332092 in perl_parse () from /usr/lib/libperl.so.5.8
#12 0x402c155b in perl_startup () from /usr/lib/apache/1.3/mod_perl.so
#13 0x402c74ca in perl_cmd_module () from /usr/lib/apache/1.3/mod_perl.so
#14 0x0805530d in ?? ()
#15 0xbfffe2b0 in ?? ()
#16 0x08090164 in ?? ()
#17 0x0809ba7c in ?? ()
#18 0x080693e1 in ?? ()
#19 0x4030a6a0 in mod_perl_dummy_mutex () from /usr/lib/apache/1.3/mod_perl.so
#20 0x08092b0c in ?? ()
#21 0xbfffc1b8 in ?? ()
#22 0x080557c4 in ?? ()
#23 0x08092b0c in ?? ()
#24 0x4030a340 in mod_perl_dummy_mutex () from /usr/lib/apache/1.3/mod_perl.so
#25 0x41ffc1b8 in ?? ()
#26 0x4030a448 in mod_perl_dummy_mutex () from /usr/lib/apache/1.3/mod_perl.so
#27 0x08092b0c in ?? ()
#28 0xbfffe2b0 in ?? ()
#29 0xbfffc1f8 in ?? ()
#30 0x08055932 in ?? ()
#31 0x4030a448 in mod_perl_dummy_mutex () from
/usr/lib/apache/1.3/mod_perl.so
#32 0xbfffe2b0 in ?? ()
#33 0x08090164 in ?? ()
#34 0xbfffc226 in ?? ()
#35 0xbfffc225 in ?? ()
#36 0xbfffc210 in ?? ()
#37 0xbfffc1f8 in ?? ()
#38 0x0806983a in ?? ()

and perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.22-xfs+ti1211,
archname=i386-linux-thread-multi
    uname='linux kosh 2.4.22-xfs+ti1211 #1 wed sep 24 21:17:59 est 2003
i686 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.8.1 -Darchlib=/usr/lib/perl/5.8.1
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.8.1 -Dsitearch=/usr/local/lib/perl/5.8.1
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3
-Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh
-Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.1 -Dd_dosuid -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=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3.2 20030908 (Debian prerelease)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true,
libperl=libperl.so.5.8.1
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Sep 30 2003 20:54:48
  @INC:
    /etc/perl
    /usr/local/lib/perl/5.8.1
    /usr/local/share/perl/5.8.1
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8.1
    /usr/share/perl/5.8.1
    /usr/local/lib/site_perl
    /usr/local/lib/perl/5.8.0
    /usr/local/share/perl/5.8.0
    .

Apache: 1.3.27
mod-perl1: 1.27-7
perl: 5.8.1

Any clues?

Regards,
Przemek

Mime
View raw message