[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Strange crash with glpk-java

From: David Gabriel
Subject: Re: [Help-glpk] Strange crash with glpk-java
Date: Sun, 10 Mar 2013 12:27:33 +0100

Hi all,

I want to share with you the fix of my bug.
It was the advice of Heinrich Schuchardt :
In my source code I used this instruction :
ind = GLPK.new_intArray(columnSize);
But the I should use ind = GLPK.new_intArray(columnSize+1); because the index 0 is not used.


2013/3/8 Nigel Galloway <address@hidden>
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.
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:
Nigel Galloway
On Thu, Mar 7, 2013, at 12:49 PM, David Gabriel wrote:
I want to share with new information I get about my crash, this is the message I got:
Is there any body who can help me to fix it.
NB: I am using glpk in java program
Thanks 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.47
17 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  []# [ timer expired, abort... ]
Thanks in advance.
Kind regards
Help-glpk mailing list
-- - A fast, anti-spam email service.

Help-glpk mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]