[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] [Fwd: EXCEPTION_ACCESS_VIOLATION]
From: |
Andrew Makhorin |
Subject: |
[Bug-glpk] [Fwd: EXCEPTION_ACCESS_VIOLATION] |
Date: |
Fri, 14 Jan 2011 15:03:02 +0300 |
-------- Forwarded Message --------
From: Albarello Nicolas <address@hidden>
To: address@hidden
Subject: EXCEPTION_ACCESS_VIOLATION
Date: Tue, 4 Jan 2011 10:28:15 +0100
Hi,
I developed a Java program using glpk. I saw that running the main
method several times produces a JRE crash (every 31 launches).
I debugged the method and I saw that the crash is caused by the absence
of pointers to a SWIGTYPE_p_int variable “ind”. The command “ind =
GLPK.new_intArray(Objectives.length * 2 + 1); » seems to be not executed
and thus the ind pointer is null. The val pointer is also null. I
suppose it is a matter of id of the variable.
Would you have an idea how to solve the problem?
I enclose the java code and the bug report. The error is in the UTAgms
class at line 171.
Regards,
Nicolas ALBARELLO
hs_err_pid7732.log
Description: hs_err_pid7732.log
Lp.java
Description: Lp.java
UTAgms.java
Description: UTAgms.java
- [Bug-glpk] [Fwd: EXCEPTION_ACCESS_VIOLATION],
Andrew Makhorin <=