Hi Gerald,

On Sun, Oct 02, 2005 at 05:58:42PM +0200, Gerald Richter wrote:
> > On Sat, Oct 01, 2005 at 04:07:25PM +0200, Gerald Richter wrote:
> > > > 
> > > > The log looks ok and shows that the bug is fixed.
> > > > 
> > > > Could you make a stack back trace from the segfault?
> > > 
> > > Could you try if make test works for you?
> > > 
> > > If make test segfaults, run make testgdb to get the stackbacktrace
> > 
> > make test works - all tests successful. My example segfaults 
> > from the commandline every time, but trying to run it under 
> > perl -d ends in a hang rather than a segfault:
> 
> I will release Embperl 2.0.1 today or tomorrow. Please retry with this
> version, before we continue otherwise

Retried with Embperl 2.0.1 - same behaviour. The example.html now
produces the desired output ('2 + 2 = 4') and then segfaults after 
that. Backtrace follows:

(gdb) bt
#0  XS_XML__Embperl__DOM__Tree_iCheckpoint (my_perl=0x9e13008, cv=0x9f3d3a8) at 
DOM.xs:258
#1  0x008c80a5 in Perl_pp_entersub () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#2  0x008ab82a in Perl_runops_debug () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#3  0x00860759 in Perl_call_sv () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#4  0x008603e3 in Perl_call_sv () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#5  0x001357e4 in EMBPERL2_CallStoredCV (r=0x9fba2b4, sArg=0x0, pSub=0x0, 
numArgs=1, pArgs=0xbfff86f0, 
    flags=0, pRet=0xbfff86fc) at epeval.c:759
#6  0x00152567 in embperl_Execute2 (r=0x9fba2b4, xSrcDomTree=1, pCV=0xa03db80, 
pResultDomTree=0x0)
    at epcomp.c:1851
#7  0x001526fe in embperl_Execute (r=0x9fba2b4, xSrcDomTree=0, pCV=0x0, 
pResultDomTree=0x9fba428)
    at epcomp.c:1964
#8  0x00155f8e in ProviderEpRun_GetContentIndex (r=0x9fba2b4, 
pProvider=0x9e2d4b0, pData=0x9fba428, 
    bUseCache=0 '\0') at epprovider.c:1780
#9  0x00154692 in Cache_GetContentIndex (r=0x9fba2b4, pItem=0x9e2b920, 
pData=0x9fba428, 
    bUseCache=0 '\0') at epcache.c:1025
#10 0x0012dd04 in ProcessFile (r=0x9fba2b4, nFileSize=0) at epmain.c:1283
#11 0x0012e69e in embperl_RunRequest (r=0x9fba2b4) at epmain.c:1362
#12 0x0012e8eb in embperl_ExecuteRequest (my_perl=0x9e13008, pApacheReqSV=0x0, 
pPerlParam=0x0)
    at epmain.c:1465
#13 0x00123a1c in XS_Embperl__Req_ExecuteRequest (my_perl=0x9e13008, 
cv=0x9f3c3e8) at Embperl.xs:136
#14 0x008c80a5 in Perl_pp_entersub () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#15 0x008ab82a in Perl_runops_debug () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#16 0x0085f9fb in perl_run () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#17 0x0085f685 in perl_run () from 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#18 0x08049413 in main ()
(gdb) 

Please let me know if you'd like any further info. Versions again are RHEL3, 
apache 2.0.52, mod_perl 2.0.1, 
Embperl 2.0.1, perl 5.8.0, and CGI 3.10.

Cheers,
Gavin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to