You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Mark Rosens <te...@mrosens.com> on 2002/08/20 02:44:44 UTC

Bus Error running FOP on Linux/IBM

I am trying to run FOP (v0.20.4) on Linux using the JVM from IBM Developer Kit for Linux v1.3.0.  No matter which source I use (including the examples that come with the FOP distribution) I get the same error:

Command line:

fop link.fo link.pdf

Translation (from echo statement added to fop.sh):

/opt/IBMJava2-13/bin/java -classpath /home/mrosens/bin/fop/lib/xml-apis.jar:/home/mrosens/bin/fop/lib/xercesImpl-2.0.1.jar:/home/mrosens/bin/fo
p/lib/xalan-2.3.1.jar:/home/mrosens/bin/fop/lib/batik.jar:/home/mrosens/bin/fop/lib/avalon-framework-cvs-20020315.jar:/home/mrosens/bin/fop/bui
ld/fop.jar:  org.apache.fop.apps.Fop link.fo link.pdf

Result:

/home/mrosens/bin/fop/fop.sh: line 104: 30586 Bus error               $JAVACMD -classpath "$LOCALCLASSPATH" $FOP_OPTS org.apache.fop.apps.Fop "
$@"


Any suggestions?


Re: Bus Error running FOP on Linux/IBM

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Mark Rosens wrote:
> /home/mrosens/bin/fop/fop.sh: line 104: 30586 Bus error 

A bus error indicates a problem with the JVM and/or
the OS. Consult the bug lists for the JVM vendor,
ask the support if possible, perhaps raise it as
a bug.

J.Pietschmann


RE: Bus Error running FOP on Linux/IBM

Posted by Roland Neilands <rn...@pulsemining.com.au>.
Mark,

Not to sure, but here are some obvious pointers

> I am trying to run FOP (v0.20.4) on Linux using the JVM from
> IBM Developer Kit for Linux v1.3.0.  No matter which source I
> use (including the examples that come with the FOP
> distribution) I get the same error:
>
> Command line:
>
> fop link.fo link.pdf
              -pdf link.pdf
(Unless you've tinkered with the script)

Failing this
Have you set $JAVA_HOME (& CLASSPATH) correctly, and are the values shown
below what you expect?

Never used AIX, does the debug option work?:
`sh -x fop.sh link.fo -pdf link.pdf`
or add `set -x` into the script


>
> Translation (from echo statement added to fop.sh):
>
> /opt/IBMJava2-13/bin/java -classpath
> /home/mrosens/bin/fop/lib/xml-apis.jar:/home/mrosens/bin/fop/l
> ib/xercesImpl-2.0.1.jar:/home/mrosens/bin/fo
> p/lib/xalan-2.3.1.jar:/home/mrosens/bin/fop/lib/batik.jar:/hom
> e/mrosens/bin/fop/lib/avalon-framework-cvs-20020315.jar:/home/
> mrosens/bin/fop/bui
> ld/fop.jar:  org.apache.fop.apps.Fop link.fo link.pdf
            ^ extra colon, may or may not matter
>
> Result:
>
> /home/mrosens/bin/fop/fop.sh: line 104: 30586 Bus error
>         $JAVACMD -classpath "$LOCALCLASSPATH" $FOP_OPTS
> org.apache.fop.apps.Fop "
> $@"


Regards,
Roland