[Coin-symphony] OsiSym crashing when deleting a solver
Ted Ralphs
tkralphs at lehigh.edu
Fri Sep 1 11:43:59 EDT 2006
Hi Kish,
We should be able to fix this. Can you submit a trouble ticket for it? I
think you had already reported another item or two on the list that did
not get fixed yet. Could you put those in as well? Thanks.
https://projects.coin-or.org/SYMPHONY/newticket
Cheers,
Ted
Kish Shen wrote:
> Hi,
>
> I have been using SYMPHONY through OsiSymSolverInterface, with CLP as the linear solver.
> I am using Osi because the code can be used with other solvers (I have tested the code with
> Cbc/Clp).
>
> I get a SIGABRT when I free the OsiSymSolverInterface after trying to solve a problem
> that changes the objective coeffs and resolving the problem. I get the following warnings
> first:
>
> sym_warm_solve(): SYMPHONY can not resolve for the
> obj coeff change when reduced cost fixing is on,for now!
> sym_get_obj_val(): There is no solution!
> sym_get_col_solution(): There is no solution!
>
> and then later on, when the OsiSumSolverInterface is being deleted, the crash happens
> when OsiSymSolverInterface::~OsiSymSolverInterface() calls sym_close_environment(),
> with the message:
>
> *** glibc detected *** double free or corruption (fasttop): 0x08061ff0 ***
>
> apparently in
>
> FREE(env->best_sol.xind);
>
> in free_master_u() [in master_wrapper.c]
>
> where *env->best_sol.xind is pointing to the location:
>
> (gdb) p *env->best_sol.xind
> $1 = (int *) 0x8061ff0
>
> Does this have any to do with there not being a solution? Is there anyway around this problem?
>
> The SYMPHONY I am using is a tarball from 15 July 2006.
>
> Thanks for any help in advance!
>
> Cheers,
>
> Kish
>
>
>
> _______________________________________________
> Coin-symphony mailing list
> Coin-symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-symphony
--
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2
More information about the Symphony
mailing list