Alan Burlison <[EMAIL PROTECTED]> writes:
> $ LD_PRELOAD='/home2/web/apache_1.3.9/libexec/libperl.so \
> /home1/software/perl/debug/lib/5.00503/sun4-solaris/CORE/libperl.so'
> ./httpd
> $
>
> hey presto! A working httpd.
Excellent!
> Obviously this is just a workaround - the
> real fix is to
$ 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/sparc
"Frank D. Cringle" wrote:
> Apache reloads itself during initial startup, to ensure that possible
> configuration errors that might cause problems later (e.g. when
> rotating logs) are caught as soon as possible. The combination of
> this procedure with mod_perl and certain operating systems lea
"Frank D. Cringle" wrote:
> Apache reloads itself during initial startup, to ensure that possible
> configuration errors that might cause problems later (e.g. when
> rotating logs) are caught as soon as possible. The combination of
> this procedure with mod_perl and certain operating systems lea
Alan Burlison <[EMAIL PROTECTED]> writes:
> Note that the SEGV only happens when Apache/perl/modperl are dynamically
> linked. Statically linked code behaves fine. I'm wondering if the
> mod_perl code goes down a different code path if it is dlopen'd rather
> than being statically linked.
Apach
>$ httpd -X
>Segmentation Fault(coredump)
Ouch!
>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
This is almost identical to my setup (same OS,
$ 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/sparc