bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] Re: [Help-glpk] Application crash due to assert in GLPK


From: Andrew Makhorin
Subject: [Bug-glpk] Re: [Help-glpk] Application crash due to assert in GLPK
Date: Wed, 20 Jan 2010 21:37:46 +0300

> I have been using GLPK (version 4.38) for Java for almost one year
> now. I just encontered (for the first time, fortunately) an assert
> that crashed in GLPK and that killed my whole Java application. This
> assert is located glplib10.c, line 109: xassert(xlcmp(env->t_last, t)
> <= 0);
> It seems to be a strange time problem, but I wonder if I can do
> something to prevent this error to occur once again in the future.
> Am I responsible for this error? Is there a way for me to be sure
> that I won #39;t run into the error again? If not, can I catch this
> type of errors in my Java application in order to treat it
> appropriately?

Thank you for the bug report.

The error occurs, because the time value computed by the routine xtime
is less than the value computed on a previous call, however, this must
never happen.

Probably it is a bug in the code.

To resolve the issue you can uncomment the old version of xtime, which
is stable (just change '#if 0' to '#if 1' in file glplib10.c).





reply via email to

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