|
From: | David Gabriel |
Subject: | Re: [Help-glpk] Strange crash with glpk-java |
Date: | Sun, 10 Mar 2013 12:27:33 +0100 |
I think you'll find this is a problem with the 64 bit JDK. Oracle have recommended not to use JDK1.6 past u18 with some of their products. Perhaps you could try an earlier version of JDK1.6 or JDK1.7. You could also try setting the parametes -Xmx to say 2048m and XX:maxpermsize to say 1024m.
Noting the warning:1 Options that begin with -X are non-standard (not guaranteed to be supported on all VM implementations), and are subject to change without notice in subsequent releases of the JDK.2 Options that are specified with -XX are not stable and are not recommended for casual use. These options are subject to change without notice.
They are explained here:On Thu, Mar 7, 2013, at 12:49 PM, David Gabriel wrote:Hi,I want to share with new information I get about my crash, this is the message I got:PATH_TO_JNI/libglpk_java.so.33.0.0(Java_org_gnu_glpk_GLPKJNI_new_1glp_1smcp+0xac)[0x2aaab3c0819a]Is there any body who can help me to fix it.NB: I am using glpk in java programThanks in advance.2013/3/6 David Gabriel <address@hidden>Hi all,I am facing strange crash which is not reproducing frequently but I should fix it.Kindly be informed that the same procedure (where my program crashes) works fine for previous calls (in the same program execution).I am trying to track the problem, and I find the crash is generated in this instruction :ret = GLPK.glp_simplex(lpDetourSVNE, parm);In fact, sometimes my prgram genrates one of these 2 error message:-1st message:*** glibc detected *** /usr/lib/jvm/java-6-openjdk-amd64/bin/java: malloc(): memory corruption: 0x00007fb53c024570 ***-2nd message:GLPK Simplex Optimizer, v4.4717 rows, 5 columns, 21 non-zeros## A fatal error has been detected by the Java Runtime Environment:## SIGSEGV (0xb) at pc=0x00007f190120c898, pid=17771, tid=139745381779200## JRE version: 6.0_24-b24# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)# Derivative: IcedTea6 1.11.1# Distribution: Ubuntu precise (development branch), package 6b24-1.11.1-4ubuntu2# Problematic frame:# C [libc.so.6+0x7e898]# [ timer expired, abort... ]Thanks in advance.Kind regards_______________________________________________Help-glpk mailing list-- http://www.fastmail.fm - A fast, anti-spam email service.
_______________________________________________
Help-glpk mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk
[Prev in Thread] | Current Thread | [Next in Thread] |