[Coin-discuss] Trouble with C interface: glibc memory corruption error

Andreas Waechter andreasw at watson.ibm.com
Wed May 28 11:09:11 EDT 2008


Hi Matt,

Thanks for your thoughts.  I will continue this discussion on the Ipopt 
mailing list.  Ipoptdoes not call Clp.

Cheers,

Andreas

On Wed, 28 May 2008, Matthew Galati wrote:

>
>
>> I'm working on a interface to IPOPT from the C language, but I'm running
>> into a problem that I'm having trouble debugging.
>>
>> What happens is that I'm getting a 'glibc detected' 'memory corruption
>> (fast)' error :-)
>>
>>
>>> *** glibc detected *** /home/john/ascend/test.py: malloc(): memory
>>> corruption (fast): 0x082b21c0 ***
>>> Terminated
>>>
>>
>> I added some commenting output to CreateIpoptProblem, and I found that
>> the error occurs somewhere inside the Ipopt::IpoptApplication
>> constructor called from within that function (IpStdCInterface.cpp line
>> ~100).
>>
>
>
> That error could mean many different things.
>
> Assuming Ipopt calls into Clp (I am not sure, never used it before) --
> then, it might be related to the bug I just sent that John just fixed --
> try updating Clp to trunk and see if it clears it up.
>
> Otherwise, you'll need to run valgrind or purify to get some idea on
> what is going wrong.
>
>
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>



More information about the Coin-discuss mailing list