logo       

Re: [MP2] bug report startup and XML::LibXML: msg#00622

apache.mod-perl

Subject: Re: [MP2] bug report startup and XML::LibXML

pascal.barbedor@xxxxxxxxxxx wrote:
Hi
here is a revised complete report bug


and as suggested :
LIBXML2.DLL VERSION 2.4.26
XML::LibXML version 1.52

I've tested with libxml2-2.4.23 and XML::LibXML 1.53 on linux and it works just fine.

[...]
output ok but apache segfault

-------------------

here is a complete debug trace (this one is certified exact)

---------------------------------------------------
source in perl5.8.0\sv.c line 4020

[...]
void
Perl_sv_setpvn(pTHX_ register SV *sv, register const char *ptr, register STRLEN len)
{
register char *dptr;

SV_CHECK_THINKFIRST(sv); <<<<<line that makes the segfault
if (!ptr) {
(void)SvOK_off(sv);
return;
}

[...]
Perl_sv_setpvn(interpreter * 0x00d84344, sv * 0xabababab, const char * 0x28194f90 `string', unsigned int 0) line 4020 + 3 bytes
Perl_sv_vsetpvfn(interpreter * 0x00d84344, sv * 0xabababab,

this looks suspicious as address: 0xabababab, as you have traced it. So it could be a bug in the ActiveState's perl or is it a standard one?

const char * 0x2818fac0 `string', unsigned int 20, char * * 0x0006efe4, sv * * 0x00000000, long 0, char * 0x00000000) line 7629 + 20 bytes
Perl_vmess(interpreter * 0x00d84344, const char * 0x2818fac0 `string', char * * 0x0006efe4) line 1096 + 40 bytes
Perl_vcroak(interpreter * 0x00d84344, const char * 0x2818fac0 `string', char * * 0x0006efe4) line 1241 + 17 bytes
Perl_croak(interpreter * 0x00d84344, const char * 0x2818fac0 `string') line 1350 + 17 bytes
Perl_sv_dup(interpreter * 0x00d84344, sv * 0x0006f6e8, clone_params * 0x0006fdf0) line 9297 + 26 bytes

Though the good thing is that it happens on croak (something went wrong). So perhaps you can check why does it happen in first place. I'd at the above frame.

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise