[Ipopt] More Mac Mex File Crashes

Anil Rao anilvrao at gmail.com
Mon Mar 9 19:54:21 EDT 2015


All,

I have reported this problem before, but I am reporting it again because it
seems as if it has not been fixed.  I continually get crashes when I run
the Mac OS-X versions of the precompiled IPOPT mex files.  I do not know
why the crash occurs, but it happens frequently and it seems as if it is
specific to the Mac.  An example of the crash is shown the following crash
dump file.

To be honest, I have no idea why such a problem exists on a Mac (which is
UNIX, so I would expect better reliability).  This problem does not seem to
occur on a Windows machine (makes me want to switch to Windows, perish the
thought!).  Anyway, any help is greatly appreciated.

On a separate note, are there IPOPT mex files (or equivalent) for languages
such as Python, R, or Julia?  If so, has anyone uploaded precompiled
versions of such executables for these other languages?  Finally, would any
such mex files have MA57 capability, or would they be limited to just being
able to use Mumps?

Thanks in advance for any help anyone can provide.

Anil Rao





------------------------------------------------------------------------
              abort() detected at Mon Mar  9 19:45:44 2015
------------------------------------------------------------------------

Configuration:
  Crash Decoding      : Disabled
  Crash Mode          : continue (default)
  Current Graphics Driver: Unknown hardware
  Current Visual      : Quartz
  Default Encoding    : ISO-8859-1
  Host Name           : Anils-MacBook-Pro.local
  MATLAB Architecture : maci64
  MATLAB Root         : /Applications/MATLAB_R2015a.app
  MATLAB Version      : 8.5.0.197613 (R2015a)
  OpenGL              : hardware
  Operating System    : Darwin 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec
22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
  Processor ID        : x86 Family 6 Model 58 Stepping 9, GenuineIntel
  Virtual Machine     : Java 1.7.0_60-b19 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 = 000000011c373af8  RBX = 0000000000000000
  RCX = 0000000000000003  RDX = 000000011c37209c
  RSP = 0000000000000016  RBP = 00007fff8d7f09a7
  RSI = 000000011c372080  RDI = 000000011c380000

   R8 = 0000000000000006   R9 = 00000001513467a5
  R10 = 000000011c372660  R11 = 000000011c380000
  R12 = 00007f9497aa2600  R13 = 000000011c3720b0
  R14 = 00007fff8d7f142f  R15 = 0000000000000000

  RIP = 00004d031c3720d0  RFL = 000000011c3720d0

   CS = 000000011c3722b0   FS = 000000011c3720e0   GS = 00007fff9c0c4b53

Stack Trace (from fault):
[  0] 0x000000011044e964
/Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00031076
_ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052
[  1] 0x000000011045202b
/Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00045099
_ZN2fl4test17terminate_handledEv+00000763
[  2] 0x0000000110451ac7
/Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00043719
_ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000119
[  3] 0x000000010ff74f9b
/Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00380827
_Z32mnRunPathDependentInitializationv+00002875
[  4] 0x000000010ff75217
/Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00381463
_Z32mnRunPathDependentInitializationv+00003511
[  5] 0x000000010ff74908
/Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00379144
_Z32mnRunPathDependentInitializationv+00001192
[  6] 0x000000010ff742cc
/Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00377548
_Z22mnInstallCrashHandlersv+00000236
[  7] 0x00007fff9385ef1a
/usr/lib/system/libsystem_platform.dylib+00020250 _sigtramp+00000026
[  8] 0x0000000000000000
<unknown-module>+00000000
[  9] 0x00007fff9c0c4b53
/usr/lib/system/libsystem_c.dylib+00383827 abort+00000129
[ 10] 0x0000000151397fb6
/Users/anilvrao/Documents/MATLAB/GPOPS-II/R2-May-2014/nlp/ipopt/ipopt.mexmaci64+03760054
uw_init_context_1+00000134


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 this problem is reproducible, please submit a Service Request via:
    http://www.mathworks.com/support/contact_us/

A technical support engineer might contact you with further information.

Thank you for your help.


Anil V. Rao, PhD
Associate Professor
Department of Mechanical and Aerospace Engineering
University of Florida
Gainesville, FL 32611-6250
Tel:  (352) 672-1529
E-mail:  anilvrao at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20150309/a44b8372/attachment.html>


More information about the Ipopt mailing list