{"action":"created","issue":{"url":"https://api.github.com/repos/bastibe/transplant/issues/60","repository_url":"https://api.github.com/repos/bastibe/transplant","labels_url":"https://api.github.com/repos/bastibe/transplant/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/bastibe/transplant/issues/60/comments","events_url":"https://api.github.com/repos/bastibe/transplant/issues/60/events","html_url":"https://github.com/bastibe/transplant/issues/60","id":315192403,"number":60,"title":"Windows, Matlab process dies on start","user":{"login":"mikeza","id":2586601,"avatar_url":"https://avatars3.githubusercontent.com/u/2586601?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeza","html_url":"https://github.com/mikeza","followers_url":"https://api.github.com/users/mikeza/followers","following_url":"https://api.github.com/users/mikeza/following{/other_user}","gists_url":"https://api.github.com/users/mikeza/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeza/subscriptions","organizations_url":"https://api.github.com/users/mikeza/orgs","repos_url":"https://api.github.com/users/mikeza/repos","events_url":"https://api.github.com/users/mikeza/events{/privacy}","received_events_url":"https://api.github.com/users/mikeza/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-04-17T19:08:50Z","updated_at":"2018-05-03T07:03:32Z","closed_at":"2018-05-02T18:27:12Z","author_association":"NONE","body":"When opening a Matlab instance on Windows, the Matlab process dies immediately. Transplant throws a runtime error. No error message is displayed in the Matlab command window, it becomes unresponsive.\r\n\r\n# Attempted solutions\r\n\r\n### Reinstall all relevant packages\r\nNo change\r\n\r\n### Running with admin permissions\r\nNo change\r\n\r\n### Install ZMQ without Anaconda\r\nSame problem as far as I can tell\r\n\r\nFully removed:\r\n```\r\nIn [2]: transplant.Matlab()\r\n---------------------------------------------------------------------------\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-2-d12f35e2c1f4> in <module>()\r\n----> 1 transplant.Matlab()\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in __\r\ninit__(self, executable, arguments, msgformat, address, user, print_to_stdout, d\r\nesktop, jvm)\r\n    468                                   \"transplant_remote('{}','{}','{}');\".f\r\normat(\r\n    469                                       os.path.dirname(__file__), os.getc\r\nwd(),\r\n--> 470                                       msgformat, zmq_address, self._loca\r\nte_libzmq()\r\n    471 )])\r\n    472         else:\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in _l\r\nocate_libzmq(self)\r\n    606                 return candidates[0]\r\n    607\r\n--> 608         raise RuntimeError('could not locate libzmq for Matlab')\r\n    609\r\n    610     def _ask_ld_for_paths(self):\r\n\r\nRuntimeError: could not locate libzmq for Matlab\r\n```\r\nReinstalled with ZeroMQ executable:\r\n```\r\nIn [2]: transplant.Matlab()\r\n---------------------------------------------------------------------------\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-2-d12f35e2c1f4> in <module>()\r\n----> 1 transplant.Matlab()\r\n...\r\nRuntimeError: Process died unexpectedly\r\n\r\nIn [3]: %debug\r\n> c:\\programdata\\anaconda3\\lib\\site-packages\\transplant\\transplant_master.py(178\r\n)_wait_socket()\r\n    176         while True:\r\n    177             if self.process.poll() is not None:\r\n--> 178                 raise RuntimeError('Process died unexpectedly')\r\n    179             if self.socket.poll(timeout, flags) != 0:\r\n    180                 return\r\n\r\nipdb> self._locate_libzmq()\r\n'C:/Program Files\\\\ZeroMQ 4.0.4\\\\bin\\\\libzmq-v100-mt-4_0_4.dll'\r\n```\r\n\r\n### Load the ZMQ library from Matlab\r\nNo errors\r\ne.g.\r\n```\r\nloadlibrary('C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll', 'C:\\ProgramData\\Anaconda3\\pkgs\\zeromq-4.2.3-hd6b2f15_3\\Library\\include\\zmq.h')\r\n```\r\n\r\n### Create a ZMQ (transplant) class instance from within Matlab \r\nUsing the path given by _locate_libzmq()\r\nCan create the ZMQ object without problems\r\n\r\ne.g.\r\n```\r\nZMQ('C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll', 'tcp://127.0.0.1:65535')\r\n```\r\n\r\n### Install on another (fresh) Windows machine\r\nSame problem\r\n\r\nInstallation steps\r\n```\r\nconda create --name test\r\nactivate test\r\nconda install zeromq\r\npip install transplant\r\n```\r\n(Visual C++ was already installed)\r\n\r\n### Use Visual C++ 2015 instead of MinGW/GCC\r\nAs a Matlab compiler\r\n\r\n# Reproduction and error messages\r\n```\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation.  All rights reserved.\r\nC:\\Windows\\system32>ipython\r\nPython 3.5.5 |Anaconda custom (64-bit)| (default, Apr  7 2018, 04:52:34) [MSC v.\r\n1900 64 bit (AMD64)]\r\nType 'copyright', 'credits' or 'license' for more information\r\nIPython 6.3.1 -- An enhanced Interactive Python. Type '?' for help.\r\n\r\nIn [1]: import transplant\r\n\r\nIn [2]: transplant.Matlab()\r\n---------------------------------------------------------------------------\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-2-d12f35e2c1f4> in <module>()\r\n----> 1 transplant.Matlab()\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in __\r\ninit__(self, executable, arguments, msgformat, address, user, print_to_stdout, d\r\nesktop, jvm)\r\n    495         if print_to_stdout:\r\n    496             self._start_reader()\r\n--> 497         self.eval('0;') # no-op. Wait for Matlab startup to complete.\r\n    498\r\n    499     def exit(self):\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in __\r\ngetattr__(self, name)\r\n    532         \"\"\"Retrieve a value or function from the remote.\"\"\"\r\n    533         try:\r\n--> 534             return self._get_global(name)\r\n    535         except TransplantError as err:\r\n    536             # package identifiers for `what` use '/' instead of '.':\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in _g\r\net_global(self, name)\r\n     90     def _get_global(self, name):\r\n     91         \"\"\"Retrieve a value from a named variable.\"\"\"\r\n---> 92         response = self.send_message('get_global', name=name)\r\n     93         return response['value']\r\n     94\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in se\r\nnd_message(self, msg_type, **kwargs)\r\n    146         kwargs = self._encode_values(kwargs)\r\n    147\r\n--> 148         self._wait_socket(zmq.POLLOUT)\r\n    149         if self.msgformat == 'msgpack':\r\n    150             self.socket.send(msgpack.packb(dict(kwargs, type=msg_type),\r\nuse_bin_type=True), flags=zmq.NOBLOCK)\r\n\r\nC:\\ProgramData\\Anaconda3\\lib\\site-packages\\transplant\\transplant_master.py in _w\r\nait_socket(self, flags, timeout)\r\n    176         while True:\r\n    177             if self.process.poll() is not None:\r\n--> 178                 raise RuntimeError('Process died unexpectedly')\r\n    179             if self.socket.poll(timeout, flags) != 0:\r\n    180                 return\r\n\r\nRuntimeError: Process died unexpectedly\r\n```\r\n\r\n## Matlab crash dump\r\n```\r\n------------------------------------------------------------------------\r\n    Unknown exception 0x40000015 detected at Tue Apr 17 14:05:36 2018\r\n------------------------------------------------------------------------\r\n\r\nConfiguration:\r\n  Crash Decoding      : Disabled - No sandbox or build area path\r\n  Crash Mode          : continue (default)\r\n  Current Graphics Driver: Unknown hardware \r\n  Default Encoding    : windows-1252\r\n  Deployed            : false\r\n  Graphics card 1     : RealVNC ( 0x0 ) VNC Mirror Driver Version 1.8.0.0\r\n  Graphics card 2     : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 1080 Ti Version 23.21.13.8813\r\n  Host Name           : ADRLAB-32\r\n  MATLAB Architecture : win64\r\n  MATLAB Entitlement ID: 3463632\r\n  MATLAB Root         : C:\\Program Files\\MATLAB\\R2017a\r\n  MATLAB Version      : 9.2.0.556344 (R2017a)\r\n  OpenGL              : hardware\r\n  Operating System    : Microsoft Windows 7 Enterprise \r\n  Processor ID        : x86 Family 6 Model 60 Stepping 3, GenuineIntel\r\n  Virtual Machine     : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode\r\n  Window System       : Version 6.1 (Build 7601: Service Pack 1)\r\n\r\nFault Count: 1\r\n\r\n\r\nAbnormal termination:\r\nUnknown exception 0x40000015\r\n\r\nRegister State (from fault):\r\n  RAX = 00000000730ce15e  RBX = 000007fee1c43b70\r\n  RCX = 0000000004027df0  RDX = 00000000000000d8\r\n  RSP = 0000000004028400  RBP = 00000000ffffffff\r\n  RSI = 0000000004028600  RDI = 00000000338314e0\r\n \r\n   R8 = 0000000000000000   R9 = 0000000000000000\r\n  R10 = 43d6dde6d86822b7  R11 = 0000000004028440\r\n  R12 = 0000000004028980  R13 = 0000000000000003\r\n  R14 = 0000000000000000  R15 = 0000000000000000\r\n \r\n  RIP = 000007fefcdca06d  EFL = 00000202\r\n \r\n   CS = 0033   FS = 0053   GS = 002b\r\n\r\nStack Trace (from fault):\r\n[  0] 0x000007fefcdca06d                 C:\\Windows\\system32\\KERNELBASE.dll+00106605 RaiseException+00000061\r\n[  1] 0x000007fee1c1d6bb    C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll+00186043\r\n[  2] 0x000007fee1c03ffb    C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll+00081915\r\n[  3] 0x000007fee1c21b88    C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll+00203656\r\n[  4] 0x000007fee1c217c0    C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll+00202688\r\n[  5] 0x000007fee1c35c48    C:\\ProgramData\\Anaconda3\\Library\\bin\\libzmq.dll+00285768 zmq_msg_recv+00000040\r\n[  6] 0x0000000092e114fb C:\\Users\\adkins\\AppData\\Local\\Temp\\tp0c88deb0_6b3e_493a_9c92_2fe78c8e2736\\libzmq_thunk_pcwin64.dll+00005371 int32voidPtrvoidPtrint32Thunk+00000084\r\n[  7] 0x0000000092d62792                             bin\\win64\\libmwcli.dll+00010130\r\n[  8] 0x0000000092d6cdb4                             bin\\win64\\libmwcli.dll+00052660\r\n[  9] 0x0000000092d710f5                             bin\\win64\\libmwcli.dll+00069877\r\n[ 10] 0x0000000092d8c280                             bin\\win64\\libmwcli.dll+00180864 PointerMapSize+00084384\r\n[ 11] 0x0000000092d8d34e                             bin\\win64\\libmwcli.dll+00185166 PointerMapSize+00088686\r\n[ 12] 0x000000000c3ab0ee                     bin\\win64\\pgo\\m_dispatcher.dll+00045294 mdLogging::~mdLogging+00000154\r\n[ 13] 0x000000000c3a9be1                     bin\\win64\\pgo\\m_dispatcher.dll+00039905 Mfh_MATLAB_fn::dispatch_fh+00000641\r\n[ 14] 0x000000000d95a61c                            bin\\win64\\pgo\\m_lxe.dll+00108060\r\n[ 15] 0x000000000dab1ffb                            bin\\win64\\pgo\\m_lxe.dll+01515515 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00013323\r\n[ 16] 0x000000000dab0aa7                            bin\\win64\\pgo\\m_lxe.dll+01510055 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00007863\r\n[ 17] 0x000000000d95a717                            bin\\win64\\pgo\\m_lxe.dll+00108311\r\n[ 18] 0x000000000d9e9eb5                            bin\\win64\\pgo\\m_lxe.dll+00695989\r\n[ 19] 0x000000000d978e6a                            bin\\win64\\pgo\\m_lxe.dll+00233066\r\n[ 20] 0x000000000daba423                            bin\\win64\\pgo\\m_lxe.dll+01549347 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00047155\r\n[ 21] 0x000000000db21a97                            bin\\win64\\pgo\\m_lxe.dll+01972887 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00470695\r\n[ 22] 0x000000000db21a05                            bin\\win64\\pgo\\m_lxe.dll+01972741 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00470549\r\n[ 23] 0x000000000d9626c9                            bin\\win64\\pgo\\m_lxe.dll+00141001\r\n[ 24] 0x000000000d9632f3                            bin\\win64\\pgo\\m_lxe.dll+00144115\r\n[ 25] 0x000000000d96474c                            bin\\win64\\pgo\\m_lxe.dll+00149324\r\n[ 26] 0x000000000d965288                            bin\\win64\\pgo\\m_lxe.dll+00152200\r\n[ 27] 0x000000000d96498f                            bin\\win64\\pgo\\m_lxe.dll+00149903\r\n[ 28] 0x000000000d958c4b                            bin\\win64\\pgo\\m_lxe.dll+00101451\r\n[ 29] 0x000000000d96004a                            bin\\win64\\pgo\\m_lxe.dll+00131146\r\n[ 30] 0x000000000d95f7d0                            bin\\win64\\pgo\\m_lxe.dll+00128976\r\n[ 31] 0x000000000dab5d0f                            bin\\win64\\pgo\\m_lxe.dll+01531151 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00028959\r\n[ 32] 0x000000000dab52d3                            bin\\win64\\pgo\\m_lxe.dll+01528531 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00026339\r\n[ 33] 0x000000000dab51b9                            bin\\win64\\pgo\\m_lxe.dll+01528249 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00026057\r\n[ 34] 0x000000000db40ea9                            bin\\win64\\pgo\\m_lxe.dll+02100905 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,MathWorks::lxe::MatlabIrTree>::load_object_data+00015609\r\n[ 35] 0x000000000db40e32                            bin\\win64\\pgo\\m_lxe.dll+02100786 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,MathWorks::lxe::MatlabIrTree>::load_object_data+00015490\r\n[ 36] 0x000000000dab3383                            bin\\win64\\pgo\\m_lxe.dll+01520515 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00018323\r\n[ 37] 0x000000000ca59aa9                    bin\\win64\\pgo\\m_interpreter.dll+00170665 inEvalCmdWithLocalReturnInDesiredWSAndPublishEvents+00000081\r\n[ 38] 0x00000000fcfe4926                                  bin\\win64\\iqm.dll+00346406 iqm::InternalEvalPlugin::inEvalCmdWithLocalReturn+00000246\r\n[ 39] 0x00000000fcfe444d                                  bin\\win64\\iqm.dll+00345165 iqm::InternalEvalPlugin::execute+00000253\r\n[ 40] 0x000000000d71d2e5                                  bin\\win64\\mcr.dll+00316133 mcrRegisterExternalFunction+00031957\r\n[ 41] 0x00000000fcfd111a                                  bin\\win64\\iqm.dll+00266522 iqm::Iqm::setupIqmFcnPtrs+00072250\r\n[ 42] 0x00000000fcfd0ff3                                  bin\\win64\\iqm.dll+00266227 iqm::Iqm::setupIqmFcnPtrs+00071955\r\n[ 43] 0x00000000fcfb72da                                  bin\\win64\\iqm.dll+00160474 iqm::Iqm::deliver+00001114\r\n[ 44] 0x00000000fb5fb7d5                          bin\\win64\\libmwbridge.dll+00047061 ioReadLine+00000517\r\n[ 45] 0x00000000fb5fb692                          bin\\win64\\libmwbridge.dll+00046738 ioReadLine+00000194\r\n[ 46] 0x00000000fb609dc9                          bin\\win64\\libmwbridge.dll+00105929 mnDebugPrompt+00001545\r\n[ 47] 0x00000000fb609903                          bin\\win64\\libmwbridge.dll+00104707 mnDebugPrompt+00000323\r\n[ 48] 0x00000000fb60a04a                          bin\\win64\\libmwbridge.dll+00106570 mnParser+00000426\r\n[ 49] 0x000000000d7075f1                                  bin\\win64\\mcr.dll+00226801 mcr::runtime::setInterpreterThreadSingletonToCurrent+00027889\r\n[ 50] 0x000000000d7064e7                                  bin\\win64\\mcr.dll+00222439 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023527\r\n[ 51] 0x000000000d706563                                  bin\\win64\\mcr.dll+00222563 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023651\r\n[ 52] 0x000000000d706e81                                  bin\\win64\\mcr.dll+00224897 mcr::runtime::setInterpreterThreadSingletonToCurrent+00025985\r\n[ 53] 0x00000000fd01e647                                  bin\\win64\\iqm.dll+00583239 iqm::UserEvalPlugin::pre+00030695\r\n[ 54] 0x00000000fd02af8c                                  bin\\win64\\iqm.dll+00634764 iqm::UserEvalPlugin::pre+00082220\r\n[ 55] 0x00000000fd018770                                  bin\\win64\\iqm.dll+00558960 iqm::UserEvalPlugin::pre+00006416\r\n[ 56] 0x00000000fd02de9a                                  bin\\win64\\iqm.dll+00646810 iqm::UserEvalPlugin::pre+00094266\r\n[ 57] 0x00000000fcffad17                                  bin\\win64\\iqm.dll+00437527 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727\r\n[ 58] 0x00000000fcffb36f                                  bin\\win64\\iqm.dll+00439151 iqm::PackagedTaskPlugin::execute+00000575\r\n[ 59] 0x00000000fcffad89                                  bin\\win64\\iqm.dll+00437641 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841\r\n[ 60] 0x00000000fcffb1e4                                  bin\\win64\\iqm.dll+00438756 iqm::PackagedTaskPlugin::execute+00000180\r\n[ 61] 0x00000000fcfd111a                                  bin\\win64\\iqm.dll+00266522 iqm::Iqm::setupIqmFcnPtrs+00072250\r\n[ 62] 0x00000000fcfd0ff3                                  bin\\win64\\iqm.dll+00266227 iqm::Iqm::setupIqmFcnPtrs+00071955\r\n[ 63] 0x00000000fcfb7b95                                  bin\\win64\\iqm.dll+00162709 iqm::Iqm::deliver+00003349\r\n[ 64] 0x00000000fcfb8815                                  bin\\win64\\iqm.dll+00165909 iqm::Iqm::deliver+00006549\r\n[ 65] 0x0000000004786383                        bin\\win64\\libmwservices.dll+01074051 services::system_events::PpeDispatchHook::dispatchOne+00019811\r\n[ 66] 0x000000000478abe3                        bin\\win64\\libmwservices.dll+01092579 sysq::addProcessPendingEventsUnitTestHook+00002099\r\n[ 67] 0x000000000478add0                        bin\\win64\\libmwservices.dll+01093072 sysq::addProcessPendingEventsUnitTestHook+00002592\r\n[ 68] 0x000000000478c095                        bin\\win64\\libmwservices.dll+01097877 sysq::getCondition+00003269\r\n[ 69] 0x000000000478cf8f                        bin\\win64\\libmwservices.dll+01101711 svWS_ProcessPendingEvents+00000287\r\n[ 70] 0x000000000d70795e                                  bin\\win64\\mcr.dll+00227678 mcr::runtime::setInterpreterThreadSingletonToCurrent+00028766\r\n[ 71] 0x000000000d708046                                  bin\\win64\\mcr.dll+00229446 mcr::runtime::setInterpreterThreadSingletonToCurrent+00030534\r\n[ 72] 0x000000000d6fe832                                  bin\\win64\\mcr.dll+00190514 mcr_process_events+00010210\r\n[ 73] 0x000000000d700782                                  bin\\win64\\mcr.dll+00198530 mcr_process_events+00018226\r\n[ 74] 0x000000000820c21e                             bin\\win64\\MVMLocal.dll+00246302 mvm_server::inproc::LocalFactory::terminate+00073982\r\n[ 75] 0x00000000fa95a3d9                                  bin\\win64\\mvm.dll+01221593 mvm::detail::initLocalMvmHack+00000521\r\n[ 76] 0x00000000fa95ab25                                  bin\\win64\\mvm.dll+01223461 mvm::detail::SessionImpl::privateSession+00000533\r\n[ 77] 0x00000000fa95ad31                                  bin\\win64\\mvm.dll+01223985 mvm::detail::SessionImpl::privateSession+00001057\r\n[ 78] 0x0000000140006fd5                               bin\\win64\\MATLAB.exe+00028629\r\n[ 79] 0x0000000140007661                               bin\\win64\\MATLAB.exe+00030305\r\n[ 80] 0x0000000076d159cd                   C:\\Windows\\system32\\kernel32.dll+00088525 BaseThreadInitThunk+00000013\r\n[ 81] 0x0000000076f7383d                      C:\\Windows\\SYSTEM32\\ntdll.dll+00342077 RtlUserThreadStart+00000029\r\n```\r\n\r\n# Versions\r\n```\r\nC:\\Windows\\system32>ipython --version\r\n6.3.1\r\nC:\\Windows\\system32>python --version\r\nPython 3.5.5 :: Anaconda custom (64-bit)\r\nC:\\Windows\\system32>conda --version\r\nconda 4.5.1\r\nC:\\Windows\\system32>pip show transplant\r\nName: Transplant\r\nVersion: 0.8.5\r\nSummary: Call Matlab from Python (requires Matlab)\r\nHome-page: https://github.com/bastibe/transplant\r\nAuthor: Bastian Bechtold\r\nAuthor-email: basti@bastibe.de\r\nLicense: BSD 3-clause License\r\nLocation: c:\\programdata\\anaconda3\\lib\\site-packages\r\nRequires: numpy, pyzmq, msgpack-python\r\nC:\\Windows\\system32>conda list zeromq\r\n# packages in environment at C:\\ProgramData\\Anaconda3:\r\n#\r\n# Name                    Version                   Build  Channel\r\nzeromq                    4.2.3                hd6b2f15_3\r\n>> mex -setup\r\nMEX configured to use 'MinGW64 Compiler (C)' for C language compilation.\r\n>> cc.Details\r\n\r\n  CompilerConfigurationDetails with properties:\r\n\r\n         CompilerExecutable: 'C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin\\g++'\r\n              CompilerFlags: '-fexceptions -fno-omit-frame-pointer -std=c++11'\r\n          OptimizationFlags: '-O -DNDEBUG'\r\n                 DebugFlags: '-g'\r\n           LinkerExecutable: 'C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin\\g++'\r\n                LinkerFlags: '-m64 -Wl,--no-undefined -shared'\r\n    LinkerOptimizationFlags: '-s'\r\n           LinkerDebugFlags: '-g'\r\n                     SetEnv: 'set COMPILER=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin\\g++↵                set CCOMPILER=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin\\gcc↵                set COMPFLAGS=-c -fexceptions -fno-omit-frame-pointer -std=c++11 -DTARGET_API_VERSION=700   -m64 -DMATLAB_MEX_FILE  -DMATLAB_MEX_FILE ↵                set CCOMPFLAGS=-c -fexceptions -fno-omit-frame-pointer -DTARGET_API_VERSION=700   -m64 -DMATLAB_MEX_FILE  -DMATLAB_MEX_FILE ↵                set OPTIMFLAGS=-O -DNDEBUG↵                set DEBUGFLAGS=-g↵                set LINKER=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin\\g++↵                set CLINKER=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin\\gcc↵                set LINKFLAGS=-m64 -Wl,--no-undefined -shared -L\"C:\\Program Files\\MATLAB\\R2017a\\extern\\lib\\win64\\mingw64\" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -Wl,\"C:\\Program Files\\MATLAB\\R2017a/extern/lib/win64/mingw64/mexFunction.def\"↵                set LINKDEBUGFLAGS=-g↵                set NAME_OUTPUT= -o \"%OUTDIR%%MEX_NAME%%MEX_EXT%\"↵set PATH=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\bin;C:\\Program Files\\MATLAB\\R2017a\\extern\\include\\win64;C:\\Program Files\\MATLAB\\R2017a\\extern\\include;C:\\Program Files\\MATLAB\\R2017a\\simulink\\include;C:\\Program Files\\MATLAB\\R2017a\\lib\\win64;%MATLAB_BIN%;%PATH%↵set INCLUDE=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\include;%INCLUDE%↵set LIB=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset\\lib;;%LIB%↵set LIBPATH=C:\\Program Files\\MATLAB\\R2017a\\extern\\lib\\win64;%LIBPATH%↵'\r\n           CommandLineShell: 'set MINGW_ROOT_PATH=C:\\ProgramData\\MATLAB\\SupportPackages\\R2017a\\3P.instrset\\mingw_492.instrset'\r\n        CommandLineShellArg: ''\r\n```"},"comment":{"url":"https://api.github.com/repos/bastibe/transplant/issues/comments/386207238","html_url":"https://github.com/bastibe/transplant/issues/60#issuecomment-386207238","issue_url":"https://api.github.com/repos/bastibe/transplant/issues/60","id":386207238,"user":{"login":"bastibe","id":649181,"avatar_url":"https://avatars2.githubusercontent.com/u/649181?v=4","gravatar_id":"","url":"https://api.github.com/users/bastibe","html_url":"https://github.com/bastibe","followers_url":"https://api.github.com/users/bastibe/followers","following_url":"https://api.github.com/users/bastibe/following{/other_user}","gists_url":"https://api.github.com/users/bastibe/gists{/gist_id}","starred_url":"https://api.github.com/users/bastibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastibe/subscriptions","organizations_url":"https://api.github.com/users/bastibe/orgs","repos_url":"https://api.github.com/users/bastibe/repos","events_url":"https://api.github.com/users/bastibe/events{/privacy}","received_events_url":"https://api.github.com/users/bastibe/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T07:03:32Z","updated_at":"2018-05-03T07:03:32Z","author_association":"OWNER","body":"Thank you for bringing it up! This is actually a regression I introduced a while ago and didn't notice (because the Matlab documentation didn't mention it anywhere)."}}
{"actor":{"display_login":"bastibe"}}