Possible bug in Xalan?

Arnaud Vandyck avandyck at gmail.com
Sat Jan 6 13:44:20 UTC 2007


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
[...]

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
[...]
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

Maybe reducing the number of jar will do the trick.

-- 
Arnaud Vandyck



More information about the pkg-java-maintainers mailing list