Matlab's 'run and time' crashes with mex file -
i using glmnet library within codebase in matlab without problems during normal operation. moment use matlab's 'run , time' feature analyse performance of codebase, matlab throws access violation. mex file 1 shipped package.
is there fundamental incompatibility of mex files , 'run , time', or mex files have strictly written conform 'run , time' runtime standards (perhaps memory allocation/deallocation)?
i don't want start digging around in third party code - want profiler tell me how long spent executing mex file in context of codebase - not interested in going on in mex file. there way configure profiler deal mex file in way?
the stack trace follows:
------------------------------------------------------------------------ access violation detected @ wed jul 26 10:10:39 2017 ------------------------------------------------------------------------ configuration: crash decoding : disabled - no sandbox or build area path crash mode : continue (default) current graphics driver: unknown hardware default encoding : windows-1252 deployed : false graphics card 1 : intel corporation ( 0x8086 ) intel(r) iris(tm) plus graphics 640 version 21.20.16.4664 host name : desktop-marumc2 matlab architecture : win64 matlab entitlement id: 1208320 matlab root : c:\program files\matlab\r2016b matlab version : 9.1.0.441655 (r2016b) opengl : hardware operating system : microsoft windows 10 home processor id : x86 family 6 model 142 stepping 9, genuineintel virtual machine : java 1.7.0_60-b19 oracle corporation java hotspot(tm) 64-bit server vm mixed mode window system : version 10.0 (build 14393) fault count: 1 abnormal termination: access violation register state (from fault): rax = 0000000000000000 rbx = 0000000000000000 rcx = 00000000fc615760 rdx = 00000000043f8d10 rsp = 00000000043f7128 rbp = 00000000043f8d10 rsi = 00000000aaf4ba00 rdi = 0000000000000000 r8 = 00000000043f7f30 r9 = 00000000fc615760 r10 = 0000000000000000 r11 = 00000000043f8d10 r12 = 0000000000000001 r13 = 0000000000000000 r14 = 00000000043f8d10 r15 = 00000000fc615760 rip = 000000018008346f efl = 00010206 cs = 0033 fs = 0053 gs = 002b stack trace (from fault): [ 0] 0x000000018008346f c:\program files\matlab\r2016b\bin\win64\libmx.dll+00537711 mxgetpr+00000003 [ 1] 0x00007ffb629619dc c:\users\work\glmnet_matlab\glmnetmex.mexw64+00006620 mexfunction+00002524
Comments
Post a Comment