Closed musm closed 4 years ago
Actually, mexjulia
wasn't working very well on 0.5. It would work for a few evaluations and then segfault (see JuliaLang/julia#19401). There was a patch made to Julia that mitigated the issue. Since then mexjulia
is only really meant to work on 0.6. It may be that the recent patches aren't backwards compatible with 0.5.
Edit: yes, I see you mentioned that you are using 0.6. master
is working for me on windows. Of course, be sure to reconfigure and rebuild with a new julia (jl.config
).
Edit 2: oh, and report any updates if you continue to see issues.
Unfortunately things still aren't working for me on 0.6. I have run jl.config
on the following version of julia. Yet trying e.g. jl.eval('2+2')
immediately and consistently results in matlab shutting down.
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.6.0-pre.alpha.325 (2017-03-30 16:30 UTC)
_/ |\__'_|_|_|\__'_| | Commit 980119a* (5 days old master)
|__/ | x86_64-w64-mingw32
julia> versioninfo()
Julia Version 0.6.0-pre.alpha.325
Commit 980119a* (2017-03-30 16:30 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
>> jl.config
build_cflags: '-O -I"C:\Julia\julia-0.6-latest\include\julia" -DJULIA_ENABLE_THREADING'
build_ldflags: '-L"C:\Julia\julia-0.6-latest\bin\..\lib"'
build_ldlibs: 'libjulia.dll.a'
build_src: 'C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.cpp'
inc_dir: 'C:\Julia\julia-0.6-latest\include\julia'
is_debug: 'false'
julia_bin: 'C:\Julia\julia-0.6-latest\bin\julia.exe'
julia_home: 'C:\Julia\julia-0.6-latest\bin'
lib_base: 'julia'
lib_dir: 'C:\Julia\julia-0.6-latest\bin\..\lib'
lib_path: 'C:\Julia\julia-0.6-latest\bin\libjulia.dll'
sys_image: 'C:\Julia\julia-0.6-latest\lib\julia\sys.dll'
threading_enabled: 'true'
The mex command to be executed:
mex -v -largeArrayDims -L"C:\Julia\julia-0.6-latest\bin\..\lib" -outdir "C:\Users\Mus\Documents\MATLAB\mexjulia" -O -I"C:\Julia\julia-0.6-latest\include\julia" -DJULIA_ENABLE_THREADING C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.cpp libjulia.dll.a
Verbose mode is on.
... Looking for compiler 'Microsoft Visual C++ 2015 Professional' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 14.0\').
... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe' ...Yes.
... Looking for folder 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC' ...Yes.
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1' InstallationFolder ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1' InstallationFolder ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v8.1' InstallationFolder ...Yes ('C:\Program Files (x86)\Windows Kits\8.1\').
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 14.0\').
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7' 14.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VC7' 14.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7' 14.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\').
... Looking for environment variable 'VS140COMNTOOLS' ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\').
... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe' ...Yes.
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 14.0\').
... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat' ...Yes.
... Looking for folder 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC' ...Yes.
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Windows Kits\Installed Roots' KitsRoot10 ...Yes ('C:\Program Files (x86)\Windows Kits\10\').
Found installed compiler 'Microsoft Visual C++ 2015 Professional'.
Set PATH = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Bin\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\..\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\..\Common7\Tools;C:\Program Files (x86)\Windows Kits\8.1\\Bin\x64;C:\Program Files (x86)\Windows Kits\8.1\\Bin\x86;;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\libnvvp;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\Mustafa\.dnx\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\Skype\Phone\;C:\Anaconda3;C:\Anaconda3\Scripts;C:\Anaconda3\Library\bin;C:\CMake\bin;C:\Program Files (x86)\PharosSystems\Core;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MATLAB\R2016b\runtime\win64;C:\Program Files\MATLAB\R2016b\bin;C:\Program Files (x86)\SumatraPDF;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Pandoc\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Perforce;C:\Program Files\Perforce\DVCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\R2016b\polyspace\bin;C:\Program Files\ImageMagick-7.0.3-Q16;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Mus\AppData\Local\Microsoft\WindowsApps;C:\texlive\2016\bin\win32;C:\Julia\Julia-0.5-latest\bin;C:\Program Files\Sublime Text 3;C:\Program Files (x86)\Pandoc\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Hugo\hugo-0.14;C:\Program Files\ZeroMQ 4.0.4\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\ffmpeg\bin;C:\Program Files\ArrayFire\v3\lib;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\nvvm\bin;C:\Program Files\Perforce;C:\iaca-win64;C:\Users\Mus\AppData\Local\atom\bin;C:\Program Files\gs\gs9.18\bin;C:\Program Files\ConEmu\ConEmu;C:\Users\Mus\AppData\Local\Microsoft\WindowsApps;C:\DualSPHysics\DualSPHysics_v4.0_Windows_x64\EXECS;
Set INCLUDE = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\\include\10.0.10150.0\ucrt;C:\Program Files (x86)\Windows Kits\8.1\\include\shared;C:\Program Files (x86)\Windows Kits\8.1\\include\um;C:\Program Files (x86)\Windows Kits\8.1\\include\winrt;C:\Program Files\MATLAB\R2016b\extern\include;
Set LIB = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\Lib\amd64;C:\Program Files (x86)\Windows Kits\10\\Lib\10.0.10150.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\8.1\\lib\winv6.3\um\x64;C:\Program Files\MATLAB\R2016b\lib\win64;
Set LIBPATH = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\Lib\amd64;
Options file details
-------------------------------------------------------------------
Compiler location: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\..\
Options file: C:\Users\Mus\AppData\Roaming\MathWorks\MATLAB\R2016b\mex_C++_win64.xml
CMDLINE200 : link /nologo /manifest /DLL /EXPORT:mexFunction C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.obj C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\cpp_mexapi_version.obj libjulia.dll.a /LIBPATH:C:\Julia\julia-0.6-latest\bin\..\lib /LIBPATH:"C:\Program Files\MATLAB\R2016b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /out:C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64
CMDLINE250 : mt -outputresource:C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64;2 -manifest C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64.manifest
CMDLINE300 : del C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.exp C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.lib C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64.manifest C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.ilk
COMPILER : cl
COMPFLAGS : /Zp8 /GR /W3 /EHs /nologo /MD
COMPDEFINES : /DJULIA_ENABLE_THREADING /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE
MATLABMEX : /DMATLAB_MEX_FILE
OPTIMFLAGS : /O2 /Oy- /DNDEBUG
INCLUDE : -I"C:\Julia\julia-0.6-latest\include\julia" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\simulink\include"
DEBUGFLAGS : /Z7
LINKER : link
LINKFLAGS : /nologo /manifest
LINKTYPE : /DLL
LINKEXPORT : /EXPORT:mexFunction
LINKLIBS : libjulia.dll.a /LIBPATH:C:\Julia\julia-0.6-latest\bin\..\lib /LIBPATH:"C:\Program Files\MATLAB\R2016b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
LINKDEBUGFLAGS : /debug /PDB:"C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64.pdb"
LINKOPTIMFLAGS :
OBJEXT : .obj
LDEXT : .mexw64
SETENV : set COMPILER=cl
set COMPFLAGS=/c /Zp8 /GR /W3 /EHs /nologo /MD /DJULIA_ENABLE_THREADING /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE
set OPTIMFLAGS=/O2 /Oy- /DNDEBUG
set DEBUGFLAGS=/Z7
set LINKER=link
set LINKFLAGS=/nologo /manifest /export:%ENTRYPOINT% /DLL libjulia.dll.a /LIBPATH:C:\Julia\julia-0.6-latest\bin\..\lib /LIBPATH:"C:\Program Files\MATLAB\R2016b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /EXPORT:mexFunction
set LINKDEBUGFLAGS=/debug /PDB:"%OUTDIR%%MEX_NAME%.mexw64.pdb"
set NAME_OUTPUT=/out:"%OUTDIR%%MEX_NAME%%MEX_EXT%"
VCROOT : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
SDKROOT : C:\Program Files (x86)\Windows Kits\8.1\
VSINSTALLDIR : C:\Program Files (x86)\Microsoft Visual Studio 14.0\
VCINSTALLDIR : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\
PROF_ENV : C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
VCVARSALLDIR : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
KITSROOT : C:\Program Files (x86)\Windows Kits\10\
MATLABROOT : C:\Program Files\MATLAB\R2016b
ARCH : win64
SRC : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.cpp;"C:\Program Files\MATLAB\R2016b\extern\version\cpp_mexapi_version.cpp"
OBJ : C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.obj;C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\cpp_mexapi_version.obj
OBJS : C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.obj C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\cpp_mexapi_version.obj
SRCROOT : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia
DEF : C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.def
EXP : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.exp
LIB : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.lib
EXE : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64
ILK : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.ilk
MANIFEST : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64.manifest
TEMPNAME : C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia
EXEDIR : C:\Users\Mus\Documents\MATLAB\mexjulia\
EXENAME : mexjulia
OPTIM : /O2 /Oy- /DNDEBUG
LINKOPTIM :
CMDLINE100_0 : cl /c /Zp8 /GR /W3 /EHs /nologo /MD /O2 /Oy- /DNDEBUG /DJULIA_ENABLE_THREADING /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE -I"C:\Julia\julia-0.6-latest\include\julia" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\simulink\include" C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.cpp /FoC:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.obj
CMDLINE100_1 : cl /c /Zp8 /GR /W3 /EHs /nologo /MD /O2 /Oy- /DNDEBUG /DJULIA_ENABLE_THREADING /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE -I"C:\Julia\julia-0.6-latest\include\julia" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\simulink\include" "C:\Program Files\MATLAB\R2016b\extern\version\cpp_mexapi_version.cpp" /FoC:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\cpp_mexapi_version.obj
-------------------------------------------------------------------
Building with 'Microsoft Visual C++ 2015 Professional'.
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /O2 /Oy- /DNDEBUG /DJULIA_ENABLE_THREADING /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE -I"C:\Julia\julia-0.6-latest\include\julia" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\simulink\include" C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.cpp /FoC:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.obj
mexjulia.cpp
C:\Julia\julia-0.6-latest\include\julia\julia.h(778): warning C4146: unary minus operator applied to unsigned type, result still unsigned
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /O2 /Oy- /DNDEBUG /DJULIA_ENABLE_THREADING /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE -I"C:\Julia\julia-0.6-latest\include\julia" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\simulink\include" "C:\Program Files\MATLAB\R2016b\extern\version\cpp_mexapi_version.cpp" /FoC:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\cpp_mexapi_version.obj
cpp_mexapi_version.cpp
link /nologo /manifest /DLL /EXPORT:mexFunction C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\mexjulia.obj C:\Users\Mus\AppData\Local\Temp\mex_422534540519191_16452\cpp_mexapi_version.obj libjulia.dll.a /LIBPATH:C:\Julia\julia-0.6-latest\bin\..\lib /LIBPATH:"C:\Program Files\MATLAB\R2016b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /out:C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64
Creating library C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.lib and object C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.exp
mt -outputresource:C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64;2 -manifest C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64.manifest
Microsoft (R) Manifest Tool version 6.3.9600.17336
Copyright (c) Microsoft Corporation 2012.
All rights reserved.
del C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.exp C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.lib C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.mexw64.manifest C:\Users\Mus\Documents\MATLAB\mexjulia\mexjulia.ilk
MEX completed successfully.
>> jl.eval('2+2')
I can't tell where it is segfaulting, but if it is in jl_init
, then this is probably https://github.com/JuliaLang/julia/issues/22320
The only way I know to change stack size on Windows is either resource editor or recompile (Matlab itself :rofl:).
I can't reproduce this. I'm running on Windows 7. @musm, @ihnorton, are you seeing failures on Windows 10?
@ihnorton, the stack issue you reference is supposedly fixed on master. Have/can you verify that it addresses this?
No, I meant that I can't tell where it's segfaulting from the information here. Unfortunately I don't have access to matlab on Windows.
By the way, I looked through the code recently and noticed a few things that might be problematic, especially across platforms - the i/o rerouting/nesting/interrupt especially.
[EDIT: Reading that post again it sounds way too harsh, I apologize for that! It was really not my intention to be overly critical but to emphasize that the questioner in that thread would need to do some serious legwork whether using this code or any other approach.]
stale
mexjulia seems to reliably work for me under julia 0.5 and windows. However on latest master it immediately segfaults. Is this a known issue?