You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2005/10/01 16:07:25 UTC
RE: Embperl::Object::Execute segfault
>
> 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
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl::Object::Execute segfault
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
> 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
Could you make sure that you inlcude the parameter debug => 0x7ffffff in
your call to Execute and send the resulting embperl.log file to me
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl::Object::Execute segfault
Posted by Gavin Carr <ga...@openfusion.com.au>.
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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl::Object::Execute segfault
Posted by Gerald Richter <ri...@ecos.de>.
>
> 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
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl::Object::Execute segfault
Posted by Gavin Carr <ga...@openfusion.com.au>.
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:
calix:~/tmp/embperl-object-execute$ perl -d /usr/bin/embpexec.pl execute.html
Loading DB routines from perl5db.pl version 1.19
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
NonStop = '1'
Embperl::__1::_ep_main1(/export/home/gavin/tmp/embperl-object-execute/execute.html:4):
4: appname => 'test',
5: debug => 0x7ffffff,
DB<1> c Embperl::__2::_ep_main2(/export/home/gavin/tmp/embperl-object-execute/_base.epl:4):
4:
DB<1> c Embperl::__3::_ep_main3(/export/home/gavin/tmp/embperl-object-execute/simple.html:4):
4:
DB<1> c 2 + 2 = 4
c
This never returns. Any other way I can try and get a stack back trace?
Cheers,
Gavin
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org