MATLAB Abnormal termination: Access Violation help.?
26 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
------------------------------------------------------------------------
Access violation detected at Mon Feb 25 14:10:48 2019
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: NVIDIA Corporation GeForce 210/PCIe/SSE2 Version 3.3.0
Default Encoding : windows-1252
Deployed : false
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce 210 Version 9.18.13.4052
Host Name : VIETNAM
MATLAB Architecture : win64
MATLAB Entitlement ID: 720279
MATLAB Root : C:\Program Files\MATLAB\R2016b
MATLAB Version : 9.1.0.441655 (R2016b)
OpenGL : hardware
Operating System : Microsoft Windows 7 Professional
Processor ID : x86 Family 111 Model 1 Stepping 2, AuthenticAMD
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 0000000080004005 RBX = 0000000000000000
RCX = 0000000000000000 RDX = 000001e112140001
RSP = 00000000d7fffae0 RBP = 0000000000000000
RSI = 00000001327e98e0 RDI = 00000001327e9100
R8 = 0000000006265440 R9 = 000007fefd8426e0
R10 = 00000000d7fff010 R11 = 000001e0ffff0000
R12 = 0000000000000000 R13 = 0000000073730000
R14 = 0000000000000000 R15 = 00000001327e9918
RIP = 000000007377bc73 EFL = 00010287
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x000000007377bc73 C:\Program Files\MATLAB\R2016b\toolbox\opc\opc\opcmex.mexw64+00310387
[ 1] 0x000000007378181e C:\Program Files\MATLAB\R2016b\toolbox\opc\opc\opcmex.mexw64+00333854
[ 2] 0x00000000771b59ed C:\Windows\system32\kernel32.dll+00088557 BaseThreadInitThunk+00000013
[ 3] 0x00000000773eb371 C:\Windows\SYSTEM32\ntdll.dll+00177009 RtlUserThreadStart+00000033
hello,
i am trying to get values form the GUI to fuction but getting some error related acess violation.. can anybody help..?
thank you.
0 comentarios
Respuestas (2)
Felix Bader
el 27 de Feb. de 2020
Hi,
I had a similar issue with Matlab 2018a (Access violation, Abnormal termination).
I contacted the support and got the following message:
"...you are running into a crash when MATLAB is trying to copy data from the managed .NET world to native MATLAB datatypes. And there is indeed an issue with this operation in MATLAB: during this operation the .NET data has to be "pinned" such that the .NET Garbage collector cannot delete or move the data while we are copying it. And while we actually intended to do that, we are in practice accidentally only preventing the garbage collector from deleting the data, not from moving it. So, a crash can occur if the .NET Garbage collector decides to move the data while we are copying from it. Typically, the garbage collector does not move around data that often, which explains why the issue does not always occur.
There are no workarounds in current MATLAB releases, there is simply no way in which we guarantee that the garbage collector will not move the data when the arrays have not been properly pinned.
This issue should be fixed in the upcoming R2020a release, in that version the arrays are pinned correctly."
There is already a Matlab 2020 pre-release version available.
Give a try!
Regards,
Felix
0 comentarios
Rishabh Gupta
el 4 de Mzo. de 2019
Hi Sumit,
I think the issue requires some detail investigation. I would suggest you to contact MathWorks Technical Support.
Thanks
0 comentarios
Ver también
Categorías
Más información sobre GigE Vision Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!