Doug MacEachern <[EMAIL PROTECTED]> writes:

> > perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/sbin/apxs EVERYTHING=1
> 
> probably a long shot, but any difference if you build with USE_DSO=1
> instead of USE_APXS ?

My apologies for taking so long to reply -- it's been a busy week.
>From a clean apache_1.3.12 and mod_perl-1.23 tree, running:
  perl Makefile.PL APACHE_SRC=../apache_1.3.12/src DO_HTTPD=1 \
    USE_APACI=1 USE_DSO=1 EVERYTHING=1
  make
  make test

results in almost all of the tests failing.  When I try to start the
server manually (using the same parameters as 'make test' gives it),
it gets SIGSEGV while parsing the httpd config files.  A backtrace
from gdb shows:

(gdb) bt
#0  _dl_debug_state () at dl-debug.c:56
#1  0x4000a3eb in _dl_catch_error (errstring=0xbfffc034, 
    operate=0x40148d20 <dl_open_worker>, args=0xbfffc038) at dl-error.c:141
#2  0x401490cd in _dl_open (
    file=0x866cc20 
"/usr/local/lib/perl5/5.6.0/i686-linux-thread-multi-64all/auto/IO/IO.so", mode=1, 
caller=0xbfffc034) at dl-open.c:232
#3  0x4006a063 in dlopen_doit (a=0xbfffc148) at dlopen.c:41
#4  0x4000a3eb in _dl_catch_error (errstring=0x4006bd00, 
    operate=0x4006a038 <dlopen_doit>, args=0xbfffc148) at dl-error.c:141
#5  0x4006a549 in _dlerror_run (operate=0x4006a038 <dlopen_doit>, 
    args=0xbfffc148) at dlerror.c:125
#6  0x4006a023 in __dlopen_check (
    file=0x866cc20 
"/usr/local/lib/perl5/5.6.0/i686-linux-thread-multi-64all/auto/IO/IO.so", mode=1) at 
dlopen.c:53
#7  0x401b09e9 in XS_DynaLoader_dl_load_file ()
   from 
/usr/local/stow/apache/1.3.12/src/mod_perl-1.23/t/../../apache_1.3.12/src/modules/perl/libperl.so
[... much Perl internals elided ...]
#54 0x40171257 in perl_cmd_require ()
   from 
/usr/local/stow/apache/1.3.12/src/mod_perl-1.23/t/../../apache_1.3.12/src/modules/perl/libperl.so
#55 0x806b67e in invoke_cmd ()
#56 0x806bb01 in ap_handle_command ()
#57 0x806bb9d in ap_srm_command_loop ()
#58 0x806bff4 in ap_process_resource_config ()
#59 0x806c8f8 in ap_read_config ()
#60 0x8076570 in standalone_main ()
#61 0x8076e9c in main ()
#62 0x400841eb in __libc_start_main (main=0x8076b04 <main>, argc=6, 
    argv=0xbffffc54, init=0x804e3cc <_init>, fini=0x8093b64 <_fini>, 
    rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffc4c)
    at ../sysdeps/generic/libc-start.c:90

and t/logs/error_log contains:

[notice] END block called for startup.pl
[notice] Destruction->DESTROY called for $global_object

(I'm not sure if that's an error or just diagnostics; it looks like
the latter.  If the SEGV is unrelated to it, I could continue hunting
down the error given hints on what to look for.  But not all is lost
-- see my reply to your other email.)

Michael

Reply via email to