Issue 36463: python37.dll crashing 0xc000041d (original) (raw)

Created on 2019-03-28 19:32 by Savagery, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
debug.rar Savagery,2019-03-28 19:32 My code
Messages (4)
msg339074 - (view) Author: Savagery (Savagery) Date: 2019-03-28 19:32
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.
msg339102 - (view) Author: Savagery (Savagery) Date: 2019-03-29 10:41
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.
msg339130 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2019-03-29 18:39
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.
msg401503 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-09-09 17:53
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
2019-03-29 18:40:03 brett.cannon set status: pending -> opennosy: - brett.cannon
2019-03-29 18:39:52 brett.cannon set status: open -> pendingnosy: + brett.cannonmessages: +
2019-03-29 10:42:23 Savagery set components: + Windows
2019-03-29 10:41:48 Savagery set messages: + components: + ctypes, - Windows
2019-03-28 19:32:46 Savagery create