Hi,<br><br> I'm using the mex interace from MATLAB to call IPOPT. One of my IPOPT calls crashes MATLAB and returns for following backtrace:<br><br>------------------------------------------------------------------------<br>
Segmentation violation detected at Thu Aug 27 12:33:26 2009<br>------------------------------------------------------------------------<br><br>Configuration:<br> MATLAB Version: 7.8.0.347 (R2009a)<br> MATLAB License: 329690<br>
Operating System: Linux 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686<br> GNU C Library: 2.9 stable<br> Window System: No active display<br> Current Visual: None<br> Processor ID: x86 Family 6 Model 13 Stepping 8, GenuineIntel<br>
Virtual Machine: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode<br> Default Encoding: UTF-8<br><br>Fault Count: 1<br><br>Register State:<br> eax = 00000000 ebx = a0f6bff4<br> ecx = 00047a38 edx = 0016c410<br>
esi = 0afe1000 edi = 9fcb4b38<br> ebp = 9fdd4008 esp = b367f3e8<br> eip = b738c896 flg = 00210246<br><br>Stack Trace:<br> [0] libc.so.6:memcpy~(1, 10, 2, 11) + 70 bytes<br><br>This error was detected while a MEX-file was running. If the MEX-file<br>
is not an official MathWorks function, please examine its source code<br>for errors. Please consult the External Interfaces Guide for information<br>on debugging MEX-files.<br><br>If it is an official MathWorks function, please<br>
follow these steps to report this problem to The MathWorks so we<br>have the best chance of correcting it:<br><br><br>________________________<br><br>Any ideas on what may be causing this problem and how to correct it ?<br>
<br>Thanks,<br><br>Rishi<br>