[xml] segmentation fault in xmlDocDumpMemory()



Hi All,
 
    Problem:
        Libxml2 crashes when xmlDocDumpMemory() is called. Following is the error message
         [Program received signal SIGSEGV, Segmentation fault. 0x4207a453 in strlen () from /lib/tls/libc.so.6]
 
    Description of the crash:
        I had created my own xml library using LIBXML2 APIs. i.,e written wrapper over LIBXML2 APIs.
        When i use tried to save the xml data, segmentation fault occurs in xmlDocDumpMemory () api.
        
        If I directly call the xml wrapper api (wrapper around xmlDocDumpMemory), it is working fine.
        If I call the same xml wrapper api as a part of the library (created using xml wrapper api), crash is observed.       
 
    Plz help me in resolving this issue.
 
    Thanks in advance for the help.
       
Thanks,
Sai Reddy

 

 

 

 

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]