openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00773
[Bug 270673] Re: JVM crashes when launching java program that includes call to lp_solve 5.5
** Attachment added: "hs_err_pid13365.log"
http://launchpadlibrarian.net/17629939/hs_err_pid13365.log
--
JVM crashes when launching java program that includes call to lp_solve 5.5
https://bugs.launchpad.net/bugs/270673
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” source package in Ubuntu: New
Bug description:
When launching a self written optimization program that relies on the lpsolve 5.5 solver and its java wrapper classesthe jvm crashes:
Installation of lpsolve 5.5:
--------------------------------
I copied all relevant lpsolve 5.5 binaries to /usr/local/lib as described in the installation instructions. The folder looks like this:
drwxr-xr-x 2 root root 4096 2008-07-18 21:45 .
drwxr-xr-x 4 root root 4096 2008-08-17 10:20 ..
-rwxr-xr-x 1 root root 55523 2008-03-21 03:24 libbfp_etaPFI.so
-rwxr-xr-x 1 root root 79970 2008-03-21 03:24 libbfp_GLPK.so
-rwxr-xr-x 1 root root 118073 2008-03-21 03:24 libbfp_LUSOL.so
-rwxr-xr-x 1 root root 110484 2005-06-26 18:11 liblpsolve55j.so
-rwxr-xr-x 1 root root 611366 2008-03-21 03:22 liblpsolve55.so
-rwxr-xr-x 1 root root 124878 2008-03-21 03:24 libxli_CPLEX.so
-rwxr-xr-x 1 root root 23652 2008-03-21 03:24 libxli_DIMACS.so
-rwxr-xr-x 1 root root 111910 2008-03-21 03:24 libxli_LINDO.so
-rwxr-xr-x 1 root root 203541 2008-03-21 03:24 libxli_MathProg.so
-rwxr-xr-x 1 root root 124959 2008-03-21 03:24 libxli_XPRESS.so
-rwxr-xr-x 1 root root 607358 2008-03-21 03:24 lp_solve
Afterwards I ran "sudo ldconfig -v /usr/local/lib/lpsolve/" to register the lpsolve binaries.
Execution of the java program:
---------------------------------------
java -Djava.library.path=/usr/local/lib/lpsolve -classpath /usr/lib/jvm/java-6-sun/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun/jre/lib/management-agent.jar:/usr/lib/jvm/java-6-sun/jre/lib/plugin.jar:/usr/lib/jvm/java-6-sun/jre/lib/deploy.jar:/usr/lib/jvm/java-6-sun/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun/jre/lib/javaws.jar:/usr/lib/jvm/java-6-sun/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-6-sun/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-6-sun/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-6-sun/jre/lib/ext/sunjce_provider.jar:/home/carsten/IdeaProjects/cplexauction/out/production/CplexAuction:/home/carsten/IdeaProjects/cplexauction/lib/junit-4.4.jar:/home/carsten/IdeaProjects/cplexauction/lib/jxl.jar:/home/carsten/IdeaProjects/cplexauction/lib/commons-lang-2.4.jar:/home/carsten/IdeaProjects/cplexauction/lib/cplex.jar:/home/carsten/IdeaProjects/cplexauction/lib:/home/carsten/IdeaProjects/cplexauction/lib/joda-time-1.5.2.jar:/home/carsten/IdeaProjects/cplexauction/lib/jamon-2.7.jar:/home/carsten/IdeaProjects/cplexauction/lib/commons-math-1.2.jar:/home/carsten/IdeaProjects/cplexauction/lib/commons-collections-3.2.1.jar:/home/carsten/IdeaProjects/cplexauction/lib/lpsolve55j.jar:/home/carsten/IdeaProjects/cplexauction/lib/jakarta-oro-2.0.8.jar:/home/carsten/IdeaProjects/cplexauction/lib/commons-cli-1.1.jar:/home/carsten/idea/lib/idea_rt.jar edu.kit.iism.cplexauction.runner.RunLpSolveHeatAndPowerAllocatorKPricing data/test/test_new_structure.xls data/test/test_new_structure_result.xls
System Details:
--------------------
Description: Ubuntu 8.04.1
Release: 8.04
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Server VM (build 1.6.0_0-b11, mixed mode)
References