perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Gunton <neil.embp...@home.nilspace.com>
Subject Re: 2.x Execute crash in startup.pl
Date Mon, 11 Nov 2002 00:14:54 GMT
Ed Grimm wrote:
> Um, just a helpful pointer - you forgot to type 'BT' after you got the
> sigsegv.

Let's see, the word I'm looking for is ... D'OH!!!!!!

Thanks a lot Ed, I really should read more carefully.

Sorry for the repeated emails... anyway, here's the BT:

This GDB was configured as "i386-redhat-linux"...
(gdb) set args -f /www/conf/httpd.conf -X
(gdb) r
Starting program: /usr/local/apache/bin/httpsd -f /www/conf/httpd.conf -X
[New Thread 1024 (LWP 2326)]
$path = :/www/vhosts/www.neilgunton.com/htdocs:/www/lib/perl/Apache/
Embperl::Execute /www/vhosts/www.neilgunton.com/htdocs/body.html
[2326]ERR:  56: : Unknown Provider epcompile 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2326)]
EMBPERL2_ArrayGetSize (a=0x8af218c, pArray=0x0) at epdom.c:685
685	    return pCtrl -> nFill  ;
(gdb) BT
#0  EMBPERL2_ArrayGetSize (a=0x8af218c, pArray=0x0) at epdom.c:685
#1  0x4078c34e in embperl_CleanupRequest (r=0x8af218c) at epinit.c:1583
#2  0x40782015 in embperl_ExecuteRequest (pApacheReqSV=0x8aa1e9c,
pPerlParam=0x8af218c) at epmain.c:1397
#3  0x4077a739 in XS_Embperl__Req_ExecuteRequest (cv=0x851eee4) at Embperl.xs:85
#4  0x0814c30c in Perl_pp_entersub ()
#5  0x08146758 in Perl_runops_standard ()
#6  0x08105e74 in S_call_body ()
#7  0x08105fd1 in perl_eval_sv ()
#8  0x0808350c in perl_do_file ()
#9  0x08083551 in perl_load_startup_script ()
#10 0x0807de7d in perl_cmd_require ()
#11 0x080d9380 in invoke_cmd ()
#12 0x080d979a in ap_handle_command ()
#13 0x080d982d in ap_srm_command_loop ()
#14 0x080da01a in ap_process_resource_config ()
#15 0x080da923 in ap_read_config ()
#16 0x080e5719 in main ()
#17 0x4007b1c4 in __libc_start_main () from /lib/libc.so.6
(gdb) 

> > Gerald Richter <richter@ecos.de> wrote:
> > > it would be very helpfull if you can compile with
> > >
> > > perl Makefile.PL debug
> > > make install
> > >
> > > and then start the httpd with the -X option under gdb
> > >
> > > gdb httpd
> > > set args -f httpd.conf -X
> > > r
> > >
> > > when you get the sigsegv type BT and send me the backtrace

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message