in reply to Re: Weirdness with XML-Encoding-1.01
in thread Weirdness with XML-Encoding-1.01

Perhaps this is a bug in the XS interface of XML::Parser::Expat, rather than a bug in Perl?
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print
  • Comment on Re: Re: Weirdness with XML-Encoding-1.01

Replies are listed 'Best First'.
Re: Re: Re: Weirdness with XML-Encoding-1.01
by rpc (Monk) on Feb 25, 2001 at 15:22 UTC
    You're right, it's definitely a problem with the XS code.

    Program received signal SIGSEGV, Segmentation fault. doContent (parser=0x824c7a0, startTagLevel=0, enc=0x401c2bc0, s=0x824e3d1 "</prefix>\n</encmap>\n", end=0x824e3e5 "", nextPtr=0x +0) at xmlparse.c:1709 1709 xmlparse.c: No such file or directory. (gdb)
    The fact that it's only segfaulting on exit, and not immediately makes me think its munging the stack, but I don't have the xmlparse source in front of me, so it's hard to tell.