Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

CPLEX causing Matlab (9.1) R2016b crash on Wndows

Archive User

Archive UserThu September 07, 2017 09:59 AM

  • 1.  CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Sat September 24, 2016 02:10 AM

    Originally posted by: JohanLöfberg


    The code below worked in MATLAB 2015 and earlier on Windows, but now seg-faults in 2016b. Reported by user on 12.6.3, reproduced on 12.6.1

    >> ops =cplexoptimset('cplex')
    
    ops = 
    
               advance: 1
               barrier: [1x1 struct]
             clocktype: 2
              conflict: [1x1 struct]
          dettimelimit: 1.0000e+75
               distmip: [1x1 struct]
              emphasis: [1x1 struct]
               feasopt: [1x1 struct]
              lpmethod: 0
                   mip: [1x1 struct]
               network: [1x1 struct]
                output: [1x1 struct]
              parallel: 0
         preprocessing: [1x1 struct]
              qpmethod: 0
            randomseed: 201409043
                  read: [1x1 struct]
               sifting: [1x1 struct]
               simplex: [1x1 struct]
        solutiontarget: 0
               threads: 0
             timelimit: 1.0000e+75
                  tune: [1x1 struct]
               workdir: '.'
               workmem: 2048
               display: 'off'
           exportmodel: ''
    

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Sat September 24, 2016 07:47 AM

    Could this be the same problem as described here?


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Sat September 24, 2016 08:49 AM

    Originally posted by: JohanLöfberg


    Yes, that code crashes also, so you have a platform wide bug.


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue October 04, 2016 02:05 AM

    It is very bad behavior, but unfortunately expected, so I would not call this a bug.

    According to the detailed system requirements this version of matlab is not officially supported by CPLEX, so we don't make any promises that this will work.


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Sat September 24, 2016 09:46 AM

    Originally posted by: JohanLöfberg


    Note, the solvers work, and cplexoptimset() works (which isn't enough as it doesn't generate the full options structure)


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue September 27, 2016 03:27 PM

    Originally posted by: shjchan


    Same issue here. Just updated Matlab to R2016b and Cplex.p the Cplex constructor does not work properly. Assessing any methods of the object kills Matlab immediately. I am using mac osx 10.10.


    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue October 04, 2016 02:15 AM

    Originally posted by: JohanLöfberg


    So effectively IBM is dropping interest in MATLAB. It's very unfortunate, as the easiest recommendation I can give users who wants a hassle free solution when they've been upgraded to 2016 is to install another integer solver.


    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue October 04, 2016 02:25 AM

    No, not at all. Your conclusion is completely wrong.

    But the technical issue is that at the time CPLEX 12.6.3 went out, there was no matlab 2016, so we could not test matlab 2016 with this. The next CPLEX release will contain support for more recent versions of matlab.


    #CPLEXOptimizers
    #DecisionOptimization


  • 9.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue October 04, 2016 02:44 AM

    Originally posted by: JohanLöfberg


    OK, fair enough. So the correct conclusion is that IBM has such a slow moving release process that users with recent MATLAB versions which has been out for 6 months are assumed to downgrade to an old version of MATLAB, or switch to an integer solver which works in recent versions of MATLAB.

    When can we expect 12.6.4?


    #CPLEXOptimizers
    #DecisionOptimization


  • 10.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue October 04, 2016 03:32 AM

    Dear Johan,

    As the Program Manager for CPLEX Optimization Studio, I would love that we can offer support for new software as soon as they are publicly available. It is unfortunately not the case, and I understand that this causes issues for users who want to upgrade their software as soon as possible. Rest assured that we're working on the issue, and we'll keep you posted as soon as the upcoming version is officially announced.


    #CPLEXOptimizers
    #DecisionOptimization


  • 11.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Wed November 30, 2016 02:37 AM

    Originally posted by: JohanLöfberg


    In case anyone wonders, not fixed in 12.7


    #CPLEXOptimizers
    #DecisionOptimization


  • 12.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Wed April 19, 2017 04:18 PM

    Originally posted by: Mark L. Stone


    Has this been resolved in 12.7.1?  Per http://www-969.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=30B79120985B11E49CB249F9C96844EC&osPlatform=Windows#! , CPLEX 12.7.1 is compatible with MATLAB R2015A through R 2017A.


    #CPLEXOptimizers
    #DecisionOptimization


  • 13.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Wed April 19, 2017 04:41 PM

    Yes, CPLEX 12.7.1 should be compatible with the versions reported there.
     


    #CPLEXOptimizers
    #DecisionOptimization


  • 14.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Sat April 22, 2017 03:53 AM

    Originally posted by: JohanLöfberg


    Well, I can still seg-fault 2016b with ops = cplexoptimset('cplex'). Does not happen everytime, but it is reproducible when I run a program in a particular order.

     

    MATLAB crash file:C:\Users\johlo46\AppData\Local\Temp\matlab_crash_dump.123444-3:


    ------------------------------------------------------------------------
              Access violation detected at Sat Apr 22 09:48:26 2017
    ------------------------------------------------------------------------

    Configuration:
      Crash Decoding      : Disabled - No sandbox or build area path
      Crash Mode          : continue (default)
      Current Graphics Driver: ATI Technologies Inc. AMD Radeon HD 8750M Version 4.4.13085 Compatibility Profile Context 14.301.1003.1003
      Default Encoding    : windows-1252
      Deployed            : false
      Graphics card 1     : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics Family Version 10.18.10.3316
      Graphics card 2     : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon HD 8750M Version 14.301.1003.1003
      Host Name           : rtlt-01
      MATLAB Architecture : win64
      MATLAB Entitlement ID: 1238180
      MATLAB Root         : C:\Program Files\MATLAB\R2016b
      MATLAB Version      : 9.1.0.441655 (R2016b)
      OpenGL              : hardware
      Operating System    : Microsoft Windows 8.1 Enterprise
      Processor ID        : x86 Family 6 Model 69 Stepping 1, GenuineIntel
      Virtual Machine     : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
      Window System       : Version 6.3 (Build 9600)

    Fault Count: 3


    Abnormal termination:
    Access violation

    Register State (from fault):
      RAX = 00000001ba0c4b10  RBX = 00000001ba0c67f0
      RCX = 00000001ba0c4b10  RDX = 0000000000000000
      RSP = 0000000004031cc0  RBP = 0000000004033080
      RSI = 0000000004032fa0  RDI = 000000006faf1db0
     
       R8 = 000000000b4bbc80   R9 = 00000001ba0c7eb0
      R10 = 00000001ba0c4000  R11 = 00007ff995ee9f10
      R12 = 0000000004033088  R13 = 0000000000000000
      R14 = 0000000000000000  R15 = 0000000004033080
     
      RIP = 00007ff995cc2d5e  EFL = 00010202
     
       CS = 0033   FS = 0053   GS = 002b

    Stack Trace (from fault):
    [  0] 0x00007ff995cc2d5e C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\matlab\x64_win64\cplexlink1271.mexw64+00011614 mexFunction+00000910
    [  1] 0x00000000fc5fc5d1 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00116177 mexRunMexFile+00000129
    [  2] 0x00000000fc5fb2e2 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00111330 mexFeature_mexver+00001794
    [  3] 0x00000000fc5fa506 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00107782 mexUnlock+00020182
    [  4] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [  5] 0x00000000080144b6 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017590 Mfh_file::dispatch_fh+00000062
    [  6] 0x0000000008015827 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00022567 Mfunction_handle::dispatch+00001015
    [  7] 0x0000000008c98c29 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00887849 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00798773
    [  8] 0x0000000008c98707 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00886535 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00797459
    [  9] 0x0000000008c974b8 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00881848 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00792772
    [ 10] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 11] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 12] 0x0000000008ca1d1c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00924956 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00835880
    [ 13] 0x0000000008ca1939 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923961 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834885
    [ 14] 0x0000000008ca1884 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923780 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834704
    [ 15] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [ 16] 0x00000000080144fa C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017658 Mfh_file::dispatch_fh_with_reuse+00000062
    [ 17] 0x0000000008c95166 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872806 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783730
    [ 18] 0x0000000008c9de2f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00908847 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00819771
    [ 19] 0x0000000008d9aef7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01945335 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00390075
    [ 20] 0x0000000008c94f13 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872211 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783135
    [ 21] 0x0000000008d5e7c9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01697737 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00142477
    [ 22] 0x0000000008c9bdb2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00900530 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00811454
    [ 23] 0x0000000008d5753b C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01668411 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00113151
    [ 24] 0x0000000008d5737d C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01667965 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00112705
    [ 25] 0x0000000008d57301 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01667841 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00112581
    [ 26] 0x0000000008ca728f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00946831 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00857755
    [ 27] 0x0000000008ca7b75 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00949109 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00860033
    [ 28] 0x0000000008ca9151 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00954705 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00865629
    [ 29] 0x0000000008ca9c95 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00957589 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00868513
    [ 30] 0x0000000008ca932f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00955183 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00866107
    [ 31] 0x0000000008ca940d C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00955405 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00866329
    [ 32] 0x0000000008c98041 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00884801 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00795725
    [ 33] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 34] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 35] 0x0000000008c13f8f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343951 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254875
    [ 36] 0x0000000008c13aa1 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342689 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253613
    [ 37] 0x0000000008c13991 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342417 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253341
    [ 38] 0x0000000008da03e9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967081 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003353
    [ 39] 0x0000000008da0372 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01966962 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003234
    [ 40] 0x0000000008c621e7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00664039 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574963
    [ 41] 0x000000000a0d5a92 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+22108818 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00280302
    [ 42] 0x00000000fb602113 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00074003 ioReadLine+00027891
    [ 43] 0x000000000a0b75f9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21984761 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156245
    [ 44] 0x000000000a0b771e C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21985054 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156538
    [ 45] 0x000000000a0b9efb C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21995259 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00166743
    [ 46] 0x000000000a072c11 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21703697 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19525525
    [ 47] 0x000000000a0739ea C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21707242 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19529070
    [ 48] 0x000000000a07355c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21706076 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527904
    [ 49] 0x000000000a0733ff C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21705727 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527555
    [ 50] 0x000000000a07b7b2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21739442 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19561270
    [ 51] 0x000000000a07b1fc C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21737980 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19559808
    [ 52] 0x000000000a07a031 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21733425 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19555253
    [ 53] 0x0000000009fcc1f4 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21021172 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18843000
    [ 54] 0x0000000009fd2122 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21045538 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18867366
    [ 55] 0x0000000009dc36fd C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+18888445 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+16710273
    [ 56] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 57] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 58] 0x0000000008c13e8c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343692 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254616
    [ 59] 0x0000000008c1332c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00340780 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00251704
    [ 60] 0x0000000008c130c7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00340167 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00251091
    [ 61] 0x0000000008c12f45 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00339781 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00250705
    [ 62] 0x0000000008da0813 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01968147 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00004419
    [ 63] 0x0000000008da076a C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967978 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00004250
    [ 64] 0x0000000008da0641 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967681 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003953
    [ 65] 0x0000000008da05d4 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967572 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003844
    [ 66] 0x0000000008c62159 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00663897 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574821
    [ 67] 0x0000000008214da9 C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00085417 inEvalExpInDesiredWS+00000073
    [ 68] 0x000000000827b8c3 C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00506051 inEvalExpInDesiredWS+00000127
    [ 69] 0x000000001db16f3f C:\Program Files\MATLAB\R2016b\bin\win64\sl_services.dll+00880447 SlFeature::operator=+00001263
    [ 70] 0x000000001db1cd3d C:\Program Files\MATLAB\R2016b\bin\win64\sl_services.dll+00904509 CMatlabCommand::execute+00000109
    [ 71] 0x000000001db214c1 C:\Program Files\MATLAB\R2016b\bin\win64\sl_services.dll+00922817 slInEvalExpInDesiredWS_NoThrow+00000065
    [ 72] 0x00000000f49ce303 C:\Program Files\MATLAB\R2016b\bin\win64\sl_utility.dll+00123651 slu::MLEvalUtil::EvalMatlabExpressionInDesiredWS+00000291
    [ 73] 0x00000001d3f5a266 C:\Program Files\MATLAB\R2016b\bin\win64\sl_common_blocks.dll+01155686
    [ 74] 0x00000001d3f5b0e7 C:\Program Files\MATLAB\R2016b\bin\win64\sl_common_blocks.dll+01159399
    [ 75] 0x00000000f34d8486 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+16024710 BlockSetLocation+00003718
    [ 76] 0x00000000f34d74ca C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+16020682 BlockInvalidate+00006074
    [ 77] 0x00000000f2e1811c C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08945948 cvGetOriginalSimStructInNormalMode+00024524
    [ 78] 0x00000000f2e1a84e C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08955982 GetVectorMatrixConvMsgStatus+00007646
    [ 79] 0x00000000f2e1f301 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08975105 ReportDimsBlockMsg+00018897
    [ 80] 0x00000000f2d9c0ad C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08437933 compCanonicalIO::isActSrcDominating+00181213
    [ 81] 0x00000000f2e86204 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09396740 slmsg::WirelessQueueIntrf::getCompReaders+00102356
    [ 82] 0x00000000f2e7d7eb C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09361387 slmsg::WirelessQueueIntrf::getCompReaders+00067003
    [ 83] 0x00000000f2e85f9b C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09396123 slmsg::WirelessQueueIntrf::getCompReaders+00101739
    [ 84] 0x00000000f2e83ee3 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09387747 slmsg::WirelessQueueIntrf::getCompReaders+00093363
    [ 85] 0x00000000f37484c5 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+18580677 ssAddFullBlockPathToStructuralCheckSumForInvariantInput+00105493
    [ 86] 0x00000000f374cef6 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+18599670 ssAddFullBlockPathToStructuralCheckSumForInvariantInput+00124486
    [ 87] 0x00000000f37523ec C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+18621420 ssAddFullBlockPathToStructuralCheckSumForInvariantInput+00146236
    [ 88] 0x00000000f3781b3f C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+18815807 ssAddFullBlockPathToStructuralCheckSumForInvariantInput+00340623
    [ 89] 0x00000000f2766de1 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+01928673 ExitPauseInDebuggerMenuSim+00002017
    [ 90] 0x00000000f3200804 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+13043716 SLGlue::simulationStartPauseContinue+00000212
    [ 91] 0x00000001de2686b9 C:\Program Files\MATLAB\R2016b\bin\win64\sl_mi.dll+00296633 SLM3I::mi::initCosSFBlockOpenNotification+00031177
    [ 92] 0x000000000fd8946a C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00103530
    [ 93] 0x000000000fd88fbd C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00102333
    [ 94] 0x000000000fd88791 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00100241
    [ 95] 0x000000000fdcefd4 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00389076 mcos::plugins::init__pm_init+00073084
    [ 96] 0x000000000fdceef1 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00388849 mcos::plugins::init__pm_init+00072857
    [ 97] 0x000000000fdcebb0 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00388016 mcos::plugins::init__pm_init+00072024
    [ 98] 0x0000000008015b1f C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00023327 Mfh_MATLAB_fn::dispatch_fh+00000639
    [ 99] 0x000000000fd8cba5 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00117669
    [100] 0x0000000008c95166 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872806 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783730
    [101] 0x0000000008c93818 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00866328 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00777252
    [102] 0x000000018008584c C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00546892 matrix::detail::noninlined::mx_array_api::mxFevalFunctionHandle+00000036
    [103] 0x000000000825095c C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00330076 inRegisterMFunctionFromOpaqueArray+00130560
    [104] 0x00000000080170ee C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00028910 mdLogging::~mdLogging+00000218
    [105] 0x0000000008015b1f C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00023327 Mfh_MATLAB_fn::dispatch_fh+00000639
    [106] 0x0000000008c95166 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872806 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783730
    [107] 0x0000000008c140b7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00344247 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00255171
    [108] 0x0000000008c620d9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00663769 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574693
    [109] 0x00000000082139ec C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00080364 inCallFcn+00000060
    [110] 0x0000000008c628a6 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00665766 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00576690
    [111] 0x000000000821d057 C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00118871 inCallFcnWithTrap+00000071
    [112] 0x00000000eab1d419 C:\Program Files\MATLAB\R2016b\bin\win64\dastudio.dll+03003417 SafeCallMatlab+00000201
    [113] 0x00000000eab11a85 C:\Program Files\MATLAB\R2016b\bin\win64\dastudio.dll+02955909 ActionSchema::invokeCallback+00000117
    [114] 0x00000000eab18dcb C:\Program Files\MATLAB\R2016b\bin\win64\dastudio.dll+02985419 DigCallbackInvoker::invokeUDI+00000187
    [115] 0x00000000eab18cea C:\Program Files\MATLAB\R2016b\bin\win64\dastudio.dll+02985194 DigDefaultCallbackInvoker::invoke+00000058
    [116] 0x00000000eab951bd C:\Program Files\MATLAB\R2016b\bin\win64\dastudio.dll+03494333 DeferredManager::get_instance+00000141
    [117] 0x00000000fd01d347   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00578375 iqm::UserEvalPlugin::pre+00030679
    [118] 0x00000000fd029e7c   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00630396 iqm::UserEvalPlugin::pre+00082700
    [119] 0x00000000fd017480   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00554112 iqm::UserEvalPlugin::pre+00006416
    [120] 0x00000000fd02c99a   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00641434 iqm::UserEvalPlugin::pre+00093738
    [121] 0x00000000fcff9a37   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00432695 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727
    [122] 0x00000000fcffa08f   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00434319 iqm::PackagedTaskPlugin::execute+00000575
    [123] 0x00000000fcff9aa9   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00432809 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841
    [124] 0x00000000fcff9f04   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00433924 iqm::PackagedTaskPlugin::execute+00000180
    [125] 0x00000000fcfd42fa   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00279290 iqm::Iqm::setupIqmFcnPtrs+00071530
    [126] 0x00000000fcfd41d3   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00278995 iqm::Iqm::setupIqmFcnPtrs+00071235
    [127] 0x00000000fcfb95a5   C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00169381 iqm::Iqm::deliver+00001045


    Abnormal termination:
    Access violation

    Register State (from fault):
      RAX = 000000006faf1db0  RBX = 0000000000000000
      RCX = 000000006faf1db0  RDX = 0000000000000000
      RSP = 000000000402b690  RBP = 000000000402ca60
      RSI = 000000000402c980  RDI = 000000006faf1db0
     
       R8 = 000000000b4bbc80   R9 = 00000001ba0c7c80
      R10 = 00000001ba0c4000  R11 = 00007ff995ee9f10
      R12 = 0000000000000000  R13 = 0000000000000000
      R14 = 0000000000000000  R15 = 000000000402ca60
     
      RIP = 00007ff995cc2ef6  EFL = 00010206
     
       CS = 0033   FS = 0053   GS = 002b

    Stack Trace (from fault):
    [  0] 0x00007ff995cc2ef6 C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\matlab\x64_win64\cplexlink1271.mexw64+00012022 mexFunction+00001318
    [  1] 0x00007ff995cc2bb9 C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\matlab\x64_win64\cplexlink1271.mexw64+00011193 mexFunction+00000489
    [  2] 0x00000000fc5fc5d1 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00116177 mexRunMexFile+00000129
    [  3] 0x00000000fc5fb2e2 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00111330 mexFeature_mexver+00001794
    [  4] 0x00000000fc5fa506 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00107782 mexUnlock+00020182
    [  5] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [  6] 0x00000000080144b6 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017590 Mfh_file::dispatch_fh+00000062
    [  7] 0x0000000008015827 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00022567 Mfunction_handle::dispatch+00001015
    [  8] 0x0000000008c9bfbd C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00901053 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00811977
    [  9] 0x0000000008c6fbc0 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00719808 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00630732
    [ 10] 0x0000000008c98707 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00886535 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00797459
    [ 11] 0x0000000008c974b8 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00881848 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00792772
    [ 12] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 13] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 14] 0x0000000008ca1b9b C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00924571 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00835495
    [ 15] 0x0000000008ca1953 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923987 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834911
    [ 16] 0x0000000008ca1979 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00924025 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834949
    [ 17] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [ 18] 0x00000000080144b6 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017590 Mfh_file::dispatch_fh+00000062
    [ 19] 0x0000000008015827 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00022567 Mfunction_handle::dispatch+00001015
    [ 20] 0x000000000fd9adf2 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00175602
    [ 21] 0x000000000fda7d03 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00228611
    [ 22] 0x000000000fd7cb53 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00052051
    [ 23] 0x000000000fd91a7a C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00137850
    [ 24] 0x000000000fd97f39 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00163641
    [ 25] 0x000000000fd9752e C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00161070
    [ 26] 0x0000000007ab0b54  C:\Program Files\MATLAB\R2016b\bin\win64\mcos.dll+00068436 mcos::RefManager::releaseRef+00000196
    [ 27] 0x0000000007ab0a31  C:\Program Files\MATLAB\R2016b\bin\win64\mcos.dll+00068145 mcos::COSInterfacePtr::release+00000017
    [ 28] 0x000000000fd95aa1 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00154273
    [ 29] 0x000000018000f9fc C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00063996 matrix::detail::noninlined::mx_array_api::mxCreateUninitNumericArray+00001436
    [ 30] 0x000000018000d086 C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00053382 matrix::detail::noninlined::mx_array_api::mxIsContainer+00000406
    [ 31] 0x000000018000ba63 C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00047715 matrix::detail::noninlined::mx_array_api::mxDestroyArray+00000115
    [ 32] 0x0000000008bd247c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00074876 MathWorks::lxe::ReleaseCurrentMcrContext+00004932
    [ 33] 0x000000000fd9f6ad C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00194221
    [ 34] 0x000000000fd97fb3 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00163763
    [ 35] 0x000000000fd9752e C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00161070
    [ 36] 0x0000000007ab0b54  C:\Program Files\MATLAB\R2016b\bin\win64\mcos.dll+00068436 mcos::RefManager::releaseRef+00000196
    [ 37] 0x0000000007ab0a31  C:\Program Files\MATLAB\R2016b\bin\win64\mcos.dll+00068145 mcos::COSInterfacePtr::release+00000017
    [ 38] 0x000000000fd95aa1 C:\Program Files\MATLAB\R2016b\bin\win64\mcos_impl.dll+00154273
    [ 39] 0x000000018000f9fc C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00063996 matrix::detail::noninlined::mx_array_api::mxCreateUninitNumericArray+00001436
    [ 40] 0x000000018000d086 C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00053382 matrix::detail::noninlined::mx_array_api::mxIsContainer+00000406
    [ 41] 0x000000018000bc2f C:\Program Files\MATLAB\R2016b\bin\win64\libmx.dll+00048175 intrusive_ptr_release+00000127
    [ 42] 0x000000000aef40e3 C:\Program Files\MATLAB\R2016b\bin\win64\libmwlxetypes.dll+00016611 MathWorks::lxe::ParseTypeScheme+00002011
    [ 43] 0x000000000aef8944 C:\Program Files\MATLAB\R2016b\bin\win64\libmwlxetypes.dll+00035140 MathWorks::lxe::CreateXvalueOfMxArrayReference+00001444
    [ 44] 0x0000000008d3ce6f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01560175 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00004915
    [ 45] 0x000000000aefb5c7 C:\Program Files\MATLAB\R2016b\bin\win64\libmwlxetypes.dll+00046535 MathWorks::lxe::LXETypeFactory::~LXETypeFactory+00000279
    [ 46] 0x0000000008ca555a C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00939354 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00850278
    [ 47] 0x0000000008c96df0 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00880112 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00791036
    [ 48] 0x0000000008c96f7b C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00880507 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00791431
    [ 49] 0x0000000009d93d7b C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+18693499 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+16515327
    [ 50] 0x00007ff996876920 C:\Program Files\MATLAB\R2016b\bin\win64\MSVCR120.dll+00420128 _unDNameEx+00000616
    [ 51] 0x00007ff99686e36d C:\Program Files\MATLAB\R2016b\bin\win64\MSVCR120.dll+00385901 _BuildCatchObjectHelper+00000837
    [ 52] 0x00007ff9a8892a63                      C:\Windows\SYSTEM32\ntdll.dll+00600675 RtlCaptureContext+00000963
    [ 53] 0x0000000008c974b8 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00881848 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00792772
    [ 54] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 55] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 56] 0x0000000008ca1d1c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00924956 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00835880
    [ 57] 0x0000000008ca1939 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923961 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834885
    [ 58] 0x0000000008ca1884 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923780 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834704
    [ 59] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [ 60] 0x00000000080144fa C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017658 Mfh_file::dispatch_fh_with_reuse+00000062
    [ 61] 0x0000000008c95166 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872806 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783730
    [ 62] 0x0000000008c9de2f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00908847 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00819771
    [ 63] 0x0000000008d9aef7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01945335 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00390075
    [ 64] 0x0000000008c94f13 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872211 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783135
    [ 65] 0x0000000008d5e7c9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01697737 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00142477
    [ 66] 0x0000000008c9bdb2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00900530 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00811454
    [ 67] 0x0000000008d5753b C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01668411 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00113151
    [ 68] 0x0000000008d5737d C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01667965 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00112705
    [ 69] 0x0000000008d57301 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01667841 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00112581
    [ 70] 0x0000000008ca728f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00946831 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00857755
    [ 71] 0x0000000008ca7b75 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00949109 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00860033
    [ 72] 0x0000000008ca9151 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00954705 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00865629
    [ 73] 0x0000000008ca9c95 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00957589 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00868513
    [ 74] 0x0000000008ca932f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00955183 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00866107
    [ 75] 0x0000000008ca940d C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00955405 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00866329
    [ 76] 0x0000000008c98041 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00884801 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00795725
    [ 77] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 78] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 79] 0x0000000008c13f8f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343951 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254875
    [ 80] 0x0000000008c13aa1 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342689 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253613
    [ 81] 0x0000000008c13991 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342417 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253341
    [ 82] 0x0000000008da03e9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967081 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003353
    [ 83] 0x0000000008da0372 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01966962 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003234
    [ 84] 0x0000000008c621e7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00664039 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574963
    [ 85] 0x000000000a0d5a92 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+22108818 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00280302
    [ 86] 0x00000000fb602113 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00074003 ioReadLine+00027891
    [ 87] 0x000000000a0b75f9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21984761 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156245
    [ 88] 0x000000000a0b771e C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21985054 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156538
    [ 89] 0x000000000a0b9efb C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21995259 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00166743
    [ 90] 0x000000000a072c11 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21703697 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19525525
    [ 91] 0x000000000a0739ea C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21707242 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19529070
    [ 92] 0x000000000a07355c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21706076 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527904
    [ 93] 0x000000000a0733ff C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21705727 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527555
    [ 94] 0x000000000a07b7b2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21739442 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19561270
    [ 95] 0x000000000a07b1fc C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21737980 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19559808
    [ 96] 0x000000000a07a031 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21733425 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19555253
    [ 97] 0x0000000009fcc1f4 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21021172 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18843000
    [ 98] 0x0000000009fd2122 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21045538 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18867366
    [ 99] 0x0000000009dc36fd C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+18888445 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+16710273
    [100] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [101] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [102] 0x0000000008c13e8c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343692 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254616
    [103] 0x0000000008c1332c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00340780 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00251704
    [104] 0x0000000008c130c7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00340167 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00251091
    [105] 0x0000000008c12f45 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00339781 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00250705
    [106] 0x0000000008da0813 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01968147 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00004419
    [107] 0x0000000008da076a C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967978 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00004250
    [108] 0x0000000008da0641 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967681 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003953
    [109] 0x0000000008da05d4 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967572 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003844
    [110] 0x0000000008c62159 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00663897 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574821
    [111] 0x0000000008214da9 C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00085417 inEvalExpInDesiredWS+00000073
    [112] 0x000000000827b8c3 C:\Program Files\MATLAB\R2016b\bin\win64\m_interpreter.dll+00506051 inEvalExpInDesiredWS+00000127
    [113] 0x000000001db16f3f C:\Program Files\MATLAB\R2016b\bin\win64\sl_services.dll+00880447 SlFeature::operator=+00001263
    [114] 0x000000001db1cd3d C:\Program Files\MATLAB\R2016b\bin\win64\sl_services.dll+00904509 CMatlabCommand::execute+00000109
    [115] 0x000000001db214c1 C:\Program Files\MATLAB\R2016b\bin\win64\sl_services.dll+00922817 slInEvalExpInDesiredWS_NoThrow+00000065
    [116] 0x00000000f49ce303 C:\Program Files\MATLAB\R2016b\bin\win64\sl_utility.dll+00123651 slu::MLEvalUtil::EvalMatlabExpressionInDesiredWS+00000291
    [117] 0x00000001d3f5a266 C:\Program Files\MATLAB\R2016b\bin\win64\sl_common_blocks.dll+01155686
    [118] 0x00000001d3f5b0e7 C:\Program Files\MATLAB\R2016b\bin\win64\sl_common_blocks.dll+01159399
    [119] 0x00000000f34d8486 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+16024710 BlockSetLocation+00003718
    [120] 0x00000000f34d74ca C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+16020682 BlockInvalidate+00006074
    [121] 0x00000000f2e1811c C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08945948 cvGetOriginalSimStructInNormalMode+00024524
    [122] 0x00000000f2e1a84e C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08955982 GetVectorMatrixConvMsgStatus+00007646
    [123] 0x00000000f2e1f301 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08975105 ReportDimsBlockMsg+00018897
    [124] 0x00000000f2d9c0ad C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+08437933 compCanonicalIO::isActSrcDominating+00181213
    [125] 0x00000000f2e86204 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09396740 slmsg::WirelessQueueIntrf::getCompReaders+00102356
    [126] 0x00000000f2e7d7eb C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09361387 slmsg::WirelessQueueIntrf::getCompReaders+00067003
    [127] 0x00000000f2e85f9b C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+09396123 slmsg::WirelessQueueIntrf::getCompReaders+00101739


    Abnormal termination:
    Access violation

    Register State (from fault):
      RAX = 00000001d8808a30  RBX = 00000001d8808170
      RCX = 00000001d8808a30  RDX = 0000000000000000
      RSP = 0000000004030540  RBP = 0000000004031900
      RSI = 0000000004031820  RDI = 000000006faf7d80
     
       R8 = 000000000b4bbc80   R9 = 00000001d8808b80
      R10 = 00000001d8808000  R11 = 00007ff995ee9f10
      R12 = 0000000004031908  R13 = 0000000000000000
      R14 = 0000000000000000  R15 = 0000000004031900
     
      RIP = 00007ff995cc2d5e  EFL = 00010206
     
       CS = 0033   FS = 0053   GS = 002b

    Stack Trace (from fault):
    [  0] 0x00007ff995cc2d5e C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\matlab\x64_win64\cplexlink1271.mexw64+00011614 mexFunction+00000910
    [  1] 0x00000000fc5fc5d1 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00116177 mexRunMexFile+00000129
    [  2] 0x00000000fc5fb2e2 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00111330 mexFeature_mexver+00001794
    [  3] 0x00000000fc5fa506 C:\Program Files\MATLAB\R2016b\bin\win64\libmex.dll+00107782 mexUnlock+00020182
    [  4] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [  5] 0x00000000080144b6 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017590 Mfh_file::dispatch_fh+00000062
    [  6] 0x0000000008015827 C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00022567 Mfunction_handle::dispatch+00001015
    [  7] 0x0000000008c98c29 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00887849 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00798773
    [  8] 0x0000000008c98707 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00886535 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00797459
    [  9] 0x0000000008c974b8 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00881848 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00792772
    [ 10] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 11] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 12] 0x0000000008c13f8f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343951 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254875
    [ 13] 0x0000000008c13aa1 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342689 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253613
    [ 14] 0x0000000008c13991 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342417 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253341
    [ 15] 0x0000000008da03e9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967081 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003353
    [ 16] 0x0000000008da0372 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01966962 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003234
    [ 17] 0x0000000008c621e7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00664039 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574963
    [ 18] 0x000000000a0d5a92 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+22108818 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00280302
    [ 19] 0x00000000fb602113 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00074003 ioReadLine+00027891
    [ 20] 0x000000000a0b75f9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21984761 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156245
    [ 21] 0x000000000a0b771e C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21985054 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156538
    [ 22] 0x000000000a0b9efb C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21995259 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00166743
    [ 23] 0x000000000a072c11 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21703697 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19525525
    [ 24] 0x000000000a0739ea C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21707242 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19529070
    [ 25] 0x000000000a07355c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21706076 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527904
    [ 26] 0x000000000a0733ff C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21705727 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527555
    [ 27] 0x000000000a07b7b2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21739442 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19561270
    [ 28] 0x000000000a07b1fc C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21737980 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19559808
    [ 29] 0x000000000a07a031 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21733425 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19555253
    [ 30] 0x0000000009fcc1f4 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21021172 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18843000
    [ 31] 0x0000000009fd2122 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21045538 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18867366
    [ 32] 0x0000000009dc36fd C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+18888445 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+16710273
    [ 33] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 34] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 35] 0x0000000008ca1d1c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00924956 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00835880
    [ 36] 0x0000000008ca1939 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923961 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834885
    [ 37] 0x0000000008ca1884 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00923780 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00834704
    [ 38] 0x00000000080146de C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00018142 Mfh_file::dispatch_fh_impl+00000434
    [ 39] 0x00000000080144fa C:\Program Files\MATLAB\R2016b\bin\win64\m_dispatcher.dll+00017658 Mfh_file::dispatch_fh_with_reuse+00000062
    [ 40] 0x0000000008c95166 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872806 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783730
    [ 41] 0x0000000008c9de2f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00908847 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00819771
    [ 42] 0x0000000008d9aef7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01945335 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00390075
    [ 43] 0x0000000008c94f13 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00872211 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00783135
    [ 44] 0x0000000008d5e7c9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01697737 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00142477
    [ 45] 0x0000000008c9bdb2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00900530 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00811454
    [ 46] 0x0000000008d5753b C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01668411 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00113151
    [ 47] 0x0000000008d572cb C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01667787 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00112527
    [ 48] 0x0000000008d57239 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01667641 boost::serialization::singleton<boost::serialization::void_cast_detail::void_caster_primitive<ir::IrTree,MathWorks::utl::attachment> >::get_instance+00112381
    [ 49] 0x0000000008ca728f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00946831 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00857755
    [ 50] 0x0000000008ca7b75 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00949109 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00860033
    [ 51] 0x0000000008ca9151 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00954705 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00865629
    [ 52] 0x0000000008ca9c95 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00957589 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00868513
    [ 53] 0x0000000008ca932f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00955183 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00866107
    [ 54] 0x0000000008ca940d C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00955405 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00866329
    [ 55] 0x0000000008c98041 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00884801 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00795725
    [ 56] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 57] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 58] 0x0000000008c13f8f C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343951 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254875
    [ 59] 0x0000000008c13aa1 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342689 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253613
    [ 60] 0x0000000008c13991 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00342417 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00253341
    [ 61] 0x0000000008da03e9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01967081 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003353
    [ 62] 0x0000000008da0372 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+01966962 boost::serialization::singleton<boost::archive::detail::oserializer<boost::archive::polymorphic_oarchive,foundation::msg_svc::eventmgr::BaseEvent> >::get_instance+00003234
    [ 63] 0x0000000008c621e7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00664039 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00574963
    [ 64] 0x000000000a0d5a92 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+22108818 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00280302
    [ 65] 0x00000000fb602113 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00074003 ioReadLine+00027891
    [ 66] 0x000000000a0b75f9 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21984761 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156245
    [ 67] 0x000000000a0b771e C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21985054 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00156538
    [ 68] 0x000000000a0b9efb C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21995259 boost::archive::detail::pointer_oserializer<boost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00166743
    [ 69] 0x000000000a072c11 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21703697 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19525525
    [ 70] 0x000000000a0739ea C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21707242 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19529070
    [ 71] 0x000000000a07355c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21706076 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527904
    [ 72] 0x000000000a0733ff C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21705727 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19527555
    [ 73] 0x000000000a07b7b2 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21739442 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19561270
    [ 74] 0x000000000a07b1fc C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21737980 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19559808
    [ 75] 0x000000000a07a031 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21733425 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+19555253
    [ 76] 0x0000000009fcc1f4 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21021172 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18843000
    [ 77] 0x0000000009fd2122 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+21045538 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+18867366
    [ 78] 0x0000000009dc36fd C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+18888445 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+16710273
    [ 79] 0x0000000008c19eab C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00368299 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00279223
    [ 80] 0x0000000008c19740 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00366400 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00277324
    [ 81] 0x0000000008c13e8c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00343692 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00254616
    [ 82] 0x0000000008c1332c C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00340780 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00251704
    [ 83] 0x0000000008c130c7 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.dll+00340167 boost::serialization::singleton<boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00251091
    [ 84] 0x0000000008c12f45 C:\Program Files\MATLAB\R2016b\bin\win64\m_lxe.
    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.

     

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 15.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue April 25, 2017 05:50 AM

    Originally posted by: Laci Ladanyi


    Johan, 

     

    Is there any chance that you could share a short code with us that crashes? All our internal tests for cplex 12.7.1 pass with R2016b, so to track the issue down we'd need an example that crashes. If you can't post the code publicly but you can share the code directly with us, then email me at ladanyi at us.ibm.com.


    #CPLEXOptimizers
    #DecisionOptimization


  • 16.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue April 25, 2017 07:06 AM

    Originally posted by: JohanLöfberg


    Managed to distill an MRE. I can only get it to crash  in a 100% reproducible manner when cplexoptimset is called in a simulink simulation, hence I've created an absolutely trivial simulink model which has a block which calls cplexoptimset


    #CPLEXOptimizers
    #DecisionOptimization


  • 17.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Tue April 25, 2017 07:34 AM

    Originally posted by: JohanLöfberg


    Forgot to say that the example crashes both 2016b and 2017a


    #CPLEXOptimizers
    #DecisionOptimization


  • 18.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Wed September 06, 2017 03:56 AM

    Originally posted by: AsToN


    Is there any news about this issue? I am still experiencing the same problems. Matlab 2017a (9.2) with CPLEX 12.7.1. Should be compatible according to detailed system requirements.

     

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 19.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Thu September 07, 2017 01:45 AM

    Do you have a code example to reproduce that crash? Or are you using the code from the initial post?


    #CPLEXOptimizers
    #DecisionOptimization


  • 20.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Thu September 07, 2017 05:54 AM

    Originally posted by: AsToN


    Hey Daniel,

     

    I prepared a little example on the basis of the blend.m example that comes with the matlab examples. Basically I just wrapped it in a parallel loop (it happens with standard sequential loops too). Now as described by others the bahaviour of the error is very strange. Sometimes I can run this example 20 times and it works just fine. At other times matlab crashes immediately. I fear you will have to play around a little till it crashes. I also recommend running it several times and then changing from parfor-loops and to sequential-for-loops and back again. That seems to kill it frequently.

     

    Thank you for helping!


    #CPLEXOptimizers
    #DecisionOptimization


  • 21.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Thu September 07, 2017 06:03 AM

    Originally posted by: AsToN


    And btw it doesn't seem to be limited to loops. It also happened at times when I ran my personal code outside of a loop. I didn't test this with the provided example though.


    #CPLEXOptimizers
    #DecisionOptimization


  • 22.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Thu September 07, 2017 09:46 AM

    Originally posted by: Laci Ladanyi


    Johan: I'm am really sorry, I have missed your post on Apr 25 :-(. In any case, I could not use that, since we have only matlab, but we don't have simulink... :-(

     

    AsToN: On linux I have tried running your example in a loop for 1000 runs; with parfor, with for, and with alternating the two; on the command line or in the matlab ide; and there wasn't a single crash. I will try it on windows and see what happens. 

     

    I'd love to track this down, but it's rather hard when I can't crash it :-(. One more thing that would help, even if I don't have a crashing code, is a backtrace of the crash. Unfortunately matlab does not give a fuil stack trace, only the matlab part of the stack (I don't think they can do more automatically, though...). The way to get the full stack is to start matlab under a debugger as described here: https://www.mathworks.com/help/matlab/matlab_external/debugging-on-microsoft-windows-platforms.html (if you use simulink just follow the link on the bottom of the page). Of course, you would not need to compile the mex file :-). Just start matlab, then start visual studio, attach the debugger to the matlab process, then run your code. When matlab (or cplex) crashes you should be able to extract a full backtrace that will show where the crash is.


    #CPLEXOptimizers
    #DecisionOptimization


  • 23.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Fri September 08, 2017 02:11 PM

    Originally posted by: JohanLöfberg


    It's extremely unpredictable (but common enough for me to make cplex useless when I develop YALMIP which calls cplexoptimset everytime I solve a problem)

    As an example, I tested this

    for i = 1:100
        x = randn(1000);
        n = ceil(10*rand(1));
        m = ceil(10*rand(1));
        cplexops = cplexoptimset('cplex');
        [x,fval,exitflag,output,lambda] = cplexlp(randn(n,1),randn(m,n),rand(m,1),randn(m,n),rand(m,1),[],[],[],cplexops);
    end
    

    It crashed earlier today, so I figured I could use that. Then I tried it again, and it worked, and again and again. Restarted matlab, and it still worked. Switched to chrome, back to matlab, ran it and poof, seg-fault

     

     

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 24.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Wed November 08, 2017 10:14 AM

    Originally posted by: Laci Ladanyi


    Hi Johan & AsToN,

    Using your traces we finally did find one issue, and that may very well cause what you are experiencing. The fix for that issue will be in the upcoming 12.8 release. It'd be good to know whether it really fixes your troubles, but since we can't reproduce the issue ourselves, it'd be great if you could test it. Would you be willing to be a beta testers? If so, just email me: ladanyi at us.ibm.com.

    Thanks,
    --Laci

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 25.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Mon November 06, 2017 09:29 AM

    Originally posted by: AsToN


    Hi,

     

    I was finally able to get a copy of Visual Studio on my workstation and debugged MATLAB running my code that crashes when calling a CPLEX function.

     

    The resulting crash report is attached. The first lines are immediately thrown when VS attaches to the MATLAB process. Beginning with line 430 the report is about the crash which occurs when I start my MATLAB code that uses a CPLEX.

     

    I hope this brings a little more light into this matter.

     

    Best AsToN


    #CPLEXOptimizers
    #DecisionOptimization


  • 26.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Thu September 07, 2017 09:59 AM

    Originally posted by: AsToN


    Hey,

     

    yes, I already thought that it might not crash when you run it. It is also crashing very infrequently on my workstation. Actually it seems that if it runs then you can make an many iterations as you like. The crashes usually occur very early in the loops. However, altough doing many different experiments I was unable to point my finger on a direct cause. It's very strange. And it seems I am not the only one experiencing those issues. Here are two more examples (even though I don't know exactly if they have the very same problem, but at least it sounds similar):

     

    https://de.mathworks.com/matlabcentral/answers/36312-segmentation-faults-and-thread-safety-in-parfor-loops-part-ii

    https://de.mathworks.com/matlabcentral/answers/106852-matlab-crashing-when-using-cplex-api

     

    As concerns debugging the mex files: Unfortunately I am on holiday in the next few days so it will take a while till I can do that.


    #CPLEXOptimizers
    #DecisionOptimization


  • 27.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Thu September 07, 2017 10:32 AM

    Originally posted by: Laci Ladanyi


    Both of those links point to old versions (12.4 and 12.5) of cplex. Since then there was a big cleanup in the cplex matlab api. So if we can reproduce the problem with the 12.7 or 12.7.1 version, that would be very useful.


    #CPLEXOptimizers
    #DecisionOptimization


  • 28.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Fri April 27, 2018 08:52 PM

    Originally posted by: YUDEFU_YUEQIAN


    Dear sir: Recently, I am engaged in robust model predictive contrlo for discrete-time T-S fuzzy systems with structured uncertainties and persistent disturbances, which am going to deal with Bilinear matrix inequalities. I don't know how to work out. Please give me some tips, thank you very much!


    #CPLEXOptimizers
    #DecisionOptimization


  • 29.  Re: CPLEX causing Matlab (9.1) R2016b crash on Wndows

    Posted Mon April 30, 2018 01:04 AM

    How is your question related to the topic of this thread? It seems completely unrelated and you may want to start a new thread. In your question you should also be a lot more specific about what your actual problem is.


    #CPLEXOptimizers
    #DecisionOptimization