-------- Forwarded Message --------
From: Albarello Nicolas <[email protected]>
To: [email protected]
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

 


Attachment: hs_err_pid7732.log
Description: hs_err_pid7732.log

Attachment: Lp.java
Description: Lp.java

Attachment: UTAgms.java
Description: UTAgms.java

_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to