Re: [xml] bug 362989 -- still problem -- now good news :-) --- another issue now :-(




Hi Daniel,

Seems there's one more issue with schema validation (in xmlregexp.c).
While validating a new schema (which is big, 100KB or so), my program
core dumped, the stack trace has thousands of (similar) stack frames,
shown as below.

I suspect it's caused by my schema file having lots of "minOccurs=0",
but I'll try to get some details before filing a bug.

Thanks,
Yong Chen

 
#0  0x08111b67 in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#1  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#2  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#3  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#4  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#5  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#6  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#7  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#9  0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#10 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#11 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#12 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#13 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#14 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#15 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#16 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#17 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#18 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#19 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#20 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439

.......

#8485 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8486 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8487 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8488 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8489 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8490 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa733d20,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
#8491 0x08111b6c in xmlFARecurseDeterminism (ctxt=0xa8ac500,
state=0xa737a80,
    to=-2, atom=0x0) at ../../../libxml2/libxml2-2.6.26/xmlregexp.c:2439
---Type <return> to continue, or q <return> to quit---



-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Thursday, November 02, 2006 1:44 PM
To: Yong Chen (yongche)
Cc: xml gnome org
Subject: Re: [xml] bug 362989 -- still problem -- now good news :-)

On Thu, Nov 02, 2006 at 10:06:46AM -0800, Yong Chen (yongche) wrote:

Hi Daniel,

Just tried the latest xmlregexp.c (recompiled 2.6.26 with 
it) and yes, 
my program terminates and reports the result 
(non-deterministic error) 
in no time, the problem is fixed :-)




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