Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My app is crashing in python 3.9.12 #591

Open
rksinghal opened this issue Jan 21, 2025 · 1 comment
Open

My app is crashing in python 3.9.12 #591

rksinghal opened this issue Jan 21, 2025 · 1 comment

Comments

@rksinghal
Copy link

Describe the bug
My application is crashing in python on windows machine.

To Reproduce
Getting reproduced on the machine with the application. Without application, I don't have steps to reproduce it.

Expected behavior
The application is supposed to run smoothly. But it is crashing and not able to launch the application.

Environment (please complete the following information):

  • OS Platform, Distribution, and Version: Microsoft Windows 11 Enterprise
  • Python Distribution and Version: 3.9.12

Additional context
The stacktrace:
`EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 0000000000000000
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 0

FAULTING_THREAD: 00001ff8

PROCESS_NAME: MyApp.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.

EXCEPTION_CODE_STR: 80000003

STACK_TEXT:
000000927938d208 00007ffa53dc0aaa : 0000000000000004 0000023b80e93b58 0000023b818f2600 00007ffa53dd4cdb : python39!PyLong_AsDouble+0x6a0
000000927938d210 00007ffa53dc116d : 0000023b80e93b48 000000927938d390 0000023b81aa19b0 0000000000000004 : python39!PyNumber_Check+0xda
000000927938d250 00007ffa53eed201 : 0000023b80e93b48 0000023b81aa1a90 0000023b818f5140 000000000000002e : python39!PyNumber_Add+0x1d
000000927938d290 00007ffa53de0451 : 0000023b80e938b8 0000000000000001 0000023b80e938c0 00007ffa53de037a : python39!PyEval_EvalFrameDefault+0x1361
000000927938d3f0 00007ffa53de054e : 0000023b80e3b510 000000927938d650 0000000000000000 00007ffa53f0a713 : python39!PyCFunction_Call+0x91
000000927938d420 00007ffa53eea3f9 : 0000023b80e936f0 0000000000000000 0000023b80e936f0 0000023b818ed230 : python39!PyFunction_Vectorcall+0x7e
000000927938d4d0 00007ffa53ef246f : 000000927938d610 000000000000006f 0f07193c38dd7640 0000023b80e92ed8 : python39!PyOS_URandomNonblock+0x229
000000927938d510 00007ffa53eecdb1 : 000000000000006f 0000023b80e938c0 0000023b818eea60 0000000000000088 : python39!PyEval_GetFuncDesc+0x39f
000000927938d550 00007ffa53de0451 : 000000927938d810 0000000000000002 000000927938d820 0000023b818b0ac8 : python39!PyEval_EvalFrameDefault+0xf11
000000927938d6b0 00007ffa53de054e : 0000023b80e3b510 00007ffa53de04d0 0000000000000000 0000023b818b0ad8 : python39!PyCFunction_Call+0x91
000000927938d6e0 00007ffa53de0014 : 317fb51a616979a1 0000023b818f5298 0000023b818f5280 0000000000000000 : python39!PyFunction_Vectorcall+0x7e
000000927938d790 00007ffa53de08f2 : 0000023b80e3b510 000000927938d848 0000023b818f2430 000000927938d820 : python39!PyObject_FastCallDictTstate+0xd4
000000927938d7e0 00007ffa53e539c8 : 0000023b818f2400 00007ffa00000000 0000000000000000 00007ffa53e4b04f : python39!PyObject_Call_Prepend+0xa2
000000927938d880 00007ffa53e4536b : 0000023b80e7b940 0000023b80e7b940 0000023b818f2430 0000023b818f2400 : python39!PyType_Ready+0x4ea8
000000927938d8e0 00007ffa53de017f : 0000000000000000 0000023b818f2430 0000023b80e3b510 0000000000000000 : python39!PyType_Name+0x164b
000000927938d920 00007ffa53ef246f : 000000927938da70 000000000000006f 0000023b80e3b510 0000023b80e780e8 : python39!PyObject_MakeTpCall+0x10f
000000927938d970 00007ffa53eecdb1 : 000000000000006f 0000023b818dcb38 0000023b818dcb28 000000927938dab0 : python39!PyEval_GetFuncDesc+0x39f
000000927938d9b0 00007ffa53de0451 : 0000023b818b27b0 0000000000000002 0000023b818b27c0 00007ffa53f13b2c : python39!PyEval_EvalFrameDefault+0xf11
000000927938db10 00007ffa53de054e : 0000023b80e3b510 0000023b80e3b510 0000000000000000 00007ffa53e2f8be : python39!PyCFunction_Call+0x91
000000927938db40 00007ffa53de28d2 : 0000000000000040 0000023b818ec670 0000023b80e3b510 00007ffa541546e0 : python39!PyFunction_Vectorcall+0x7e
000000927938dbf0 00007ffa53eea3f9 : 0000000000000000 00007ffa541493a0 0000023b818cb630 0000000000000000 : python39!PyMethod_Self+0xd2
000000927938dca0 00007ffa53ef246f : 000000927938ddd0 00000000000000af 0000023b818b2610 0000023b818b27b0 : python39!PyOS_URandomNonblock+0x229
000000927938dce0 00007ffa53eeef88 : 00000000000000af 0000023b818b27c0 000000927938de20 0000000000000088 : python39!PyEval_GetFuncDesc+0x39f
000000927938dd20 00007ffa53de0451 : 0000023b80e68780 0000000000000002 0000023b80e68790 000000927938dec0 : python39!PyEval_EvalFrameDefault+0x30e8
000000927938de80 00007ffa53de054e : 0000023b80e3b510 0000023b80e3b510 0000000000000000 0000000000000000 : python39!PyCFunction_Call+0x91
000000927938deb0 00007ffa53de28d2 : 0000000000000040 0000023b818ec700 0000023b80e3b510 0000023b818a8420 : python39!PyFunction_Vectorcall+0x7e
000000927938df60 00007ffa53eea3f9 : 0000000000000000 000000927938e190 0000023b818cd030 0000000000000000 : python39!PyMethod_Self+0xd2
000000927938e010 00007ffa53ef246f : 000000927938e140 00000000000000af 0000023b80e685c0 0000023b80e68780 : python39!PyOS_URandomNonblock+0x229
000000927938e050 00007ffa53eeef88 : 00000000000000af 0000023b80e68790 000000927938e190 0000000000000088 : python39!PyEval_GetFuncDesc+0x39f
000000927938e090 00007ffa53ef0dea : 0000023b80e3b510 0000023b818cc3a0 0000000000000043 00007ffa53f16c96 : python39!PyEval_EvalFrameDefault+0x30e8
000000927938e1f0 00007ffa53de0654 : 0000023b80e3b510 0000023b80e685c0 0000023b80e68728 0000023b80e3b510 : python39!PyEval_EvalFrameDefault+0x4f4a
000000927938e2a0 00007ffa53de28d2 : 0000023b818cd260 0000023b80e3b510 0000023b818b1f9a 0000023b81857f08 : python39!PyFunction_Vectorcall+0x184
000000927938e350 00007ffa53eea3f9 : 0000000000000000 0000023b818781b0 0000023b818cb870 0000000000000000 : python39!PyMethod_Self+0xd2
000000927938e400 00007ffa53ef246f : 000000927938e530 00000000000000af 0000023b81857d60 0000023b81857f00 : python39!PyOS_URandomNonblock+0x229
000000927938e440 00007ffa53eeef88 : 00000000000000af 0000023b81857f20 000000927938e580 000000927938e580 : python39!PyEval_GetFuncDesc+0x39f
000000927938e480 00007ffa53ef0dea : 0000023b80e3b510 0000023b818cc450 0000000000000043 0000023b80e3b510 : python39!PyEval_EvalFrameDefault+0x30e8
000000927938e5e0 00007ffa53de0654 : 0000023b80e3b510 0000023b81857d60 0000023b81857ec8 0000023b80e3b510 : python39!PyEval_EvalFrameDefault+0x4f4a
000000927938e690 00007ffa53de28d2 : 0000023b818cd2b0 0000023b80e3b510 0000023b818a022c 0000023b80e677c0 : python39!PyFunction_Vectorcall+0x184
000000927938e740 00007ffa53eea3f9 : 0000023b818ec8b0 0000000000000000 0000023b80e7a6d0 00007ffa53e45e44 : python39!PyMethod_Self+0xd2
000000927938e7f0 00007ffa53ef246f : 000000927938e930 000000000000006f 0000000000000000 0000023b80e66dd8 : python39!PyOS_URandomNonblock+0x229
000000927938e830 00007ffa53eecdb1 : 000000000000006f 0000023b80e677d8 00007ffa54154ac0 0000000000000088 : python39!PyEval_GetFuncDesc+0x39f
000000927938e870 00007ffa53ef0dea : 0000023b80e3b510 0000023b818a70e0 0000000000000043 0000023b818a7ed0 : python39!PyEval_EvalFrameDefault+0xf11
000000927938e9d0 00007ffa53de0654 : 0000023b80e3b510 0000023b80e675f0 0000023b80e67758 0000023b80e3b510 : python39!PyEval_EvalFrameDefault+0x4f4a
000000927938ea80 00007ffa53eea3f9 : 0000023b818a3fb0 000000927938ecb0 0000023b818a221c 0000000000000002 : python39!PyFunction_Vectorcall+0x184
000000927938eb30 00007ffa53ef246f : 000000927938ec70 000000000000006f f16ee2fd0f88c8f9 0000023b80e66dd8 : python39!PyOS_URandomNonblock+0x229
000000927938eb70 00007ffa53eecdb1 : 000000000000006f 0000023b80e69f98 0000023b818b10d0 0000000000000088 : python39!PyEval_GetFuncDesc+0x39f
000000927938ebb0 00007ffa53de0451 : 0000023b818dc598 0000000000000002 0000023b818dc5a8 0000000000000000 : python39!PyEval_EvalFrameDefault+0xf11
000000927938ed10 00007ffa53de054e : 0000023b80e3b510 000000927938ef70 0000000000000000 0000023b818a7326 : python39!PyCFunction_Call+0x91
000000927938ed40 00007ffa53eea3f9 : 0000023b818580e0 000000927938ef70 0000023b818dc400 0000023b818a5ee0 : python39!PyFunction_Vectorcall+0x7e
000000927938edf0 00007ffa53ef246f : 000000927938ef30 000000000000006f 625054255e454903 0000023b80e66dd8 : python39!PyOS_URandomNonblock+0x229
000000927938ee30 00007ffa53eecdb1 : 000000000000006f 0000023b818dc5a8 0000023b818b11f0 0000000000000088 : python39!PyEval_GetFuncDesc+0x39f
000000927938ee70 00007ffa53de0451 : 000000927938f120 0000000000000002 000000927938f130 0000023b80f21140 : python39!PyEval_EvalFrameDefault+0xf11
000000927938efd0 00007ffa53de054e : 0000023b80e3b510 000000927938f1f0 0000000000000000 00007ffa541546e0 : python39!PyCFunction_Call+0x91
000000927938f000 00007ffa53ddfca9 : 0000023b818a9270 0000023b818a9270 00007ffa541546e0 000000927938f1a0 : python39!PyFunction_Vectorcall+0x7e
000000927938f0b0 00007ffa53de111e : 0000000000000002 0000000000000000 0000000000000006 00007ffa53ded1d5 : python39!PyBytesWriter_WriteBytes+0x109
000000927938f0f0 00007ffa53de1354 : 0000023b818f61f0 0000000000000000 0000000000000000 0000023b818b1280 : python39!PyObject_CallMethodId_SizeT+0x1ee
000000927938f180 00007ffa53f228bc : 0000023b818f6230 00007ffa54173980 0000023b818f61f0 0000023b8188eb80 : python39!PyObject_CallMethodIdObjArgs+0x74
000000927938f1e0 00007ffa53f22c08 : 0000023b80e3b510 0000000000000000 0000023b00000000 0000000000000000 : python39!PyImport_ImportModuleNoBlock+0xabc
000000927938f260 00007ffa53ee516f : 0000023b818c7e30 0000023b8188eb80 0000023b80e3b510 0000000000000000 : python39!PyImport_ImportModuleLevelObject+0x148
000000927938f2c0 00007ffa53e26ab6 : 0000000000000000 0000000000000004 000000927938f3f8 00007ffa00000000 : python39!PyAST_Optimize+0x55ef
000000927938f340 00007ffa53de017f : 0000023b818c4db0 00007ffa540ce878 0000023b8188eae0 00007ffa541546e0 : python39!PyCFunction_GetFlags+0xf26
000000927938f370 00007ffa53de0a55 : 0000000000000000 0000000000000005 0000023b8188eb80 000000927938f400 : python39!PyObject_MakeTpCall+0x10f
000000927938f3c0 00007ffa53de0b04 : 0000000000000000 00007ffa53f31c05 000000927938f4b8 0000000000000000 : python39!PyObject_Call_Prepend+0x205
000000927938f460 00007ffa53f231f0 : 00007ffa540de6fc 00007ffa540de704 0000023b818f61f0 0000023b818d0bc0 : python39!PyObject_CallFunction+0x34
000000927938f4a0 00007ffa53ef76bb : 0000023b818f61f0 0000000000000000 0000000000000000 0000023b818edbb0 : python39!PyImport_Import+0x1e0
000000927938f510 00007ffa53ef40a0 : 0000023b80e3d8f0 0000023b80e3b510 000000927938f6d0 0000023b80e3d8f0 : python39!PyCodec_NameReplaceErrors+0x15fb
000000927938f540 00007ffa53e8a2e3 : 0000023b80e3b510 000000927938f5d0 0000000000000000 0000000000000000 : python39!PyCodec_Lookup+0x50
000000927938f590 00007ffa53f3a120 : 0000023b80e314d0 0000023b80e3d8f0 0000023b80e3b510 000000927938f6d0 : python39!PyUnicode_AsUnicodeCopy+0x263
000000927938f5d0 00007ffa53f3a677 : 0000000000000000 000000927938f770 0000023b80e3b510 0000000000000000 : python39!Py_PreInitializeFromConfig+0x890
000000927938f6b0 00007ffa53f3a83c : 0000000000000000 000000927938f970 000000927938f7e0 0000000000000000 : python39!Py_PreInitializeFromConfig+0xde7
000000927938f730 00007ffa53f3a9a2 : 0000023b80e3b510 0000000000000001 0000000000000000 0000000000000000 : python39!Py_InitializeFromConfig+0xec
000000927938f7a0 00007ff613371e86 : 00007ffa53cb0000 0000000000000001 00007ff61337a200 0000000000000000 : python39!Py_InitializeEx+0x122
000000927938f9a0 00007ff613371144 : 0000000000000000 0000000000000001 0000023b80e2b170 0000000000000000 : MyApp+0x1e86
000000927938fe10 00007ff613374d60 : 0000023b80e2b170 00007ff613374dd9 0000000000000000 0000000000000000 : MyApp+0x1144
000000927938fe40 00007ffaeb4d259d : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : MyApp!PyCMethod_New+0x290
000000927938fe80 00007ffaec7eaf38 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x1d
000000927938feb0 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x28`

SYMBOL_NAME: python39+6a0
MODULE_NAME: python39
IMAGE_NAME: python39.dll
FAILURE_BUCKET_ID: BREAKPOINT_80000003_python39.dll!Unknown

@bsteffensmeier
Copy link
Member

Unfortunately there is not enough information here for me to understand the issue. The most common cause of crashes with Jep is using sub-interpreters with a module that does not support sub-interpreters so if you are using sub-interpreters I recommend trying to run test cases that omit some modules to see if you can narrow down which ones may be problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants