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.

Regards,

2013/3/8 Nigel Galloway <[email protected]>

> **
> 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:
> http://indrayanblog.blogspot.co.uk/2011/03/cxv.html
> --
>  Nigel Galloway
>  [email protected]
>
>
>
> 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 program
>
> Thanks in advance.
>
> 2013/3/6 David Gabriel <[email protected]>
>
>
> 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  [libc.so.6+0x7e898]# [ timer expired, abort... ]
>
>
> Thanks in advance.
> Kind regards
>
>
>
>
>
> *_______________________________________________*
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
> -- http://www.fastmail.fm - A fast, anti-spam email service.
>
>
> _______________________________________________
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
>
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to