[EMAIL PROTECTED] wrote:
Hi
here is a revised complete report bug
I've tested with libxml2-2.4.23 and XML::LibXML 1.53 on linux and it works just fine.and as suggested : LIBXML2.DLL VERSION 2.4.26 XML::LibXML version 1.52
[...]
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 bytesthis 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?
Perl_sv_vsetpvfn(interpreter * 0x00d84344, sv * 0xabababab,
const char * 0x2818fac0 `string', unsigned int 20, char * * 0x0006efe4, sv * * 0x00000000, long 0, char * 0x00000000) line 7629 + 20 bytesThough 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.
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
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com