G-Node / G-Node/opencl-toolbox
run 4 times matlab crashes
- Dominant language
- C++
- Stars
- 7
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
> > test_kernels
> > Elapsed time is 0.000017 seconds.
ans =
```
0
```
ans =
```
0
```
ans =
5.9605e-08
ans =
```
0
```
ans =
9.5367e-07
> > test_kernels
> > Elapsed time is 0.000007 seconds.
ans =
```
0.5000
```
ans =
```
0.5000
```
ans =
```
0.8333
```
ans =
```
1.7500
```
ans =
13.0299
> > test_kernels
> > Elapsed time is 0.000011 seconds.
ans =
```
6.5000
```
ans =
```
0.5000
```
ans =
NaN
ans =
NaN
ans =
NaN
> > test_kernels
---
```
Segmentation violation detected at Mon Sep 03 11:03:38 2012
```
---
Configuration:
Crash Decoding : Disabled
Default Encoding : GBK
MATLAB Architecture: win64
MATLAB Root : C:\Program Files\MATLAB\R2013a
MATLAB Version : 8.1.0.604 (R2013a)
Operating System : Microsoft Windows 7
Processor ID : x86 Family 6 Model 44 Stepping 2, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00000000c8c03170 RBX = 0000000074af4cd0
RCX = 0000000000000000 RDX = 00000000e77c5ea0
RSP = 000000000401fd10 RBP = 0000000000000006
RSI = 0000000000000000 RDI = 00000000097a4800
R8 = 0000000000000000 R9 = 0000000000000200
R10 = 0000000075a20000 R11 = 000000000401fd38
R12 = 0000000000000000 R13 = 0000000000000000
R14 = 00000000097a54b0 R15 = 0000000000000000
RIP = 000007fef8c128ef EFL = 00010246
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x000007fef8c128ef C:\Program Files\MATLAB\opencl-toolbox\openclcmd.mexw64+00010479
[ 1] 0x000007fef8c1c796 C:\Program Files\MATLAB\opencl-toolbox\openclcmd.mexw64+00051094 mexFunction+00000726
[ 2] 0x0000000004e1f731 C:\Program Files\MATLAB\R2013a\bin\win64\libmex.dll+00063281 mexRunMexFile+00000129
[ 3] 0x0000000004e1e202 C:\Program Files\MATLAB\R2013a\bin\win64\libmex.dll+00057858 inSwapMexfileReader+00000226
[ 4] 0x0000000004e1f2b4 C:\Program Files\MATLAB\R2013a\bin\win64\libmex.dll+00062132 _constructor_lm_mexmaci64+00001620
[ 5] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623
[ 6] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 7] 0x00000000046cbc7b C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00834683 inDestroyWS+00392123
[ 8] 0x00000000046bb091 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00766097 inDestroyWS+00323537
[ 9] 0x00000000046a008f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00655503 inDestroyWS+00212943
[ 10] 0x00000000046b65a4 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00746916 inDestroyWS+00304356
[ 11] 0x00000000046ac3b0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00705456 inDestroyWS+00262896
[ 12] 0x00000000046a8fe4 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00692196 inDestroyWS+00249636
[ 13] 0x00000000046c021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415
[ 14] 0x00000000046c0370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752
[ 15] 0x000000000469f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181
[ 16] 0x00000000046a0bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824
[ 17] 0x000000000468cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841
[ 18] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623
[ 19] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 20] 0x000000007b0db72f C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00243503 omGetPropertyValueForInterpreterIndexing+00001167
[ 21] 0x0000000074e8ca05 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00051717 Mfh_MATLAB_fn::dispatch_fh+00000453
[ 22] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 23] 0x00000000046d297b C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00862587 inDestroyWS+00420027
[ 24] 0x00000000046b9fad C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00761773 inDestroyWS+00319213
[ 25] 0x00000000046ba8d3 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00764115 inDestroyWS+00321555
[ 26] 0x00000000046b8e52 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00757330 inDestroyWS+00314770
[ 27] 0x00000000046a76f1 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00685809 inDestroyWS+00243249
[ 28] 0x00000000046a90ef C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00692463 inDestroyWS+00249903
[ 29] 0x00000000046c021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415
[ 30] 0x00000000046c0370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752
[ 31] 0x000000000469f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181
[ 32] 0x00000000046a0bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824
[ 33] 0x000000000468cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841
[ 34] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623
[ 35] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 36] 0x000000007b0db72f C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00243503 omGetPropertyValueForInterpreterIndexing+00001167
[ 37] 0x0000000074e8ca05 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00051717 Mfh_MATLAB_fn::dispatch_fh+00000453
[ 38] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 39] 0x000000000470bd6b C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01097067 inGetSeqVarPtrsFromCurrentWS+00006603
[ 40] 0x0000000004610216 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00066070 inInitFrame+00002214
[ 41] 0x0000000004619279 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00103033 inGetNameInSymbolTable+00004713
[ 42] 0x00000000046baa8f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00764559 inDestroyWS+00321999
[ 43] 0x0000000004890913 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+02689299 std::_Init_locks::operator=+01481863
[ 44] 0x00000000046a7ac3 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00686787 inDestroyWS+00244227
[ 45] 0x00000000046a90ef C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00692463 inDestroyWS+00249903
[ 46] 0x00000000046c021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415
[ 47] 0x00000000046c0370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752
[ 48] 0x000000000469f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181
[ 49] 0x00000000046a0bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824
[ 50] 0x000000000468cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841
[ 51] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623
[ 52] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 53] 0x00000000046a6d48 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00683336 inDestroyWS+00240776
[ 54] 0x000000000461f9f7 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00129527 inFullEvalFcn+00022023
[ 55] 0x00000000046aa877 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00698487 inDestroyWS+00255927
[ 56] 0x00000000046c021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415
[ 57] 0x00000000046c0370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752
[ 58] 0x000000000469f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181
[ 59] 0x00000000046a0bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824
[ 60] 0x000000000468cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841
[ 61] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623
[ 62] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802
[ 63] 0x000000000460e70e C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00059150 inValidateLoadedObject+00002350
[ 64] 0x0000000004716495 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01139861 IInterpreter::IInterpreter+00000229
[ 65] 0x000000000471ca45 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01165893 inRegisterFunctionHandles+00004405
[ 66] 0x000000000471ca12 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01165842 inRegisterFunctionHandles+00004354
[ 67] 0x000000000471c9d7 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01165783 inRegisterFunctionHandles+00004295
[ 68] 0x000000000470ba0e C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01096206 inGetSeqVarPtrsFromCurrentWS+00005742
[ 69] 0x000000000460be89 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00048777 inEvalCmdWithLocalReturn+00000329
[ 70] 0x000000000460bdcc C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00048588 inEvalCmdWithLocalReturn+00000140
[ 71] 0x000000000460bd81 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00048513 inEvalCmdWithLocalReturn+00000065
[ 72] 0x0000000079fbbecd C:\Program Files\MATLAB\R2013a\bin\win64\libmwbridge.dll+00048845 mnDebugPrompt+00000109
[ 73] 0x0000000079fbd01b C:\Program Files\MATLAB\R2013a\bin\win64\libmwbridge.dll+00053275 mnParser+00000763
[ 74] 0x000000007499daa4 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00187044 mcrInstance::mnParser_on_interpreter_thread+00000036
[ 75] 0x0000000074982220 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00074272 mcr::setInterpreterThreadToCurrent+00031664
[ 76] 0x0000000074982280 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00074368 mcr::setInterpreterThreadToCurrent+00031760
[ 77] 0x0000000005f9f9d6 C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00391638 UIW_IsUserMessage+00000086
[ 78] 0x0000000005fa0095 C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00393365 UIW_SetGLIMUserMsg+00000117
[ 79] 0x00000000777987fe C:\Windows\system32\USER32.dll+00165886 GetMenuBarInfo+00000638
[ 80] 0x000000007777f5fb C:\Windows\system32\USER32.dll+00062971 SystemParametersInfoW+00000235
[ 81] 0x0000000077784895 C:\Windows\system32\USER32.dll+00084117 IsProcessDPIAware+00000465
[ 82] 0x00000000778c1225 C:\Windows\SYSTEM32\ntdll.dll+00332325 KiUserCallbackDispatcher+00000031
[ 83] 0x000000007778908a C:\Windows\system32\USER32.dll+00102538 PeekMessageW+00000186
[ 84] 0x00000000777850fe C:\Windows\system32\USER32.dll+00086270 GetKeyState+00000238
[ 85] 0x0000000077783a6f C:\Windows\system32\USER32.dll+00080495 PeekMessageA+00000087
[ 86] 0x0000000005f79a1b C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00236059 UIW_SetCurrentDialog+00000731
[ 87] 0x0000000005fa1532 C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00398642 ws_FreeSystemFont+00000482
[ 88] 0x0000000004308930 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00887088 services::system_events::PpeDispatchHook::~PpeDispatchHook+00055600
[ 89] 0x00000000043092f5 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00889589 services::system_events::PpeDispatchHook::~PpeDispatchHook+00058101
[ 90] 0x000000000430a100 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00893184 services::system_events::PpeDispatchHook::~PpeDispatchHook+00061696
[ 91] 0x00000000043128d2 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00927954 svWS_ProcessPendingEvents+00001090
[ 92] 0x000000007498329d C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00078493 mcr::setInterpreterThreadToCurrent+00035885
[ 93] 0x0000000074983562 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00079202 mcr::setInterpreterThreadToCurrent+00036594
[ 94] 0x0000000074976915 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00026901 mcrInstantiationError::operator=+00003781
[ 95] 0x0000000074979d52 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00040274 mcr_invoke_on_interpreter_thread+00001602
[ 96] 0x0000000140005591 C:\Program Files\MATLAB\R2013a\bin\win64\MATLAB.exe+00021905
[ 97] 0x0000000140005c3a C:\Program Files\MATLAB\R2013a\bin\win64\MATLAB.exe+00023610
[ 98] 0x0000000140006103 C:\Program Files\MATLAB\R2013a\bin\win64\MATLAB.exe+00024835
[ 99] 0x000000007766652d C:\Windows\system32\kernel32.dll+00091437 BaseThreadInitThunk+00000013
[100] 0x000000007789c521 C:\Windows\SYSTEM32\ntdll.dll+00181537 RtlUserThreadStart+00000033
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.*\* This crash report has been saved to disk as C:\Users\Node-3\AppData\Local\Temp\matlab_crash_dump.2420-1 **
Caught MathWorks::System::FatalException
[Please exit and restart MATLAB]>>
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the repeated test_kernels calls in MATLAB R2013a on the Windows 7 configuration described. Inspect the openclcmd.mexw64 entry point and the test_kernels path implicated by the stack trace; done means identifying and preventing the segmentation violation after the fourth run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100