Re: [xml] xmllint schema validation
- From: "Yong Chen (yongche)" <chen cisco com>
- To: <xml gnome org>
- Subject: Re: [xml] xmllint schema validation
- Date: Mon, 9 Oct 2006 18:50:11 -0700
Hi,
I'm seeing following err msgs printed out infinitely (dead loop) when
calling xmlSchemaParse() to parse a schema file, I'm attaching gdb stack
trace here too. A google search on internet shows that someone had this
problem before.
I'm using 2.6.22.
Thanks,
Yong Chen
....
regexp error : Memory allocation failed : adding transition
regexp error : Memory allocation failed : adding transition
regexp error : Memory allocation failed : adding transition
regexp error : Memory allocation failed : adding transition
regexp error : Memory allocation failed : adding transition
.....
#0 0x081ec6dd in write ()
#1 0x082cc760 in _IO_wide_data_2 ()
#2 0x08213c0e in _IO_new_file_write ()
#3 0x082128ca in new_do_write ()
#4 0x082131a4 in _IO_new_file_xsputn ()
#5 0x08209cd1 in buffered_vfprintf ()
#6 0x08205bc2 in vfprintf ()
#7 0x08169d41 in xmlGenericErrorDefaultFunc (ctx=0x82cc760,
msg=0x2d <Address 0x2d out of bounds>)
at ../../../libxml2/libxml2-2.6.22/error.c:73
#8 0x0816a39e in xmlReportError (err=0x82e72c0, ctxt=0x0,
str=0xb7c00480 "Memory allocation failed : adding transition\n",
channel=0x8169d10 <xmlGenericErrorDefaultFunc>, data=0x82cc760)
at ../../../libxml2/libxml2-2.6.22/error.c:387
#9 0x0816a8ad in __xmlRaiseError (schannel=0,
channel=0x8169d10 <xmlGenericErrorDefaultFunc>, data=0x82cc760,
ctx=0x0, nod=0x0,
domain=14, code=2, level=XML_ERR_FATAL, file=0x0, line=0,
str1=0x827beb3 "adding transition", str2=0x0, str3=0x0, int1=36,
col=0,
msg=0x8279900 "Memory allocation failed : %s\n")
at ../../../libxml2/libxml2-2.6.22/error.c:628
#10 0x0810c4cb in xmlRegexpErrMemory (ctxt=0x24,
extra=0xbfff1e90 "Memory allocation failed : adding transition\n")
at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:358
#11 0x0810e2cf in xmlRegStateAddTrans (ctxt=0xbc73530, state=0xbc73d10,
atom=0xbc86a40, target=0xbc86420, counter=-1, count=-1, nchk=36)
at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1287
#12 0x0810ec1e in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1642
#13 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#14 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#15 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#16 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
---Type <return> to continue, or q <return> to quit---
#17 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#18 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#19 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#20 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#21 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#22 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#23 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#24 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#25 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#26 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#27 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#28 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#29 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#30 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#31 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#32 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#33 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
#34 0x0810eb8a in xmlFAReduceEpsilonTransitions (ctxt=0xbc73530,
fromnr=0, tonr=36,
counter=-1) at ../../../libxml2/libxml2-2.6.22/xmlregexp.c:1628
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]