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

Re: seg. fault during samples/XML/Store.java



Lars Martin wrote:
> 
> Hi,
> 
> Tue, 04 Apr 2000 Thomas Guettler wrote:
> >I used Store.java very often. If I use small files, it works fine,
> >but if I store bigger ones a get a seg.fault. the file looks like this:
> >
> ><doc>
> ><element id="1"/>
> >.....
> ><<element id="995"/>
> ><element id="996"/>
> ><element id="997"/>
> ><element id="998"/>
> ><element id="999"/>
> ></doc>
> >
> >Here is what I did:
> >
> >bash-2.03$ java Store big.xml
> >filename: big.xml
> >hostname: localhost
> >parse into memory time: 624 ms
> >SIGSEGV   11*  segmentation violation
> >    si_signo [11]: SIGSEGV   11*  segmentation violation
> >    si_errno [0]: Erfolg
> >    si_code [0]: SI_USER [pid: 0, uid: 0]
> >        stackpointer=0xbfffe71c
> 
> No stacktrace was printed?
Thank you, for your quick reply.

No, that was all I got. 

(bash-2.03$ java -version
java version "1.2.2"
Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit))

> We use shakespeare's poetry for testing without problems. These files are
> between 100 - 200k and have between 10,000 - 15,000 DOM nodes. Maybe other
> users have similar problems?
hmmm, very strange. can you make your testfiles available via web.
So I can try them on my machine?

> 
> >The same xml-file with 100 elements was stored without problems
> 
> Which ozone distribution do you use? Did you try another jdk?

I use the jdk1.2.2RC4 from blackdown on linux.
But I had the same problem with jdk1.1.8 on FreeBSD.

I use ozone0.4 (aka 0.4dev6). But I had the same problem
with the version before 0.4.6, too

On what plattform did you test it?

My file is available at
http://www.interface-business.de/~guettli/big.xml
if someone is interested in testing it.

Thomas