bug-classpath
[Top][All Lists]
Advanced

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

[Bug xml/29047] New: StackOverflowError when parsing large XML file with


From: elias at oddlabs dot com
Subject: [Bug xml/29047] New: StackOverflowError when parsing large XML file with validation turned on
Date: 12 Sep 2006 22:10:23 -0000

I get a StackOverflowError when trying to run the test at:

http://download.oddlabs.com/elias/classpathxml.tar.gz

The test is a larger program pruned as much as possible while still
demonstrating the stack overflow.

Steps to reproduce:
1. Use Classpath CVS HEAD
2. Use either JamVM 1.4.3 or the Jikes RVM from SVN
3. Run the run.sh script from the test.

I've noticed that turning off validation (the line containing
factory.setValidating(true)) the test will run successfully. It seems that the
validator stack depth is dependent on the number of child nodes (the <b/> nodes
in this case), which is unfortunate.


-- 
           Summary: StackOverflowError when parsing large XML file with
                    validation turned on
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: xml
        AssignedTo: dog at gnu dot org
        ReportedBy: elias at oddlabs dot com
 GCC build triplet: i686-suse-linux
  GCC host triplet: i686-suse-linux
GCC target triplet: i686-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29047





reply via email to

[Prev in Thread] Current Thread [Next in Thread]