Faulting application name: python.exe, version: 3.7.2150.1013, time stamp: 0x5c200a7f Faulting module name: python37.dll, version: 3.7.2150.1013, time stamp: 0x5c200a56 Exception code: 0xc000041d Fault offset: 0x0011517b Faulting process ID: 0x4c2c Faulting application start time: 0x01d4e5999a14e806 Faulting application path: C:\Users\lwilson\AppData\Local\Programs\Python\Python37-32\python.exe Faulting module path: C:\Users\lwilson\AppData\Local\Programs\Python\Python37-32\python37.dll Report ID: 511d75b6-febe-4358-a886-ccfd89b1747e Faulting package full name: Faulting package-relative application ID: ------ I'm using ctypes to create a UI in my code, python is crashing silently. Managed to get some info from windows event log. Have no clue why - seems the more static controls I create, the higher the likelihood of this happening is.
crash is caused by the WndProc definitions, seems having python code that does anything inside of those WINFUNCTYPE ctypes callbacks increasing the frequency of the python crash with positive correlation to amount of python code in the function.
Please provide code which consistently causes the crash, otherwise your use of ctypes makes the very likely not Python's fault and nearly impossible to debug without a working example.
Closing as there isn't enough information here for us to do anything about this. Also, Python 3.7 is no longer in maintenance. If you are still having this problem with a current version (>= 3.9) please create a new issue with information on how we can reproduce the problem.
History
Date
User
Action
Args
2022-04-11 14:59:13
admin
set
github: 80644
2021-09-09 17:53:38
iritkatriel
set
status: open -> closednosy: + iritkatrielmessages: + resolution: rejectedstage: resolved