[Ipopt] java ipopt dispose

Joris Kinable deus87 at gmail.com
Thu Apr 25 11:33:57 EDT 2013


Dear,

I managed to get Ipopt working on my linux system using the Java interface.
I implemented a very small test problem, which seems to be solved
correctly. The java doc mentions the following:

/*** Disposes of the natively allocated memory.
* Programmers should, for efficiency, call the dispose method when finished
* using a Ipopt object.

However, whenever I invoke the dispose() method, I get the following crash:

*** glibc detected *** /usr/lib/jvm/java-6-openjdk/bin/java: double free or
corruption (out): 0x00007fc4080e57e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7ae56)[0x7fc413ccae56]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fc413ccf13c]
[0x7fc40e653d68]

Can I fix this somehow?

br,

Joris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20130425/a26a8df8/attachment.html>


More information about the Ipopt mailing list