[Ipopt-tickets] [Ipopt] #250: MATLAB crashes when IPOPT converges to machine precision

Ipopt coin-trac at coin-or.org
Wed Dec 10 15:19:25 EST 2014


#250: MATLAB crashes when IPOPT converges to machine precision
-------------------------------+------------------------
  Reporter:  drosos.kourounis  |      Owner:  ipopt-team
      Type:  defect            |     Status:  new
  Priority:  normal            |  Component:  Ipopt
   Version:  3.11              |   Severity:  major
Resolution:                    |   Keywords:
-------------------------------+------------------------

Comment (by drosos.kourounis):

 MacOSX 8, 9, 10.

 I can verify that every version after 3.11.X has this problem. It is due
 to an exception that it is thrown when the step size becomes very small.
 Here is the full trace:


 {{{
   10  5.5626323e+01 0.00e+00 5.13e-06 -11.9 2.14e-04    -  1.00e+00 9.95e-
 01f  1
   11  5.5626323e+01 0.00e+00 3.47e-15 -13.7 5.83e-06    -  1.00e+00
 1.00e+00h  1
   12  5.5626323e+01 0.00e+00 3.33e-15 -16.3 2.89e-09    -  1.00e+00
 1.00e+00h  1
   13  5.5626323e+01 0.00e+00 3.28e-15 -16.3 6.77e-16    -  1.00e+00
 1.00e+00   0
   14  5.5626323e+01 0.00e+00 3.05e-15 -16.3 1.32e-15    -  1.00e+00
 1.00e+00T  0
   15  5.5626323e+01 0.00e+00 5.75e-15 -17.0 1.18e-15    -  1.00e+00
 1.00e+00T  0
 terminate called after throwing an instance of 'Ipopt::TINY_STEP_DETECTED'

 ------------------------------------------------------------------------
               abort() detected at Wed Dec 10 21:08:45 2014
 ------------------------------------------------------------------------

 Configuration:
   Crash Decoding     : Disabled


   Current Visual     : Quartz
   Default Encoding   : US-ASCII
   MATLAB Architecture: maci64
   MATLAB Root        : /Applications/MATLAB_R2014a.app
   MATLAB Version     : 8.3.0.532 (R2014a)
   Operating System   : Darwin 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug
 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
   Processor ID       : x86 Family 6 Model 58 Stepping 9, GenuineIntel
   Virtual Machine    : Java 1.7.0_11-b21 with Oracle Corporation Java
 HotSpot(TM) 64-Bit Server VM mixed mode
   Window System      : Quartz

 Fault Count: 1


 Abnormal termination:
 abort()

 Register State (from fault):
   RAX = 000001008f83c970  RBX = 0000000000000000
   RCX = 0000000000000003  RDX = 0000000118dc3c1c
   RSP = 0000000000000016  RBP = 00007fff920d9952
   RSI = 0000000118dc3c00  RDI = 0000000118dcd000

    R8 = 0000000118dcd000   R9 = 00007f9713c8e460
   R10 = 00007f9713c51990  R11 = 0000000000000006
   R12 = 0000000118dc4968  R13 = 0000000118dc3c30
   R14 = 00007fff920da35c  R15 = 0000000000000000

   RIP = 00004e077ab377d8  RFL = 00007fff7ab377d8

    CS = 0000000118dc4978   FS = 0000000118dc3c60   GS = 00007fff8f855b1a

 Stack Trace (from fault):
 [  0] 0x000000010f0f9874
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwfl.dylib+00030836
 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052
 [  1] 0x000000010f0fd2aa
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwfl.dylib+00045738
 _ZN2fl4test17terminate_handledEv+00000906
 [  2] 0x000000010f0fccf5
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwfl.dylib+00044277
 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000117
 [  3] 0x000000010ec6fd07
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwmcr.dylib+00269575
 _Z32mnRunPathDependentInitializationv+00003127
 [  4] 0x000000010ec6fff8
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwmcr.dylib+00270328
 _Z32mnRunPathDependentInitializationv+00003880
 [  5] 0x000000010ec6f540
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwmcr.dylib+00267584
 _Z32mnRunPathDependentInitializationv+00001136
 [  6] 0x000000010ec6ef1f
 /Applications/MATLAB_R2014a.app/bin/maci64/libmwmcr.dylib+00266015
 _Z22mnInstallCrashHandlersv+00000319
 [  7] 0x00007fff8b2ab5aa
 /usr/lib/system/libsystem_platform.dylib+00013738 _sigtramp+00000026
 [  8] 0x00000001285b41aa
 /Users/drosos/Work/Software/Optimization/Ipopt-3.11.9/build/lib/ipopt.mexmaci64+01200554
 _ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIPN5Ipopt8ObserverEEEPT_PKS6_S9_S7_+00000080
 [  9] 0x00007fff8f855b1a
 /usr/lib/system/libsystem_c.dylib+00379674 abort+00000125
 [ 10] 0x00000001298c1557
 /opt/local/lib/libgcc/libstdc++.6.dylib+00017751
 _ZN9__gnu_cxx27__verbose_terminate_handlerEv+00000191
 }}}

--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/250#comment:3>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list