필터 지우기
필터 지우기

When I call Python with MATLAB, MATLAB crashes with the following error report.

조회 수: 4 (최근 30일)
祥
2023년 10월 8일
편집: Karanjot 2023년 11월 15일
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : GBK
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Shanghai Best Oray Information Technology Co., Ltd. ( 0x0 ) OrayIddDriver Device Version 17.1.58.818 (2022-11-15)
Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 1650 Version 31.0.15.3623 (2023-6-8)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 6257193
MATLAB Root : C:\Program Files\Polyspace\R2019b
MATLAB Version : 9.7.0.1190202 (R2019b)
OpenGL : hardware
Operating System : Microsoft Windows 10
Process ID : 20900
Processor ID : x86 Family 6 Model 191 Stepping 2, GenuineIntel
Session Key : a9e28aaf-35ab-4ba0-b322-dcdf42bdd07b
Window System : Version 10.0 (Build 19045)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 00000000000006e0 RBX = 00007ffb1a61e0a8
RCX = 000000003f07c6e0 RDX = 00007ffb1a61e0a8
RSP = 000000004101d9a0 RBP = 000000004101eeb0
RSI = 000000017ba90f30 RDI = 000000003f07c672
R8 = 000000003f07c6e0 R9 = 000000004101eaa0
R10 = 0000000000000fff R11 = 0000000000000ff0
R12 = 000000017ba90f30 R13 = 0000000000000000
R14 = 000000004101e670 R15 = 000000004101eaa0
RIP = 00007ffb316713d7 EFL = 00010287
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffb316713d7 C:\Program Files\Polyspace\R2019b\bin\win64\VCRUNTIME140.dll+00005079 strstr+00000359
[ 1] 0x00007ffb1a604e8c C:\Program Files\Polyspace\R2019b\bin\win64\wpcap.dll+00085644 pcap_parsesrcstr+00000124
[ 2] 0x00007ffb1a609c09 C:\Program Files\Polyspace\R2019b\bin\win64\wpcap.dll+00105481 wsockinit+00001241
[ 3] 0x00007ffb1a60a647 C:\Program Files\Polyspace\R2019b\bin\win64\wpcap.dll+00108103 pcap_open_live+00000199
[ 4] 0x00007ffb1a69ddd3 C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00384467 arp_net::net_adapter_helper::net_adapter_helper+00004659
[ 5] 0x00007ffb1a69afd8 C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00372696 ASG_UpdateFirmwareProcessCB_ALL+00117096
[ 6] 0x00007ffb1a669ed8 C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00171736
[ 7] 0x00007ffb1a66aee3 C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00175843 arp_net::net_adapter_helper::~net_adapter_helper+00000579
[ 8] 0x00007ffb1a69bf71 C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00376689 ASG_UpdateFirmwareProcessCB_ALL+00121089
[ 9] 0x00007ffb1a66be9d C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00179869 arp_net::net_adapter_helper::~net_adapter_helper+00004605
[ 10] 0x00007ffb1a669f7e C:\xMLC-0.10_updated\xMLC-0.10\PythonSDK\asglib\module_64\ASG_SDK.DLL+00171902
[ 11] 0x00007ffb1b0d91c4 C:\Program Files\Polyspace\R2019b\bin\win64\MSVCP140.dll+00102852 Concurrency::details::_ContextCallback::_CallInContext+00000212
[ 12] 0x00007ffb4aff2230 C:\Windows\SYSTEM32\ntdll.dll+00401968 TpAllocPool+00002656
[ 13] 0x00007ffb4afe31ba C:\Windows\SYSTEM32\ntdll.dll+00340410 TpReleaseCleanupGroupMembers+00002778
[ 14] 0x00007ffb49a67344 C:\Windows\System32\KERNEL32.DLL+00095044 BaseThreadInitThunk+00000020
[ 15] 0x00007ffb4afe26b1 C:\Windows\SYSTEM32\ntdll.dll+00337585 RtlUserThreadStart+00000033

답변 (1개)

Karanjot
Karanjot 2023년 11월 15일
편집: Karanjot 2023년 11월 15일
Hi,
I understand that you have encountered an access violation crash while invoking Python from MATLAB.
The crash occurred while executing code related to the interaction between MATLAB and Python. This error occurs when the program attempts to access memory that it is not allowed to access, resulting in a crash. Crashes may happen due to an error internal to MATLAB.
I request you to share the steps to reproduce the crash to support further investigation. Kindly share the associated Python version as well. Here's a list of supported Python versions for each release:
Since you are using an NVIDIA graphic card, I also recommend you upgrade the drivers for your graphics card. You can find the latest available drivers for NVIDIA below:
The drivers for your graphics card are outdated. Upgrading drivers may help resolve the crash. Please download and install the latest driver available for your graphics card.
To learn more about this, please refer to the webpage below:
I hope this helps!

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by