Issue 47816 - 23.6% of exporting/Importing 89 DocBook XML files fails if Java 5.01 enabled
Summary: 23.6% of exporting/Importing 89 DocBook XML files fails if Java 5.01 enabled
Status: CLOSED DUPLICATE of issue 48384
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: 680m93
Hardware: All Windows XP
: P2 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: jogi
QA Contact: issues@xml
URL: http://qa.openoffice.org/source/brows...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 13:18 UTC by jogi
Modified: 2005-06-20 10:00 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Java 5.01 results (65.11 KB, application/octet-stream)
2005-04-20 13:39 UTC, jogi
no flags Details
Java 1.4.2_08 results (69.16 KB, application/octet-stream)
2005-04-20 13:40 UTC, jogi
no flags Details
Testtool log using Java 1.5.0_02 (28.65 KB, text/plain)
2005-04-22 10:35 UTC, svante.schubert
no flags Details
Java class enhancing XSLT debug output (18.66 KB, text/plain)
2005-04-22 10:39 UTC, svante.schubert
no flags Details
Java class enhancing XSLT debug output (18.66 KB, text/plain)
2005-04-22 10:41 UTC, svante.schubert
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jogi 2005-04-20 13:18:28 UTC
In the DocBook Load/Save-Test where 89 DocBook XML files (in the past 120)
loaded and saved as DocBook XML files 23.6% failing if in the Office is Java
5.01 enabled and not Java 1.4.2_08 (=latest and greatest Java 1.4 version from
sun.com).
I will attach the *.res-files from the testtool which can be visualized with the
testtool application inside OOo.
Comment 1 jogi 2005-04-20 13:24:16 UTC
cc'ing: SUS, MIB

Here are the names of the failed ("General Input/Output error.") testdocs with
Java 5.01:

- Loading sect1.002.xml
- Loading section.001.xml
- Loading section.002.xml
- Loading section.003.xml
- Loading segmentedlist.001.xml
- Loading segmentedlist.002.xml
- Loading table.001.xml
- Loading table.002.xml
- Loading table.003.xml
- Loading table.004.xml
- Loading table.005.xml
- Loading table.006.xml
- Loading template.xml
- Loading toc.001.xml
- Loading ulink.001.xml
- Loading variablelist.001.xml
- Loading variablelist.002.xml
- Loading variablelist.003.xml
- Loading variablelist.004.xml
- Loading xref.001.xml
- Loading xrefstyle.001.xml
Comment 2 svante.schubert 2005-04-20 13:31:23 UTC
SUS->JSI:
Tested two sect1.002.xml and template.xml works for me on WindowsXP with Java
5.0_01 and Java 5.0_00 and SRC680_m93.
Please set under tools-options-staroffice-java
the Java Environment Variable for debugging, e.g.
-DXSLTransformer.statsfile=D:\offices\src680_m93_en-US\xslt_debug.txt
Comment 3 svante.schubert 2005-04-20 13:32:08 UTC
SUS->JSI:
Tested two sect1.002.xml and template.xml works for me on WindowsXP with Java
5.0_01 and Java 5.0_00 and SRC680_m93.
Please set under tools-options-staroffice-java
the Java Environment Variable for debugging, e.g.
-DXSLTransformer.statsfile=D:\offices\src680_m93_en-US\xslt_debug.txt
Comment 4 jogi 2005-04-20 13:39:43 UTC
Created attachment 25264 [details]
Java 5.01 results
Comment 5 jogi 2005-04-20 13:40:21 UTC
Created attachment 25265 [details]
Java 1.4.2_08 results
Comment 6 jogi 2005-04-20 13:47:15 UTC
Important: Please also try to load the exported documents! It seems to be a
problem which occours after some time and not in general.
Comment 7 svante.schubert 2005-04-22 10:33:30 UTC
SUS->LO: 
Note that  there are 21 documents have a deprecated doctype, which is not
'-//OASIS//DTD DocBook XML V4.1.2//EN' and can only be loaded as text file.

A general application error (C++ Pure Virtual Function call) occurs, when using
the test tool. Obviously Java VM shuts down, as static variabels will be
reinitialized (ie. the randam set XSLT debug output path). 
If all documents are dropped into the title bar it can not be reproduced.

Seems to be a Java problem as it does not work with JDK 1.5.0_00, JDK 1.5.0_01
but runs without error with  JDK 1.4.2_08 and JDK 1.5.0_02.

Unfortunately we are going to ship with JDK 1.5.0_01 (cp. Release Meeting
protocol 21.3).
Comment 8 svante.schubert 2005-04-22 10:35:03 UTC
Created attachment 25337 [details]
Testtool log using Java 1.5.0_02
Comment 9 svante.schubert 2005-04-22 10:39:18 UTC
Created attachment 25338 [details]
Java class enhancing XSLT debug output
Comment 10 svante.schubert 2005-04-22 10:41:31 UTC
Created attachment 25339 [details]
Java class enhancing XSLT debug output
Comment 11 svante.schubert 2005-04-22 10:43:06 UTC
SUS->JSI: Seems the test didn't run till the end, I have to repeat it over week-end.

SUS->LO: BTW seems that 'sourcebaseurl' is never provided to the XSLT processor
Comment 12 svante.schubert 2005-04-26 12:14:48 UTC
Generated two crash reports to be found under:
stack id 178395
Comment 13 lo 2005-05-24 12:47:36 UTC
It looks like this was fixed, when the memory leak in the XSLT filter was fixed
recently (see issue 48384) please confirm and close if this is the case.
Comment 14 jogi 2005-06-20 09:59:43 UTC
yes and ok.

*** This issue has been marked as a duplicate of 48384 ***
Comment 15 jogi 2005-06-20 10:00:25 UTC
verified.
Comment 16 jogi 2005-06-20 10:00:50 UTC
closing