perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: Config directive segfaults
Date Mon, 19 Feb 2001 00:10:41 GMT
On Sun, 18 Feb 2001, Doug MacEachern wrote:

> On Sun, 18 Feb 2001, Matt Sergeant wrote:
>  
> > If you can't find it, we'll get together at ApacheCon so you can debug it
> > direct on my box.
> 
> you don't really want to wait until then do you? :)

Well I'm not bothered for me because commenting out remove_module fixes it
for me, but I assume there's some reason you need to do more than that. I
wish I understood it - but the only docs I have for writing config
directives is the Eagle book :-)

> i'd like to fix it asap, just need to be able to reproduce it.

We could arrange for you to have root here, if you can't find a way to
repro it. I guess I can trust you not to rm -fR / :-)

> > If it helps, here's my compile recipe:
> > 
> >  $ perl Makefile.PL \
> >  > EVERYTHING=1 \
> >  > USE_APACI=1 \
> >  > DYNAMIC=1 \
> >  > APACHE_PREFIX=/opt/apache \
> >  > APACHE_SRC=../apache_1.3.12/src \
> >  > DO_HTTPD=1 \
> >  > APACI_ARGS="--enable-module=so --enable-shared=info  --enable-shared=proxy
--enable-shared=rewrite --enable-shared=log_agent"
> >  $ make
> >  $ su
> >  $ make install
> 
> did you have this working before with something < 1.25 ?

Yeah it was no trouble with mod_perl 1.24_01.

> directive handlers + LoadModule core dumped with < 1.25 for me.
> if you don't use -shared modules + LoadModule do the core dumps go away?

I don't have any LoadModules on that server.

> can you mail me your perl -V too?

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.15-4mdk, archname=i386-linux
    uname='linux updates.mandrakesoft.com 2.2.15-4mdk #1 wed may 10
15:31:30 cest 2000 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O3 -fomit-frame-pointer -fno-exceptions -fno-rtti
-pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math
-fexpensive-optimizations', gccversion=2.95.2 19991024 (release)
    cppflags='-Dbool=char -DHAS_BOOL'
    ccflags ='-Dbool=char -DHAS_BOOL'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  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): 
  Built under linux
  Compiled at Aug  7 2000 12:43:52
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    .


-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\



Mime
View raw message