[Ipopt] Memory error

Rishi Amrit rishiamrit at gmail.com
Fri Aug 28 12:25:50 EDT 2009


Here is more of the error:

*** glibc detected *** /opt/MATLAB8/bin/glnxa64/MATLAB: malloc(): memory
corruption: 0x000000000322dac0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f15a07b7e1f]
/lib/libc.so.6(__libc_malloc+0x98)[0x7f15a07b9658]
/lib/libc.so.6[0x7f15a07a576a]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwservices.so(_Z13svOpenLogFilePKcb+0x2d)[0x7f15a1ef77cd]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwmcr.so[0x7f15a1b18058]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwmcr.so[0x7f15a1b1812a]
/lib/libpthread.so.0[0x7f15a0abc0f0]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwma57.so(ma57ed_+0x158)[0x7f159a65b0d8]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt20Ma57TSolverInterface13FactorizationEPKiS2_bi+0x2f0)[0x7f157c4c9860]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt20Ma57TSolverInterface10MultiSolveEbPKiS2_iPdbi+0x6d)[0x7f157c4c9a6d]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt16TSymLinearSolver10MultiSolveERKNS_9SymMatrixERSt6vectorINS_8SmartPtrIKNS_6VectorEEESaIS8_EERS4_INS5_IS6_EESaISC_EEbi+0x19b)[0x7f157c4c2e4b]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt18StdAugSystemSolver10MultiSolveEPKNS_9SymMatrixEdPKNS_6VectorEdS6_dPKNS_6MatrixES6_dS9_S6_dRSt6vectorINS_8SmartPtrIS5_EESaISC_EESF_SF_SF_RSA_INSB_IS4_EESaISG_EESJ_SJ_SJ_bi+0x907)[0x7f157c4b49a7]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt15AugSystemSolver5SolveEPKNS_9SymMatrixEdPKNS_6VectorEdS6_dPKNS_6MatrixES6_dS9_S6_dRS5_SA_SA_SA_RS4_SB_SB_SB_bi+0x8dc)[0x7f157c3c30bc]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt17PDFullSpaceSolver9SolveOnceEbbRKNS_9SymMatrixERKNS_6MatrixES6_S6_S6_S6_S6_RKNS_6VectorES9_S9_S9_S9_S9_S9_S9_S9_S9_ddRKNS_14IteratesVectorERSA_+0x1261)[0x7f157c46e151]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt17PDFullSpaceSolver5SolveEddRKNS_14IteratesVectorERS1_bb+0xea0)[0x7f157c474c60]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt23QualityFunctionMuOracle11CalculateMuEddRd+0xb50)[0x7f157c4892d0]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt16AdaptiveMuUpdate22UpdateBarrierParameterEv+0x697)[0x7f157c3a8797]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt14IpoptAlgorithm22UpdateBarrierParameterEv+0x6f)[0x7f157c3ec01f]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt14IpoptAlgorithm8OptimizeEb+0x3d1)[0x7f157c3f4c21]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt16IpoptApplication13call_optimizeEv+0x487)[0x7f157c2f5ee7]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEERNS1_INS_16AlgorithmBuilderEEE+0x190)[0x7f157c2fa120]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEE+0x15)[0x7f157c2fa935]
/opt/MATLAB8/ipopt370/install/lib/libipopt.so.0(_ZN5Ipopt16IpoptApplication12OptimizeTNLPERKNS_8SmartPtrINS_4TNLPEEE+0xcd)[0x7f157c2faa5d]
/opt/MATLAB8/ipopt370/Ipopt/contrib/MatlabInterface/ipopt.mexa64(mexFunction+0x352)[0x7f157c799372]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmex.so(mexRunMexFile+0x5a)[0x7f159f04b65a]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmex.so[0x7f159f048559]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmex.so[0x7f159f049935]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so(_ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+0x129)[0x7f15a19d0949]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a139c0f6]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1352155]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1352ec3]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a135593c]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1354a29]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13552f8]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13afa1a]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so(_ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+0x129)[0x7f15a19d0949]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1592ad2]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1599b31]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a159a6e5]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13e64e2]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1404263]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a140434b]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1542610]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1353bfd]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a135593c]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1354a29]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13552f8]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13afa1a]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so(_ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+0x129)[0x7f15a19d0949]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a139c0f6]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1352155]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1352ec3]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a135593c]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1354a29]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13552f8]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13afa1a]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so(_ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+0x129)[0x7f15a19d0949]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a139c0f6]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1339e1a]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13529ac]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a135593c]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a1354a29]
/opt/MATLAB8/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so[0x7f15a13552f8]
======= Memory map: ========
00400000-00402000 r-xp 00000000 08:09 196624
/opt/MATLAB8/bin/glnxa64/MATLAB
00501000-00502000 rw-p 00001000 08:09 196624
/opt/MATLAB8/bin/glnxa64/MATLAB
00f58000-00fde000 rw-p 00f58000 00:00 0
00fde000-00fe0000 rwxp 00fde000 00:00 0
00fe0000-01067000 rw-p 00fe0000 00:00 0
01067000-01068000 rwxp 01067000 00:00 0
01068000-0106f000 rw-p 01068000 00:00 0
0106f000-01071000 rwxp 0106f000 00:00 0
01071000-01095000 rw-p 01071000 00:00 0
01095000-01096000 rwxp 01095000 00:00 0
01096000-0109c000 rw-p 01096000 00:00 0
0109c000-010a0000 rwxp 0109c000 00:00 0
010a0000-010a3000 rw-p 010a0000 00:00 0
010a3000-010a4000 rwxp 010a3000 00:00 0
010a4000-010ab000 rw-p 010a4000 00:00 0
010ab000-010ac000 rwxp 010ab000 00:00 0
010ac000-010ad000 rw-p 010ac000 00:00 0
010ad000-010af000 rwxp 010ad000 00:00 0
010af000-010b4000 rw-p 010af000 00:00 0
010b4000-010b6000 rwxp 010b4000 00:00 0
010b6000-010bb000 rw-p 010b6000 00:00 0
010bb000-010bc000 rwxp 010bb000 00:00 0
010bc000-010c7000 rw-p 010bc000 00:00 0
010c7000-010c8000 rwxp 010c7000 00:00 0
010c8000-010ca000 rw-p 010c8000 00:00 0
010ca000-010cc000 rwxp 010ca000 00:00 0
010cc000-010d4000 rw-p 010cc000 00:00 0
010d4000-010d5000 rwxp 010d4000 00:00 0
010d5000-010d7000 rw-p 010d5000 00:00 0
010d7000-010d8000 rwxp 010d7000 00:00 0
010d8000-010e2000 rw-p 010d8000 00:00 0
010e2000-010e4000 rwxp 010e2000 00:00 0
010e4000-01103000 rw-p 010e4000 00:00 0
01103000-01106000 rwxp 01103000 00:00 0
01106000-0110b000 rw-p 01106000 00:00 0
0110b000-0110c000 rwxp 0110b000 00:00 0
0110c000-0111d000 rw-p 0110c000 00:00 0
0111d000-0111e000 rwxp 0111d000 00:00 0
0111e000-01120000 rw-p 0111e000 00:00 0
01120000-01122000 rwxp 01120000 00:00 0
01122000-0112c000 rw-p 01122000 00:00 0
0112c000-0112d000 rwxp 0112c000 00:00 0
0112d000-0115a000 rw-p 0112d000 00:00 0
0115a000-0115e000 rwxp 0115a000 00:00 0
0115e000-01164000 rw-p 0115e000 00:00 0
01164000-01165000 rwxp 01164000 00:00 0
01165000-01168000 rw-p 01165000 00:00 0
01168000-01169000 rwxp 01168000 00:00 0
01169000-0117a000 rw-p 01169000 00:00 0
0117a000-0117b000 rwxp 0117a000 00:00 0
0117b000-01183000 rw-p 0117b000 00:00 0
01183000-01184000 rwxp 01183000 00:00 0
01184000-0118c000 rw-p 01184000 00:00 0
0118c000-01192000 rwxp 0118c000 00:00 0
01192000-0119b000 rw-p 01192000 00:00 0
0119b000-0119c000 rwxp 0119b000 00:00 0
0119c000-011a4000 rw-p 0119c000 00:00 0
011a4000-011a6000 rwxp 011a4000 00:00 0
011a6000-011b0000 rw-p 011a6000 00:00 0
011b0000-011b1000 rwxp 011b0000 00:00 0
011b1000-011dd000 rw-p 011b1000 00:00 0
011dd000-011de000 rwxp 011dd000 00:00 0
011de000-011ed000 rw-p 011de000 00:00 0
011ed000-011ee000 rwxp 011ed000 00:00 0
011ee000-01208000 rw-p 011ee000 00:00 0
01208000-01209000 rwxp 01208000 00:00 0
01209000-0120d000 rw-p 01209000 00:00 0
0120d000-0120e000 rwxp 0120d000 00:00 0
0120e000-01216000 rw-p 0120e000 00:00 0
01216000-01217000 rwxp 01216000 00:00 0
01217000-01219000 rw-p 01217000 00:00 0
01219000-0121f000 rwxp 01219000 00:00 0
0121f000-0122b000 rw-p 0121f000 00:00 0
0122b000-0122c000 rwxp 0122b000 00:00 0
0122c000-0122d000 rw-p 0122c000 00:00 0
0122d000-0122e000 rwxp 0122d000 00:00 0
0122e000-0122f000 rw-p 0122e000 00:00 0
0122f000-01230000 rwxp 0122f000 00:00 0
01230000-01236000 rw-p 01230000 00:00 0
01236000-01238000 rwxp 01236000 00:00 0
01238000-01239000 rw-p 01238000 00:00 0
01239000-0123a000 rwxp 01239000 00:00 0
0123a000-012a2000 rw-p 0123a000 00:00 0
012a2000-012a3000 rwxp 012a2000 00:00 0
012a3000-012a8000 rw-p 012a3000 00:00 0
012a8000-012a9000 rwxp 012a8000 00:00 0
012a9000-012b2000 rw-p 012a9000 00:00 0
012b2000-012b3000 rwxp 012b2000 00:00 0
012b3000-012c2000 rw-p 012b3000 00:00 0
012c2000-012c6000 rwxp 012c2000 00:00 0
012c6000-012ca000 rw-p 012c6000 00:00 0
012ca000-012cb000 rwxp 012ca000 00:00 0
012cb000-012ce000 rw-p 012cb000 00:00 0
012ce000-012cf000 rwxp 012ce000 00:00 0
012cf000-012d6000 rw-p 012cf000 00:00 0
012d6000-012d7000 rwxp 012d6000 00:00 0
012d7000-012d8000 rw-p 012d7000 00:00 0
012d8000-012d9000 rwxp 012d8000 00:00 0
012d9000-012ea000 rw-p 012d9000 00:00 0
012ea000-012eb000 rwxp 012ea000 00:00 0
012eb000-012f0000 rw-p 012eb000 00:00 0
012f0000-012f1000 rwxp 012f0000 00:00 0
012f1000-012f3000 rw-p 012f1000 00:00 0
012f3000-012f4000 rwxp 012f3000 00:00 0
012f4000-012f5000 rw-p 012f4000 00:00 0
012f5000-012f6000 rwxp 012f5000 00:00 0
012f6000-012f9000 rw-p 012f6000 00:00 0
012f9000-012fa000 rwxp 012f9000 00:00 0
012fa000-012fc000 rw-p 012fa000 00:00 0
012fc000-012fe000 rwxp 012fc000 00:00 0
012fe000-01307000 rw-p 012fe000 00:00 0
01307000-01308000 rwxp 01307000 00:00 0
01308000-01312000 rw-p 01308000 00:00 0
01312000-01313000 rwxp 01312000 00:00 0
01313000-01319000 rw-p 01313000 00:00 0
01319000-0131a000 rwxp 01319000 00:00 0
0131a000-0133a000 rw-p 0131a000 00:00 0
0133a000-0133b000 rwxp 0133a000 00:00 0
0133b000-01343000 rw-p 0133b000 00:00 0
01343000-01344Aborted




On Thu, Aug 27, 2009 at 12:39 PM, Rishi Amrit <rishiamrit at gmail.com> wrote:

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


More information about the Ipopt mailing list