Re: [xml] libxml2 crash



I confirmed that get this crash running the ./libs/testapi test, and not just in my application:

 

0x008a1ba3 in strncmp () from /lib/tls/libc.so.6

#0  0x008a1ba3 in strncmp () from /lib/tls/libc.so.6

#1  0x00cce954 in __xmlParserInputBufferCreateFilename ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#2  0x00cceb22 in xmlParserInputBufferCreateFilename__internal_alias ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#3  0x00d2e5f4 in xmlParseCatalogFile__internal_alias ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#4  0x00d2fc2f in xmlFetchXMLCatalogFile ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#5  0x00d309d7 in xmlCatalogListXMLResolve ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#6  0x00d30d39 in xmlACatalogResolve__internal_alias ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#7  0x00d32add in xmlCatalogResolve__internal_alias ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#8  0x00cce09f in xmlResolveResourceFromCatalog ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#9  0x00cce202 in xmlDefaultExternalEntityLoader ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#10 0x00ccdf22 in xmlLoadExternalEntity__internal_alias ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#11 0x00cf203e in htmlCtxtReadFile__internal_alias ()

   from /cob/eng_infra/Build/libxml2-2.7.8/../install/rhel4/lib/libxml2.so.2

#12 0x08081b24 in test_HTMLparser ()

#13 0x080bfa2e in testlibxml2 ()

#14 0x080bfe48 in main ()

 

How do I fix this?

 

Thanks,

-Tom

 

Thomas Floodeen, Jr.

Mentor Graphics BSD

720.494.1133

 

From: Floodeenjr, Thomas
Sent: Friday, March 18, 2011 10:12 AM
To: 'xml gnome org'
Subject: libxml2 crash

 

 

Has anyone seen a call stack like this before?

 

#0 0x00997ba3 in strncmp () from /lib/tls/libc.so.6

#1 0xb7eda954 in __xmlParserInputBufferCreateFilename () from /space/common/linux/lib/libxml2.so.2

#2 0xb7edab22 in xmlParserInputBufferCreateFilename__internal_alias () from /space/common/linux/lib/libxml2.so.2

#3 0xb7e9afbf in xmlNewInputFromFile__internal_alias () from /space/common/linux/lib/libxml2.so.2

 

Any ideas?

 

libxml2-2.7.8 Red Hat 4u6 with gcc 4.1.2.

 

-Tom

 

Thomas Floodeen, Jr.

Mentor Graphics BSD

720.494.1133

 



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