-
Bug
-
Resolution: Fixed
-
P2
-
8u40
-
Linux x64
All the created bundles are broken, when I start the installed executable of any of them, I get the message: "Segmentation fault (core dumped)"
Log:
$ ant
Buildfile: /tmp/build.xml
fx-deploy:
No base JDK. Package will use system JRE.
Creating app bundle: /tmp/testBundlerWorkDir3177480616414704908/bundles/App1
BUILD SUCCESSFUL
Total time: 1 second
$ /tmp/testBundlerWorkDir3177480616414704908/bundles/App1/App1
Segmentation fault (core dumped)
build.xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns:fx="javafx:com.sun.javafx.tools.ant" default="fx-deploy">
<taskdef classpath="/local/jdk/lib/ant-javafx.jar" resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant"/>
<target name="fx-deploy">
<fx:deploy nativeBundles="image" outdir="/tmp/testBundlerWorkDir3177480616414704908" outfile="test" verbose="true">
<fx:resources>
<fx:fileset dir="/tmp/testBundlerWorkDir3177480616414704908/jars" includes="testFxAppWithUtil.jar,Util.jar"/>
</fx:resources>
<fx:platform/>
<fx:preferences/>
<fx:application/>
<fx:info/>
<fx:bundleArgument arg="mainJar" value="testFxAppWithUtil.jar"/>
<fx:bundleArgument arg="classpath" value="testFxAppWithUtil.jar:Util.jar"/>
</fx:deploy>
</target>
</project>
/tmp/testBundlerWorkDir3177480616414704908/jars is attached as jars.tar.gz
That can be reproduced with 64-bit Linux, but not 32-bit.
Build: 8u40 b07
Log:
$ ant
Buildfile: /tmp/build.xml
fx-deploy:
No base JDK. Package will use system JRE.
Creating app bundle: /tmp/testBundlerWorkDir3177480616414704908/bundles/App1
BUILD SUCCESSFUL
Total time: 1 second
$ /tmp/testBundlerWorkDir3177480616414704908/bundles/App1/App1
Segmentation fault (core dumped)
build.xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns:fx="javafx:com.sun.javafx.tools.ant" default="fx-deploy">
<taskdef classpath="/local/jdk/lib/ant-javafx.jar" resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant"/>
<target name="fx-deploy">
<fx:deploy nativeBundles="image" outdir="/tmp/testBundlerWorkDir3177480616414704908" outfile="test" verbose="true">
<fx:resources>
<fx:fileset dir="/tmp/testBundlerWorkDir3177480616414704908/jars" includes="testFxAppWithUtil.jar,Util.jar"/>
</fx:resources>
<fx:platform/>
<fx:preferences/>
<fx:application/>
<fx:info/>
<fx:bundleArgument arg="mainJar" value="testFxAppWithUtil.jar"/>
<fx:bundleArgument arg="classpath" value="testFxAppWithUtil.jar:Util.jar"/>
</fx:deploy>
</target>
</project>
/tmp/testBundlerWorkDir3177480616414704908/jars is attached as jars.tar.gz
That can be reproduced with 64-bit Linux, but not 32-bit.
Build: 8u40 b07