[Coin-discuss] Problems with ipopt on OS X
Geoff Leyland
geoff_leyland at fastmail.fm
Tue Dec 14 17:04:53 EST 2010
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
More information about the Coin-discuss
mailing list