perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Haviland <>
Subject Re: Segmentation fault (11) with mod_perl 1.23...
Date Thu, 01 Jun 2000 17:11:49 GMT
Doug MacEachern wrote:

> On Thu, 25 May 2000, Mark Haviland wrote:
> > No...I was hoping to be able to use it as a DSO, but maybe I can't win
> > on this one....
> it would be worth testing a static build to confirm that the problem is
> dso related.  if it is, where to go from there i'm not sure, the dso
> troubles are supposed to have been ironed out.  can you send me your
> perl -V?

Finally - some free time to compile :).

I just got done compiling a static version mod_perl inside the httpd.
After modifying the config file to match my 'dynamic' httpd (ie. adding the
PerlRequire with a different file that has a 'use Sybase::CTlib;'
in it.), I fired it up core dump or segmentation fault.  And, I'm
now able to successfully query my db.  So, it looks like something is wrong
with DSO and perl...the dynaloader ???  Any ideas ??

Here's my perl -V:

[root@hsimrhpc1 logs]# perl -V

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-O2 -m486 -fno-strength-reduce',
gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    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 Feb  2 2000 15:35:58

View raw message