Possible bug in Xalan?

Daniel Leidert daniel.leidert.spam at gmx.net
Sat Jan 6 22:55:26 UTC 2007


Am Samstag, den 06.01.2007, 14:44 +0100 schrieb Arnaud Vandyck: 
> On 1/5/07, Daniel Leidert <daniel.leidert.spam at gmx.net> wrote:
> > Hello,
> >
> > I simply try to process an XML file with Xalan2/Xerces and I receive a
> > segmentation fault with Sun Java and Exceptions with GCCs GIJ. The gij
> > just says:
> >
> > Exception during runtime initialization
> >
> > Sun Java says
> >
> > #
> > # An unexpected error has been detected by HotSpot Virtual Machine:
> > #
> > #  SIGSEGV (0xb) at pc=0xb792353f, pid=20827, tid=3084638432
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode)
> > # Problematic frame:
> > # V  [libjvm.so+0x30853f]
> > #
> > # An error report file with more information is saved as hs_err_pid20827.log
> > #
> > # If you would like to submit a bug report, please visit:
> > #   http://java.sun.com/webapps/bugreport/crash.jsp
> > #
> >
> > The file is attached. What is your opinion? Where is the bug? The XML
> > file is valid (tried several files). Is it reproducible for you?
> 
> You have a lot of things in your classpath. Maybe you could try the
> same application or test class with only the xerces jars (and xalan if
> you want transformations).
> 
> Also, why do you have libgcj
> 
> [...]
> b4ad8000-b5636000 r-xs 00000000 03:43 3345035
> /usr/share/java/libgcj-src-4.1.zip
> b5670000-b5e97000 r-xs 00000000 03:43 3344179    /usr/share/java/libgcj-4.1.jar
> [...]

Kaffe was installed and it depends on libgcj7-jar (over ecj-bootstraps).
But removing the libgcj7-jar package "solves" the issue. The problem
reappears reproducibly with installing the libgcj7-jar package. So shall
I write a bug-report against the gcj-4.1 package? Does it seem to be bug
in gcj-4.1?

> And 2 different version of jaxp?
> [...]
> b5fc7000-b5ffb000 r-xs 00000000 03:43 3346275    /usr/share/java/jaxp-1.3.jar
> b5ffb000-b601c000 r-xs 00000000 03:43 3346274    /usr/share/java/jaxp-1.2.jar

openoffice.org-java-common depends on libjaxp1.2-java
Xalan2 and Xerces depend on libjaxp1.3-java (and
openoffice.org-java-common again depends on Xalan2 and Xerces)

So if openoffice.org is installed (which is the case for me), you will
have both versions of jaxp on the system.

> [...]
> and gnujaxp?
> b6413000-b64b5000 r-xs 00000000 03:43 3346259    /usr/share/java/gnujaxp-1.3.jar
> and crimson?
> b67d7000-b680a000 r-xs 00000000 03:43 3346237
> /usr/share/java/crimson-1.1.3.jar

Both are build-dependencies for the chemistry development kit.

> Maybe reducing the number of jar will do the trick.

See above. But I maybe found a minor issue. During Xalan2-run with gij I
got: WARNING: Error loading security provider gnu.crypto.jce.GnuCrypto:
java.lang.ClassNotFoundException: gnu.crypto.jce.GnuCrypto. The
debug-run logs:

> [Loaded (pre-compiled) java.awt.event.ActionListener from <no code source>]
> [Loaded (pre-compiled) java.awt.event.WindowListener from <no code source>]
> [Loaded (pre-compiled) gnu.javax.security.auth.callback.SwingCallbackHandler from <no code source>]
> WARNING: Error loading security provider gnu.crypto.jce.GnuCrypto: java.lang.ClassNotFoundException: gnu.crypto.jce.GnuCrypto
> [Loaded (pre-compiled) java.net.ResolverCache$Entry from <no code source>]
> [Loaded (pre-compiled) gnu.java.net.PlainSocketImpl$SocketInputStream from <no code source>]
> [Loaded (pre-compiled) gnu.java.net.PlainSocketImpl$SocketOutputStream from <no code source>]

Shall classpath suggest libgnucrypto-java?

Regards, Daniel




More information about the pkg-java-maintainers mailing list