[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] java EXCEPTION_ACCESS_VIOLATION
From: |
glpk xypron |
Subject: |
Re: [Bug-glpk] java EXCEPTION_ACCESS_VIOLATION |
Date: |
Mon, 14 Jun 2010 01:41:54 +0200 |
Hello Christos,
> My java application reports an EXCEPTION_ACCESS_VIOLATION after running
> for
> several minutes and solving using glpk4.43 several IP problems.
>
> Can you please suggest reasons why this happens?
You provided the following trace:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J org.gnu.glpk.GLPKJNI.doubleArray_setitem(JID)V
j org.gnu.glpk.GLPK.doubleArray_setitem(Lorg/gnu/glpk/SWIGTYPE_p_double;ID)V+6
j val_nrp.SolveCutDay.Solve2Day(II)I+736
J val_nrp.SolveCutDay.Solve2Cut()Z
j val_nrp.Solver.solveMedium(DZZZ)V+402
j views.TestApp.scenario15()V+410
j views.TestApp.launch()V+489
j views.TestApp.main([Ljava/lang/String;)V+26
v ~StubRoutines::call_stub
The error occured in method org.gnu.glpkGLPK.doubleArray_setitem
called from val_nrp.SolveCutDay.Solve2Day.
EXCEPTION_ACCESS_VIOLATION means that you try to write to a memory
location that currently is not assigned to your program to hold
data.
The error will occur if the provided index is outside the assigned
range, or the element you are writing to is no longer assigned.
If any error occurs inside the GLPK library all memory assigned by
GLPK will be released and program will be aborted. Starting with
GLPK-Java 1.0.13 you can catch an error in the GLPK library as a
Java exception. In this case all objects created by GLPK will be
invalid.
Best regards
Xypron
--
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl