[Coin-discuss] Problems with ipopt on OS X
Stefan Vigerske
stefan at math.hu-berlin.de
Wed Dec 15 04:54:30 EST 2010
Hi,
a debug build would be helpful.
Since you get this problem with two different builds of Ipopt, I would
presume that the bug is in your code.
Stefan
Geoff Leyland wrote:
> Hi,
>
> I'm trying to write a binding from Rima to ipopt (all finished bar this problem I think) on OS X (10.6.5). I've built ipopt from source, and I've used the binary that Kipp Martin has in OS, and both exhibit the same error:
>
> lua(35669) malloc: *** error for object 0x1006296c0: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort trap
>
> $ gdb lua
> ...
> (gdb) break malloc_error_break
> Breakpoint 1 at 0x20c49ba5d4f76d
> (gdb) run difftest.lua
> ...
> lua(35988) malloc: *** error for object 0x1006296c0: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
>
> Breakpoint 1, 0x00007fff852e576d in malloc_error_break ()
> (gdb) bt
> #0 0x00007fff852e576d in malloc_error_break ()
> #1 0x00007fff8520f6e3 in free ()
> #2 0x00000001005ba6a5 in std::string::assign ()
> #3 0x00000001012cfdf0 in Ipopt::RegisteredOptions::AddStringOption1 ()
>
> I tried a debug build but still didn't get any symbols, so at the moment I can't provide the line with the error (I could try harder for this).
>
> I've had a look at AddStringOption1, but I can't see the problem. Can anyone help?
>
>
> Cheers,
> Geoff
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Coin-discuss
mailing list