You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Sharon Kohen <Sh...@mintech.co.il> on 2000/07/31 18:57:53 UTC

Crash during parsing unvalid message on Sun platform

Hi,

I'm using xereces-c libraries version 1.2
On solaris 2.6  
During parsing an invalid xml document, the parser crash (core dump
generated).
The stack is:
 XMLScanner::scanProlog(0x47d748, 0xef75bae4, 0x1, 0xef74a3e0, 0xef796934,
0xef7968e4)
 XMLScanner::scanDocument(0x47d740, 0x44bfb0, 0x0, 0x4805c8, 0x47d740,
0xee623180)
 DOMParser::parse(0x579920, 0x44bfb0, 0xef75bae4, 0x0, 0x44bfb0, 0x579920) 


		Thanks in advance Sharon.

                                                
                                            


Re: Crash during parsing unvalid message on Sun platform

Posted by Bala Ayres <ba...@XSeLlence.com>.
One place to look - if you're using XMLString - i was told by an expert
in this group to free such memory allocated by XMLString
So if you have code that uses XMLString - that may be something to look
into.

BAyres
Xsellence Inc

Sharon Kohen wrote:

>
>
> Hi,
>
> I'm using xereces-c libraries version 1.2
> On solaris 2.6
> During parsing an invalid xml document, the parser crash (core dump
> generated).
> The stack is:
>  XMLScanner::scanProlog(0x47d748, 0xef75bae4, 0x1, 0xef74a3e0,
> 0xef796934, 0xef7968e4)
>  XMLScanner::scanDocument(0x47d740, 0x44bfb0, 0x0, 0x4805c8, 0x47d740,
> 0xee623180)
>  DOMParser::parse(0x579920, 0x44bfb0, 0xef75bae4, 0x0, 0x44bfb0,
> 0x579920)
>
>                 Thanks in advance Sharon.
>
>
>

Re: Crash during parsing unvalid message on Sun platform

Posted by Joe Polastre <jp...@apache.org>.
Crash during parsing unvalid message on Sun platformcould you please post the document that you were parsing?  this allows us to debug the situation.

-Joe Polastre  (jpolast@apache.org)
IBM Cupertino, XML Technology Group

  ----- Original Message ----- 
  From: Sharon Kohen 
  To: xerces-c-dev@xml.apache.org 
  Sent: Monday, July 31, 2000 9:57 AM
  Subject: Crash during parsing unvalid message on Sun platform


  Hi, 

  I'm using xereces-c libraries version 1.2 
  On solaris 2.6  
  During parsing an invalid xml document, the parser crash (core dump generated). 
  The stack is: 
   XMLScanner::scanProlog(0x47d748, 0xef75bae4, 0x1, 0xef74a3e0, 0xef796934, 0xef7968e4) 
   XMLScanner::scanDocument(0x47d740, 0x44bfb0, 0x0, 0x4805c8, 0x47d740, 0xee623180) 
   DOMParser::parse(0x579920, 0x44bfb0, 0xef75bae4, 0x0, 0x44bfb0, 0x579920) 



                  Thanks in advance Sharon.