failing to start Qtconsole on PyPy-3.8/PySide6-6.3.0
stonebig opened this issue · 14 comments
PySide6-6.3.0 is available at last for PyPy-3.8 / Windows10
Trying to start QtConsole ... it doesn't start.
Does anyone have a clue ? does it start on non-windows ?
No idea, sorry.
PyQtGraph started to inquire on problems with PyPy.
Apparently, first issues they found are not specific to Windows pyqtgraph/pyqtgraph#2270
pyqtgraph has some non-pypy specific issues with the 6.3 release. We're seeing segfaults when an object gets garbage collected with an active signal/slot connection.
In terms of pypy-specific issues, the only one we noticed so far is the order of inheritance when a python object has multiple inheritances; I don't know if the QtConsole makes use of multiple inheritances in this way or not.
class A:
pass
class B(A, QObject):
pass
class C(QObject, A):
pass
b = B() # this will segfault
c = C() # this one is ok
Not sure if this helps with finding the issue, but this is the debug log I get when I try to run qtconsole with PyPy v7.3.9 and Pyside6 v6.3.0 on Windows, if I manually connect to an existing ipykernel (.\pypy.exe -m qtconsole --existing kernel-11904.json --debug
). Qtconsole promptly auto-quits after the last message and returns to the regular command line.
[JupyterQtConsoleApp] Searching ['C:\\Users\\xxx\\Desktop\\WPy64-38122b3\\pypy3.8-v7.3.9-win64', 'C:\\Users\\xxx\\.jupyter', 'C:\\Users\\xxx\\AppData\\Roaming\\PyPy\\etc\\jupyter', 'C:\\Users\\xxx\\Desktop\\WPy64-38122b3\\pypy3.8-v7.3.9-win64\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Connecting to existing kernel: C:\Users\xxx\AppData\Roaming\jupyter\runtime\kernel-11904.json
[JupyterQtConsoleApp] Loading connection file C:\Users\xxx\AppData\Roaming\jupyter\runtime\kernel-11904.json
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:49527
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:49527
If I don't specify an existing ipykernel (.\pypy.exe -m qtconsole --debug
), then qtconsole auto-quits after "connection file not found":
[JupyterQtConsoleApp] Searching ['C:\\Users\\xxx\\Desktop\\WPy64-38122b3\\pypy3.8-v7.3.9-win64', 'C:\\Users\\xxx\\.jupyter', 'C:\\Users\\xxx\\AppData\\Roaming\\PyPy\\etc\\jupyter', 'C:\\Users\\xxx\\Desktop\\WPy64-38122b3\\pypy3.8-v7.3.9-win64\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\Desktop\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Connection File not found: C:\Users\xxx\AppData\Roaming\jupyter\runtime\kernel-41136.json
Jupyter-console v6.4.3 itself seems to work OK in this setup and I have tried connecting to both existing ipykernels powered by CPython and PyPy, so jupyter-console and ipykernel don't seem to be the heart of this problem?
For comparison, this is the debug log I get when qtconsole runs successfully with CPython:
[JupyterQtConsoleApp] Searching ['C:\\WinPython\\3.10\\python-3.10.0.amd64', 'C:\\Users\\xxx\\.jupyter', 'C:\\Users\\xxx\\AppData\\Roaming\\Python\\etc\\jupyter', 'C:\\WinPython\\3.10\\python-3.10.0.amd64\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\WinPython\3.10\python-3.10.0.amd64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\AppData\Roaming\Python\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\WinPython\3.10\python-3.10.0.amd64
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\WinPython\3.10\python-3.10.0.amd64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\AppData\Roaming\Python\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\WinPython\3.10\python-3.10.0.amd64
[JupyterQtConsoleApp] Connection File not found: C:\Users\xxx\AppData\Roaming\jupyter\runtime\kernel-44128.json
[JupyterQtConsoleApp] Starting kernel: ['C:\\WinPython\\3.10\\python-3.10.0.amd64\\python.exe', '-m', 'ipykernel_launcher', '-f', 'C:\\Users\\xxx\\AppData\\Roaming\\jupyter\\runtime\\kernel-44128.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:52769
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:52766
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:52766
[JupyterQtConsoleApp] connecting iopub channel to tcp://127.0.0.1:52767
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:52767
[JupyterQtConsoleApp] connecting stdin channel to tcp://127.0.0.1:52768
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:52768
[JupyterQtConsoleApp] connecting heartbeat channel to tcp://127.0.0.1:52770
[JupyterQtConsoleApp] connecting control channel to tcp://127.0.0.1:52769
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:52769
qt.qpa.fonts: Unable to open default EUDC font: "EUDC.TTE"
[JupyterQtConsoleApp] Received history reply with 1000 entries
I reproduce the same error as you ...
[JupyterQtConsoleApp] Connection File not found: C:\WinP\bd38\buPyPy\WPy64-38122b3\settings\runtime\kernel-12572.json
but in the said place there is only
C:\WinP\bd38\buPyPy\WPy64-38122b3\settings\runtime\kernel-6844.json
It gets apparently further if I remove existing directory C:\Users\{username}\.jupyter
Now there is a kernel-8704.json in the expected place C:\WinP\bd38\buPyPy\WPy64-38122b3\settings\runtime
So it can be WinPython "false or no more valid and accumulated" attempts to internalize settings that comes in the way ? suggestions welcomed on how to tweak WinPython build-up
[JupyterQtConsoleApp] Looking for jupyter_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\helene\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\helene\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Connection File not found: C:\WinP\bd38\buPyPy\WPy64-38122b3\settings\runtime\kernel-8704.json
[JupyterQtConsoleApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[JupyterQtConsoleApp] Starting kernel: ['C:\\WinP\\bd38\\buPyPy\\WPy64-38122b3\\pypy3.8-v7.3.9-win64\\pypy.exe', '-m', 'ipykernel_launcher', '-f', 'C:\\WinP\\bd38\\buPyPy\\WPy64-38122b3\\settings\\runtime\\kernel-8704.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:56675
C:\WinP\bd38\buPyPy\WPy64-38122b3\pypy3.8-v7.3.9-win64>[IPKernelApp] WARNING | Parent appears to have exited, shutting down.
Just to be clear, qtconsole works with the WinPython setup under CPython 3.10.0 and Pyside6 6.3.0 (i.e. same version of Pyside6 as the PyPy setup), so it seems like the issue may not be with the WinPython build-up? This may be a newbie question, but @ccordoba12, is there a way of getting even more verbose debug information to see what the program is dying from? It seems like even debug-level logging isn't shedding a whole lot of light into the problem.
I think you can pass it through gdb for that. @dalthviz knows more about it.
To run using gdb you can use someting like this: https://github.com/spyder-ide/spyder/blob/68ec982947fe9571a5a99ace5425bda1313bb856/.github/workflows/test-linux.yml#L123
Just in case, in the Spyder CI we use gdb from conda-forge since it comes with the py-bt
command already configured: https://github.com/spyder-ide/spyder/blob/68ec982947fe9571a5a99ace5425bda1313bb856/.github/scripts/install.sh#L10
Also, maybe this is related with the segfault that was found when checking the Spyder test suite on Debian?: spyder-ide/spyder#17651 (comment)
Well something strange is happening: qtconsole fires up if I run it through gdb or WinDbg. Note that the ipykernel dies at least once before working properly in both cases. With WinDbg, I also have to continue through exceptions a few times before the GUI fires up. See the first text block below for the gdb output (I can't get py-bt to work on Windows quite yet, not sure if it ever with PyPy bytecode anyhow).
When I run qtconsole without gdb or WinDbg, qtconsole continues to crash as described above, and Windows logs are telling me that Shiboken6 is the faulting module. Details in the text block at the bottom of the comment.
gdb output
[New Thread 28800.0x7120]
[New Thread 28800.0x6e4c]
[New Thread 28800.0x8520]
warning: onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(550)\nlansp_c.dll!00007FFB26EAC759: (caller: 00007FFB33EE388E) LogHr(1) tid(b5c4) 8007277C No such service is known. The service cannot be found in the specified name space.
[New Thread 28800.0x2f48]
[New Thread 28800.0x641c]
[JupyterQtConsoleApp] Searching ['C:\\winpython\\WPy64-38122b3\\pypy3.8-v7.3.9-win64', 'C:\\Users\\xxx\\.jupyter', 'C:\\Users\\xxx\\AppData\\Roaming\\PyPy\\etc\\jupyter', 'C:\\winpython\\WPy64-38122b3\\pypy3.8-v7.3.9-win64\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\winpython\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:\winpython\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\ProgramData\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\winpython\WPy64-38122b3\pypy3.8-v7.3.9-win64\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\AppData\Roaming\PyPy\etc\jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\Users\xxx\.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:\winpython\WPy64-38122b3\pypy3.8-v7.3.9-win64
[JupyterQtConsoleApp] Connection File not found: C:\Users\xxx\AppData\Roaming\jupyter\runtime\kernel-28800.json
[New Thread 28800.0x5308]
[New Thread 28800.0x7610]
[Thread 28800.0x5308 exited with code 0]
[Thread 28800.0x7610 exited with code 0]
[New Thread 28800.0xb2cc]
[JupyterQtConsoleApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[JupyterQtConsoleApp] Starting kernel: ['C:\\winpython\\WPy64-38122b3\\pypy3.8-v7.3.9-win64\\pypy.exe', '-m', 'ipykernel_launcher', '-f', 'C:\\Users\\xxx\\AppData\\Roaming\\jupyter\\runtime\\kernel-28800.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:50361
[New Thread 28800.0x6304]
[New Thread 28800.0xba7c]
[New Thread 28800.0x8004]
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:50357
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:50357
[New Thread 28800.0x6630]
[New Thread 28800.0x9c08]
[JupyterQtConsoleApp] connecting iopub channel to tcp://127.0.0.1:50358
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:50358
[JupyterQtConsoleApp] connecting stdin channel to tcp://127.0.0.1:50359
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:50359
[JupyterQtConsoleApp] connecting heartbeat channel to tcp://127.0.0.1:50360
[New Thread 28800.0x8d18]
[JupyterQtConsoleApp] connecting control channel to tcp://127.0.0.1:50361
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:50361
qt.qpa.fonts: Unable to open default EUDC font: "EUDC.TTE"
[New Thread 28800.0x528c]
[Thread 28800.0x528c exited with code 0]
[New Thread 28800.0xa7a0]
[New Thread 28800.0x42a0]
warning: mincore\com\oleaut32\dispatch\ups.cpp(2126)\OLEAUT32.dll!00007FFB334F1924: (caller: 00007FFB334F1A5A) ReturnHr(1) tid(b5c4) 8002801D Library not registered.
[JupyterQtConsoleApp] WARNING | kernel died: 4.439018964767456
[JupyterQtConsoleApp] Received history reply with 15 entries
[JupyterQtConsoleApp] execute_input: {'code': 'credits', 'execution_count': 1}
[JupyterQtConsoleApp] execute_result: {'data': {'text/plain': 'PyPy is maintained by the PyPy developers: http://pypy.org/'}, 'metadata': {}, 'execution_count': 1}
[JupyterQtConsoleApp] execute_result: {'data': {'text/plain': 'PyPy is maintained by the PyPy developers: http://pypy.org/'}, 'metadata': {}, 'execution_count': 1}
[JupyterQtConsoleApp] execute_reply: {'status': 'ok', 'execution_count': 1, 'user_expressions': {}, 'payload': []}
[Thread 28800.0x7120 exited with code 0]
[Thread 28800.0x6e4c exited with code 0]
[Thread 28800.0x8520 exited with code 0]
[Thread 28800.0x42a0 exited with code 0]
[Thread 28800.0x2f48 exited with code 0]
[Thread 28800.0xa7a0 exited with code 0]
[New Thread 28800.0x17e8]
[New Thread 28800.0x6d40]
[New Thread 28800.0x44f0]
Windows error log when qtconsole is run without gdb or WinDbg
Faulting application name: pypy.exe, version: 0.0.0.0, time stamp: 0x6231f140
Faulting module name: shiboken6.pypy38-pp73-win_amd64.dll, version: 0.0.0.0, time stamp: 0x62555cf2
Exception code: 0xc0000005
Fault offset: 0x0000000000004c54
Faulting process id: 0xbba8
Faulting application start time: 0x01d85cb3db1250ee
Faulting application path: C:\WinPython\WPy64-38122b3\pypy3.8-v7.3.9-win64\pypy.exe
Faulting module path: C:\WinPython\WPy64-38122b3\pypy3.8-v7.3.9-win64\lib\site-packages\shiboken6\shiboken6.pypy38-pp73-win_amd64.dll
Report Id: 3a5b23af-1e67-47b9-9595-0cd9103565c5
Faulting package full name:
Faulting package-relative application ID:
I'm also adding WinDbg analysis of the crash dump that gets generated when I run qtconsole without executing through gdb or WinDbg, in case this helps. However, since this is PyPy, I haven't managed to get the calling function in Python yet.
WinDbg analysis
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for libpypy3-c.dll
*** WARNING: Unable to verify checksum for pypy.exe
*** WARNING: Unable to verify checksum for libzmq.pypy38-pp73-win_amd64.pyd
KEY_VALUES_STRING: 1
Key : AV.Fault
Value: Read
Key : Analysis.CPU.mSec
Value: 4717
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 109513
Key : Analysis.Init.CPU.mSec
Value: 2843
Key : Analysis.Init.Elapsed.mSec
Value: 30609
Key : Analysis.Memory.CommitPeak.Mb
Value: 167
Key : Timeline.Process.Start.DeltaSec
Value: 121
Key : WER.OS.Branch
Value: co_release
Key : WER.OS.Timestamp
Value: 2021-06-04T16:28:00Z
Key : WER.OS.Version
Value: 10.0.22000.1
NTGLOBALFLAG: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=0000000000000000 rbx=0000018f93da4520 rcx=0000000000008b90
rdx=0000018f8c818790 rsi=0000018f8c818790 rdi=0000018f8fa37480
rip=00007ffae74a4c54 rsp=0000008f660fc520 rbp=0000000000000004
r8=0000000000000000 r9=0000018f8c7b3f00 r10=0000000000000005
r11=0000008f660fc510 r12=0000000000000000 r13=00007ffa6fc30000
r14=00007ffaaa2d6310 r15=00007ffa6fc30000
iopl=0 nv up ei pl nz na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206
shiboken6_pypy38_pp73_win_amd64!Shiboken::Object::cppPointer+0x74:
00007ffa`e74a4c54 488b04c1 mov rax,qword ptr [rcx+rax*8] ds:00000000`00008b90=????????????????
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffae74a4c54 (shiboken6_pypy38_pp73_win_amd64!Shiboken::Object::cppPointer+0x0000000000000074)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 0000000000008b90
Attempt to read from address 0000000000008b90
PROCESS_NAME: pypy.exe
READ_ADDRESS: 0000000000008b90
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR: c0000005
EXCEPTION_PARAMETER1: 0000000000000000
EXCEPTION_PARAMETER2: 0000000000008b90
STACK_TEXT:
0000008f`660fc520 00007ffa`aa2d64b3 : 0000018f`93da4520 0000018f`8afbcd80 00007ffa`aa2d6310 00007ffa`6fe9069e : shiboken6_pypy38_pp73_win_amd64!Shiboken::Object::cppPointer+0x74
0000008f`660fc570 00007ffa`7047120d : 00000000`00000000 00007ffa`716c1638 0000018f`8afbcd80 0000018f`93da4520 : QtCore_pypy38_pp73_win_amd64+0x1364b3
0000008f`660fc5a0 00007ffa`704a6bb5 : 00000000`00000000 00007ffa`6fc30000 00000000`00000000 0000018f`88d528e8 : libpypy3_c!PyPyNumber_Long+0x8185f0
0000008f`660fc5f0 00007ffa`6fe1caa2 : 00000000`00000000 00007ffa`6fc30000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x84df98
0000008f`660fc620 00007ffa`6fe95cca : 0000018f`88d52808 00000000`00000000 00007ffa`6fc30000 0000018f`88d52808 : libpypy3_c!PyPyNumber_Long+0x1c3e85
0000008f`660fc680 00007ffa`7059c24b : 00000000`00000000 0000018f`88d52750 00007ffa`6fc30000 00007ffa`7161f5d0 : libpypy3_c!PyPyNumber_Long+0x23d0ad
0000008f`660fc6d0 00007ffa`6fdbb7f4 : 00000000`00000000 0000018f`88d0e088 0000018f`8c865b78 0000018f`88d52750 : libpypy3_c!PyPyNumber_Long+0x94362e
0000008f`660fc700 00007ffa`6fe95cca : 00000000`00000000 00007ffa`6fc30000 00000000`00000000 00007ffa`6fc30000 : libpypy3_c!PyPyNumber_Long+0x162bd7
0000008f`660fc760 00007ffa`7059c24b : 00000000`00000000 00007ffa`6fc30000 00007ffa`6fc30000 00007ffa`716ddd70 : libpypy3_c!PyPyNumber_Long+0x23d0ad
0000008f`660fc7b0 00007ffa`705a1ec2 : 00000000`00000000 0000018f`88d0e088 00000000`00000004 0000018f`88d52640 : libpypy3_c!PyPyNumber_Long+0x94362e
0000008f`660fc7e0 00007ffa`705d3da3 : 0000018f`88d0e088 00007ffa`705ca40b 00000000`00000004 00007ffa`716c1638 : libpypy3_c!PyPyNumber_Long+0x9492a5
0000008f`660fc840 00007ffa`7076aa75 : 0000018f`93d08430 0000018f`88d0e088 00000000`00000004 0000018f`8978d9c0 : libpypy3_c!PyPyNumber_Long+0x97b186
0000008f`660fc880 00007ffa`6ff22e2d : 00000000`0000001a 0000018f`872ce020 00000000`00000004 00007ffa`705a2359 : libpypy3_c!PyPyNumber_Long+0xb11e58
0000008f`660fc8e0 00007ffa`6ff275dc : 0000018f`88d69c90 00000000`00000000 00000000`00000000 00007ffa`700cba7d : libpypy3_c!PyPyNumber_Long+0x2ca210
0000008f`660fc930 00007ffa`7055abe3 : 0000018f`88d69c90 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fc980 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 00007ffa`712782c8 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fc9b0 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88d69c90 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fc9f0 00007ffa`6fea0616 : 0000008f`660fca30 00000000`00000000 00000000`00000000 0000018f`91bc5888 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fca30 00007ffa`6ff51948 : 0000018f`88d69cf8 00000000`00000006 0000018f`93cde088 00007ffa`705d3da3 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fca80 00007ffa`6ff5740b : 0000018f`91ba9880 0000018f`91b9e9c0 00000000`00000005 00000000`00000001 : libpypy3_c!PyPyNumber_Long+0x2f8d2b
0000008f`660fcad0 00007ffa`707673f8 : 00000000`00000032 0000018f`93cde088 00000000`00000000 00000000`00000032 : libpypy3_c!PyPyNumber_Long+0x2fe7ee
0000008f`660fcb10 00007ffa`6ff2209f : 00000000`00000032 0000018f`872ce020 00000000`00000005 0000018f`93cde088 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000008f`660fcb40 00007ffa`6ff275dc : 0000018f`93cde088 00000000`00000000 00000000`00000000 00007ffa`6fc9b08d : libpypy3_c!PyPyNumber_Long+0x2c9482
0000008f`660fcb90 00007ffa`7055abe3 : 0000018f`93cde088 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fcbe0 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 0000018f`91bd3460 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fcc10 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88d71440 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fcc50 00007ffa`6fea0616 : 0000008f`660fcc90 0000018f`88d71400 00000000`00000000 0000018f`913866b0 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fcc90 00007ffa`6fef0c92 : 0000018f`88d713c8 00007ffa`7124c440 00007ffa`6fc30000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fcce0 00007ffa`7059c03c : 0000018f`88d713c8 0000018f`93cc1780 00000000`00000000 0000018f`88d713c8 : libpypy3_c!PyPyNumber_Long+0x298075
0000008f`660fcd30 00007ffa`6ff3c81c : 00007ffa`6fc30000 0000018f`872ce020 00000000`00000001 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0x94341f
0000008f`660fcd60 00007ffa`6ff22051 : 00000000`0000000c 0000018f`872ce020 00000000`00000001 0000018f`88d70450 : libpypy3_c!PyPyNumber_Long+0x2e3bff
0000008f`660fcdc0 00007ffa`6ff275dc : 0000018f`88d70450 00000000`00000000 00000000`00000000 0000018f`88d70518 : libpypy3_c!PyPyNumber_Long+0x2c9434
0000008f`660fce10 00007ffa`7055abe3 : 0000018f`88d70450 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fce60 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 0000018f`91bbf178 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fce90 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88d70450 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fced0 00007ffa`6fea0616 : 0000008f`660fcf10 00000000`00000000 00000000`00000000 0000018f`91386a10 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fcf10 00007ffa`6fe9f992 : 00007ffa`726688c0 0000018f`88d70450 00007ffa`6fc30000 0000018f`872ce020 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fcf60 00007ffa`6ff57648 : 00000000`00000000 00007ffa`6fc30000 0000018f`872ce020 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0x246d75
0000008f`660fcfd0 00007ffa`707673f8 : 00000000`00000052 0000018f`93a7b060 00000000`00000000 00000000`00000052 : libpypy3_c!PyPyNumber_Long+0x2fea2b
0000008f`660fd010 00007ffa`6ff2209f : 00000000`00000052 0000018f`872ce020 00000000`00000000 0000018f`914a52d0 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000008f`660fd040 00007ffa`6ff275dc : 0000018f`88d653c8 00000000`00000000 00000000`00000000 00007ffa`6fe94a9c : libpypy3_c!PyPyNumber_Long+0x2c9482
0000008f`660fd090 00007ffa`7055abe3 : 0000018f`88d653c8 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fd0e0 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 0000018f`9139c800 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fd110 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88d653c8 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fd150 00007ffa`6fea0616 : 0000008f`660fd190 00000000`00000000 00000000`00000000 0000018f`8faee218 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fd190 00007ffa`6ff51948 : 0000018f`88d65430 00000000`00000001 0000018f`914758e8 00000000`00000004 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fd1e0 00007ffa`6ff5740b : 0000018f`8faf8200 0000018f`8faf4560 00000000`00000000 00000000`00000001 : libpypy3_c!PyPyNumber_Long+0x2f8d2b
0000008f`660fd230 00007ffa`707673f8 : 00000000`00000028 0000018f`8faee218 00007ffa`6fc30000 00000000`00000028 : libpypy3_c!PyPyNumber_Long+0x2fe7ee
0000008f`660fd270 00007ffa`6ff2209f : 00000000`00000028 0000018f`872ce020 00000000`00000000 00007ffa`6fc9b08d : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000008f`660fd2a0 00007ffa`6ff275dc : 0000018f`88da5160 00000000`00000000 00000000`00000000 0000018f`9164af60 : libpypy3_c!PyPyNumber_Long+0x2c9482
0000008f`660fd2f0 00007ffa`7055abe3 : 0000018f`88da5160 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fd340 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fd370 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88da5160 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fd3b0 00007ffa`6fea0616 : 0000008f`660fd3f0 00000000`00000000 00000000`00000000 0000018f`89ad2020 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fd3f0 00007ffa`6ff51948 : 0000018f`88da51c8 00000000`00000002 0000018f`911ebc90 00007ffa`705d3da3 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fd440 00007ffa`6ff5740b : 0000018f`8faf82a0 0000018f`8faf4640 00000000`00000002 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2f8d2b
0000008f`660fd490 00007ffa`707673f8 : 00000000`00000086 0000018f`89ad2020 00007ffa`6fc30000 00000000`00000086 : libpypy3_c!PyPyNumber_Long+0x2fe7ee
0000008f`660fd4d0 00007ffa`6ff2209f : 00000000`00000086 0000018f`872ce020 00000000`00000002 00000000`00000026 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000008f`660fd500 00007ffa`6ff275dc : 0000018f`911ebc90 00000000`00000000 00000000`00000000 00007ffa`6ff23da3 : libpypy3_c!PyPyNumber_Long+0x2c9482
0000008f`660fd550 00007ffa`7055abe3 : 0000018f`911ebc90 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fd5a0 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 0000018f`8bf8b9a0 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fd5d0 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88cc8330 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fd610 00007ffa`6fea0616 : 0000008f`660fd650 0000018f`88cc8200 00000000`00000000 0000018f`89ab9130 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fd650 00007ffa`6fe9f992 : 00007ffa`726688c0 0000018f`88cc8330 00007ffa`6fc30000 00007ffa`726688c0 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fd6a0 00007ffa`7059bfe5 : 00000000`00000000 0000018f`88cc8288 00007ffa`6fc30000 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0x246d75
0000008f`660fd710 00007ffa`6ff3c81c : 00007ffa`6fc30000 0000018f`872ce020 00000000`00000001 0000018f`88cc8218 : libpypy3_c!PyPyNumber_Long+0x9433c8
0000008f`660fd740 00007ffa`6ff22051 : 00000000`00000010 0000018f`872ce020 00000000`00000001 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0x2e3bff
0000008f`660fd7a0 00007ffa`6ff275dc : 0000018f`88cc7300 00000000`00000000 00000000`00000000 0000018f`88cc73f0 : libpypy3_c!PyPyNumber_Long+0x2c9434
0000008f`660fd7f0 00007ffa`7055abe3 : 0000018f`88cc7300 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fd840 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 0000018f`8b6e45a0 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fd870 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88cc7300 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000008f`660fd8b0 00007ffa`6fea0616 : 0000008f`660fd8f0 00000000`00000000 00000000`00000000 0000018f`8b99b040 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000008f`660fd8f0 00007ffa`6fe9f992 : 00007ffa`726688c0 0000018f`88cc7300 00007ffa`6fc30000 0000018f`872ce020 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000008f`660fd940 00007ffa`6ff57648 : 00000000`00000000 00007ffa`6fc30000 0000018f`872ce020 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0x246d75
0000008f`660fd9b0 00007ffa`707673f8 : 00000000`00000014 0000018f`8b6e45a0 00007ffa`6fc30000 00000000`00000014 : libpypy3_c!PyPyNumber_Long+0x2fea2b
0000008f`660fd9f0 00007ffa`6ff2209f : 00000000`00000014 0000018f`872ce020 00000000`00000001 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000008f`660fda20 00007ffa`6ff275dc : 0000018f`88d06c50 00000000`00000000 00000000`00000000 00007ffa`726688c0 : libpypy3_c!PyPyNumber_Long+0x2c9482
0000008f`660fda70 00007ffa`7055abe3 : 0000018f`88d06c50 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000008f`660fdac0 00007ffa`70943337 : 00000000`00000000 00000000`00000000 00000000`00000000 0000018f`914b8e30 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000008f`660fdaf0 00007ffa`7055609b : 00000000`00000000 00000000`00000000 0000018f`88d06c50 00007ffa`7124c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
SYMBOL_NAME: shiboken6_pypy38_pp73_win_amd64!Shiboken::Object::cppPointer+74
MODULE_NAME: shiboken6_pypy38_pp73_win_amd64
IMAGE_NAME: shiboken6.pypy38-pp73-win_amd64.dll
STACK_COMMAND: ~0s ; .ecxr ; kb
FAILURE_BUCKET_ID: NULL_POINTER_READ_c0000005_shiboken6.pypy38-pp73-win_amd64.dll!Shiboken::Object::cppPointer
OS_VERSION: 10.0.22000.1
BUILDLAB_STR: co_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
FAILURE_ID_HASH: {04d87972-6ad6-7b7c-0dfa-db7559fb533d}
Followup: MachineOwner
---------
Just for documentation purposes, qtconsole run without gdb or WinDbg on PyPy sometimes dies with the faulting module as ntdll, as called from QtCore, instead of Shiboken6 as described above. All of these signs seem to suggest some sort of race condition.
I still haven't found the cause of the issue yet or what the program was even trying to do when it crashes. I tried going to the extreme of tracing every line as they're executed, but since the program is (I believe) multi-threaded and since this seems to be a race condition, nothing useful came out of that exercise.
Windows event log
Faulting application name: pypy.exe, version: 0.0.0.0, time stamp: 0x6231f140
Faulting module name: ntdll.dll, version: 10.0.22000.527, time stamp: 0x931cda92
Exception code: 0xc0000374
Fault offset: 0x000000000010c0a9
Faulting process id: 0x4e34
Faulting application start time: 0x01d8622ce19014b9
Faulting application path: C:\Python\WPy64-38122b3\pypy3.8-v7.3.9-win64\pypy.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 838c83bf-e5b5-4f4c-8745-eb10b7cccfb0
Faulting package full name:
Faulting package-relative application ID:
WinDbg analysis
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for libpypy3-c.dll
*** WARNING: Unable to verify checksum for pypy.exe
KEY_VALUES_STRING: 1
Key : Analysis.CPU.mSec
Value: 1717
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 4406
Key : Analysis.Init.CPU.mSec
Value: 4577
Key : Analysis.Init.Elapsed.mSec
Value: 50355
Key : Analysis.Memory.CommitPeak.Mb
Value: 96
Key : Timeline.OS.Boot.DeltaSec
Value: 175758
Key : Timeline.Process.Start.DeltaSec
Value: 10
Key : WER.OS.Branch
Value: co_release
Key : WER.OS.Timestamp
Value: 2021-06-04T16:28:00Z
Key : WER.OS.Version
Value: 10.0.22000.1
NTGLOBALFLAG: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=00007ff96fe888c0 rbx=00000000c0000374 rcx=0000015859f1f3f0
rdx=00007ff96ea96170 rsi=0000000000000001 rdi=00007ffa3b5f7780
rip=00007ffa3b58c0a9 rsp=0000001ee02fce70 rbp=000001585e706400
r8=0000015859f1e520 r9=0000000000000001 r10=0000000000000000
r11=0000000000000000 r12=0000000000000000 r13=0000000000000001
r14=0000000000000003 r15=0000000000000000
iopl=0 nv up ei pl nz na pe nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202
ntdll!RtlReportFatalFailure+0x9:
00007ffa`3b58c0a9 eb00 jmp ntdll!RtlReportFatalFailure+0xb (00007ffa`3b58c0ab)
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffa3b58c0a9 (ntdll!RtlReportFatalFailure+0x0000000000000009)
ExceptionCode: c0000374
ExceptionFlags: 00000081
NumberParameters: 1
Parameter[0]: 00007ffa3b5f7780
PROCESS_NAME: pypy.exe
ERROR_CODE: (NTSTATUS) 0xc0000374 - A heap has been corrupted.
EXCEPTION_CODE_STR: c0000374
EXCEPTION_PARAMETER1: 00007ffa3b5f7780
STACK_TEXT:
0000001e`e02fce70 00007ffa`3b58c073 : 0000001e`e0300000 00007ffa`3b5f77d8 00007ff9`6fe8c000 00007ff9`6d450000 : ntdll!RtlReportFatalFailure+0x9
0000001e`e02fcec0 00007ffa`3b594e92 : 00000000`0000000d 00007ffa`3b5f7780 00000000`00000003 00000158`58290000 : ntdll!RtlReportCriticalFailure+0x97
0000001e`e02fcfb0 00007ffa`3b59517a : 00000000`00000003 00000158`5e706400 00000158`58290000 00007ffa`3b4a7631 : ntdll!RtlpHeapHandleError+0x12
0000001e`e02fcfe0 00007ffa`3b59f665 : 00000158`5e7063f0 00000158`58290000 00000000`00000000 00000000`00000000 : ntdll!RtlpHpHeapHandleError+0x7a
0000001e`e02fd010 00007ffa`3b52e492 : 00000158`5e26f4f0 00000000`00000001 00000000`00000000 00000158`5e7063e0 : ntdll!RtlpLogHeapFailure+0x45
0000001e`e02fd040 00007ffa`3b4a7631 : 00000158`5e7063f0 00000158`58290000 0000001e`e02fd200 00000000`00000000 : ntdll!RtlpFreeHeapInternal+0x86952
0000001e`e02fd100 00007ffa`38d0218b : 00000000`00000001 00000000`ffffffff 00000000`ffffffff 0000001e`e02fd200 : ntdll!RtlFreeHeap+0x51
0000001e`e02fd140 00007ff9`afc31d9a : 00000158`5e706400 00000000`00000000 00000000`00000000 00000158`5e26f4f0 : ucrtbase!_free_base+0x1b
0000001e`e02fd170 00007ff9`afc360b9 : 00000158`61b86c50 0000001e`e02fd200 00000000`ffffffff 00000158`5e706400 : QtCore_pypy38_pp73_win_amd64+0x131d9a
0000001e`e02fd1a0 00007ff9`6dcbe4a2 : 00007ff9`6d450000 00000158`59f22908 00000158`59f22908 00000000`00000000 : QtCore_pypy38_pp73_win_amd64+0x1360b9
0000001e`e02fd240 00007ff9`6dcc8882 : 00007ff9`6d450000 00000158`5bca50b0 00007ff9`6d450000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x845885
0000001e`e02fd290 00007ff9`6d63caa2 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x84fc65
0000001e`e02fd2c0 00007ff9`6d6b5cca : 00000158`59f227b8 00000000`00000000 00007ff9`6d450000 00000158`59f227b8 : libpypy3_c!PyPyNumber_Long+0x1c3e85
0000001e`e02fd320 00007ff9`6ddbc24b : 00007ff9`6d450000 00000000`00000001 00000000`00000000 00007ff9`6ee3f5d0 : libpypy3_c!PyPyNumber_Long+0x23d0ad
0000001e`e02fd370 00007ff9`6d775538 : 00000158`5ce4eb60 00000158`5a43e020 00000158`59f21bd8 00000158`5ceb3fd0 : libpypy3_c!PyPyNumber_Long+0x94362e
0000001e`e02fd3a0 00007ff9`6df873f8 : 00000000`00000000 00000158`61a07e88 00007ff9`6d450000 00000000`00000012 : libpypy3_c!PyPyNumber_Long+0x2fc91b
0000001e`e02fd3e0 00007ff9`6d74209f : 00000000`00000012 00000158`5a43e020 00000000`00000001 00007ff9`6eaa1c10 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000001e`e02fd410 00007ff9`6d7475dc : 00000158`59f21bd8 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2c9482
0000001e`e02fd460 00007ff9`6dd7abe3 : 00000158`59f21bd8 00000000`00000000 00000000`00000000 00007ff9`6de9780a : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fd4b0 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00000158`59f21b50 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fd4e0 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59f21bd8 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fd520 00007ff9`6d6c0616 : 0000001e`e02fd560 00000000`00000000 00000000`00000000 00000158`61a117c0 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fd560 00007ff9`6d6bf992 : 00007ff9`6fe888c0 00000158`59f21bd8 00007ff9`6d450000 00007ff9`6fe888c0 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fd5b0 00007ff9`6ddbbfe5 : 00000000`00000000 00000158`59f21a98 00007ff9`6d450000 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0x246d75
0000001e`e02fd620 00007ff9`6d75c81c : 00007ff9`6d450000 00000158`5a43e020 00000000`00000001 00000158`59f21a38 : libpypy3_c!PyPyNumber_Long+0x9433c8
0000001e`e02fd650 00007ff9`6d742051 : 00000000`00000042 00000158`5a43e020 00000000`00000001 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0x2e3bff
0000001e`e02fd6b0 00007ff9`6d7475dc : 00000158`59f21428 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2c9434
0000001e`e02fd700 00007ff9`6dd7abe3 : 00000158`59f21428 00000000`00000000 00000000`00000000 00007ff9`6d4e934b : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fd750 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00000158`59f212f8 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fd780 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59f21428 00000158`5f614330 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fd7c0 00007ff9`6d6c0616 : 0000001e`e02fd800 00000000`00000000 00000000`00000000 00000158`5cb51130 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fd800 00007ff9`6d710c92 : 00000158`59f213b0 00000158`5f614330 00000000`0000000c 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fd850 00007ff9`6def162b : 00000158`5b4f9d80 00000158`59f213b0 00000158`608ab230 00007ff9`6d450000 : libpypy3_c!PyPyNumber_Long+0x298075
0000001e`e02fd8a0 00007ff9`6d6b5739 : 00007ff9`6d450000 00000158`5ff9c750 00007ff9`6ea97dd0 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0xa78a0e
0000001e`e02fd8d0 00007ff9`6ddbc24b : 00000158`608ab230 00000000`00000000 00007ff9`6d450000 00007ff9`6d450000 : libpypy3_c!PyPyNumber_Long+0x23cb1c
0000001e`e02fd910 00007ff9`6df86ee6 : 00000000`00000000 00000000`00000000 00000000`00000000 00000158`59f1b868 : libpypy3_c!PyPyNumber_Long+0x94362e
0000001e`e02fd940 00007ff9`6d7420ed : 00000000`00000000 00000000`0000000c 00000000`00000058 00000158`5f4f88a8 : libpypy3_c!PyPyNumber_Long+0xb0e2c9
0000001e`e02fd9d0 00007ff9`6d7475dc : 00000158`59eea888 00000000`00000000 00000000`00000000 00007ff9`6d6b4a9c : libpypy3_c!PyPyNumber_Long+0x2c94d0
0000001e`e02fda20 00007ff9`6dd7abe3 : 00000158`59eea888 00000000`00000000 00000000`00000000 00000158`608abbf0 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fda70 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fdaa0 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59eea888 00000158`59eea888 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fdae0 00007ff9`6d6c0616 : 0000001e`e02fdb20 00000000`00000000 00000000`00000000 00000158`6087f5c8 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fdb20 00007ff9`6d771948 : 00000158`59eea8f0 00000000`00000001 00000158`5f4f8910 00000000`00000003 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fdb70 00007ff9`6d77740b : 00000158`610e03e0 00000158`613cb7c0 00000000`00000000 00000000`00000001 : libpypy3_c!PyPyNumber_Long+0x2f8d2b
0000001e`e02fdbc0 00007ff9`6df873f8 : 00000000`00000020 00000158`6087f5c8 00007ff9`6d450000 00000000`00000020 : libpypy3_c!PyPyNumber_Long+0x2fe7ee
0000001e`e02fdc00 00007ff9`6d74209f : 00000000`00000020 00000158`5a43e020 00000000`00000000 00007ff9`6d4bb08d : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000001e`e02fdc30 00007ff9`6d7475dc : 00000158`59f6add8 00000000`00000000 00000000`00000000 00000158`608a46f0 : libpypy3_c!PyPyNumber_Long+0x2c9482
0000001e`e02fdc80 00007ff9`6dd7abe3 : 00000158`59f6add8 00000000`00000000 00000000`00000000 00007ff9`6ef29420 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fdcd0 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00007ff9`6dd7609b : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fdd00 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59f6add8 00000158`59f6add8 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fdd40 00007ff9`6d6c0616 : 0000001e`e02fdd80 00000000`00000000 00000000`00000000 00000158`5a4774f8 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fdd80 00007ff9`6d771948 : 00000158`59f6ae40 00000000`00000002 00000158`5f2b4500 00007ff9`6ddf3da3 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fddd0 00007ff9`6d77740b : 00000158`610e0520 00000158`613cb600 00000000`00000002 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2f8d2b
0000001e`e02fde20 00007ff9`6df873f8 : 00000000`00000086 00000158`5a4774f8 00007ff9`6d450000 00000000`00000086 : libpypy3_c!PyPyNumber_Long+0x2fe7ee
0000001e`e02fde60 00007ff9`6d74209f : 00000000`00000086 00000158`5a43e020 00000000`00000002 00000000`00000026 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000001e`e02fde90 00007ff9`6d7475dc : 00000158`5f2b4500 00000000`00000000 00000000`00000000 00007ff9`6ddea40b : libpypy3_c!PyPyNumber_Long+0x2c9482
0000001e`e02fdee0 00007ff9`6dd7abe3 : 00000158`5f2b4500 00000000`00000000 00000000`00000000 00000158`608abbf0 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fdf30 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00000158`59f08e78 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fdf60 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59f08ea0 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fdfa0 00007ff9`6d6c0616 : 0000001e`e02fdfe0 00000158`59f08e00 00000000`00000000 00000158`5a74d820 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fdfe0 00007ff9`6d6bf992 : 00007ff9`6fe888c0 00000158`59f08ea0 00007ff9`6d450000 00007ff9`6fe888c0 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fe030 00007ff9`6ddbbfe5 : 00000000`00000000 00000158`59f08df8 00007ff9`6d450000 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0x246d75
0000001e`e02fe0a0 00007ff9`6d75c81c : 00007ff9`6d450000 00000158`5a43e020 00000000`00000001 00000158`59f08d88 : libpypy3_c!PyPyNumber_Long+0x9433c8
0000001e`e02fe0d0 00007ff9`6d742051 : 00000000`00000010 00000158`5a43e020 00000000`00000001 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0x2e3bff
0000001e`e02fe130 00007ff9`6d7475dc : 00000158`59f08b90 00000000`00000000 00000000`00000000 00000158`59f08c80 : libpypy3_c!PyPyNumber_Long+0x2c9434
0000001e`e02fe180 00007ff9`6dd7abe3 : 00000158`59f08b90 00000000`00000000 00000000`00000000 00000158`5ca43460 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fe1d0 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fe200 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59f08b90 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fe240 00007ff9`6d6c0616 : 0000001e`e02fe280 00000000`00000000 00000000`00000000 00000158`5cb26890 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fe280 00007ff9`6d6bf992 : 00007ff9`6fe888c0 00000158`59f08b90 00007ff9`6d450000 00000158`5a43e020 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fe2d0 00007ff9`6d777648 : 00000000`00000000 00007ff9`6d450000 00000158`5a43e020 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0x246d75
0000001e`e02fe340 00007ff9`6df873f8 : 00000000`00000014 00000158`5c863060 00007ff9`6d450000 00000000`00000014 : libpypy3_c!PyPyNumber_Long+0x2fea2b
0000001e`e02fe380 00007ff9`6d74209f : 00000000`00000014 00000158`5a43e020 00000000`00000001 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0xb0e7db
0000001e`e02fe3b0 00007ff9`6d7475dc : 00000158`59f6f510 00000000`00000000 00000000`00000000 00007ff9`6fe888c0 : libpypy3_c!PyPyNumber_Long+0x2c9482
0000001e`e02fe400 00007ff9`6dd7abe3 : 00000158`59f6f510 00000000`00000000 00000000`00000000 00007ff9`6d450000 : libpypy3_c!PyPyNumber_Long+0x2ce9bf
0000001e`e02fe450 00007ff9`6e163337 : 00000000`00000000 00000000`00000000 00000000`00000000 00000158`59f6f4e0 : libpypy3_c!PyPyNumber_Long+0x901fc6
0000001e`e02fe480 00007ff9`6dd7609b : 00000000`00000000 00000000`00000000 00000158`59f6f510 00007ff9`6ea6c440 : libpypy3_c!PyPyNumber_Long+0xcea71a
0000001e`e02fe4c0 00007ff9`6d6c0616 : 0000001e`e02fe500 00000158`59f6f400 00000000`00000000 00000158`5caf3490 : libpypy3_c!PyPyNumber_Long+0x8fd47e
0000001e`e02fe500 00007ff9`6d710c92 : 00000158`59f6f488 00007ff9`6ea6c440 00007ff9`6d450000 00000000`00000000 : libpypy3_c!PyPyNumber_Long+0x2479f9
0000001e`e02fe550 00007ff9`6ddbc03c : 00000158`59f6f488 00000158`59ef01c8 00000000`00000000 00000158`59f6f488 : libpypy3_c!PyPyNumber_Long+0x298075
0000001e`e02fe5a0 00007ff9`6d75c81c : 00007ff9`6d450000 00000158`5a43e020 00000000`00000001 00007ff9`6d450000 : libpypy3_c!PyPyNumber_Long+0x94341f
SYMBOL_NAME: ucrtbase!_free_base+1b
MODULE_NAME: ucrtbase
IMAGE_NAME: ucrtbase.dll
STACK_COMMAND: ~0s ; .ecxr ; kb
FAILURE_BUCKET_ID: HEAP_CORRUPTION_c0000374_ucrtbase.dll!_free_base
OS_VERSION: 10.0.22000.1
BUILDLAB_STR: co_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 10.0.22000.1
FAILURE_ID_HASH: {b6a03273-af94-b7c2-332b-2ff99c9fe9c0}
Followup: MachineOwner
---------
Also for documentation purposes, I finally got a chance to try this on Linux (well technically WSL) PyPy. Also seems like some sort of race condition here, as I'm getting different faults and different line numbers triggering the fault every time I initiate startup, but at least faulthandler is reporting something. The output is below:
Run 1
[JupyterQtConsoleApp] Searching ['/home/xxx/pppyside6/lib/pypy3.8/site-packages', '/home/xxx/.jupyter', '/home/xxx/pppyside6/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Connection File not found: /home/xxx/.local/share/jupyter/runtime/kernel-1926.json
[JupyterQtConsoleApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[JupyterQtConsoleApp] Starting kernel: ['/home/xxx/pppyside6/bin/pypy3', '-m', 'ipykernel_launcher', '-f', '/home/xxx/.local/share/jupyter/runtime/kernel-1926.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:49357
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:35587
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:35587
[JupyterQtConsoleApp] connecting iopub channel to tcp://127.0.0.1:52981
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:52981
malloc(): invalid size (unsorted)
Fatal Python error: Aborted
Stack (most recent call first, approximate line numbers):
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/util.py", line 60 in __new__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/client.py", line 359 in iopub_channel
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/client.py", line 290 in start_channels
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/threaded.py", line 266 in start_channels
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/kernel_mixins.py", line 44 in start_channels
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 338 in init_kernel_client
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 357 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 415 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 104 in inner
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 957 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_core/application.py", line 265 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 464 in main
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/__main__.py", line 1 in <module>
File "/usr/lib/pypy3.8/runpy.py", line 64 in _run_code
File "/usr/lib/pypy3.8/runpy.py", line 172 in _run_module_as_main
File "<builtin>/app_main.py", line 109 in run_toplevel
File "<builtin>/app_main.py", line 668 in run_command_line
File "<builtin>/app_main.py", line 1056 in entry_point
Aborted
Run 2
[JupyterQtConsoleApp] Searching ['/home/xxx/pppyside6/lib/pypy3.8/site-packages', '/home/xxx/.jupyter', '/home/xxx/pppyside6/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Connection File not found: /home/xxx/.local/share/jupyter/runtime/kernel-1953.json
[JupyterQtConsoleApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[JupyterQtConsoleApp] Starting kernel: ['/home/xxx/pppyside6/bin/pypy3', '-m', 'ipykernel_launcher', '-f', '/home/xxx/.local/share/jupyter/runtime/kernel-1953.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:54697
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:46671
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:46671
[JupyterQtConsoleApp] connecting iopub channel to tcp://127.0.0.1:53193
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:53193
[JupyterQtConsoleApp] connecting stdin channel to tcp://127.0.0.1:36925
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:36925
[JupyterQtConsoleApp] connecting heartbeat channel to tcp://127.0.0.1:41955
[JupyterQtConsoleApp] connecting control channel to tcp://127.0.0.1:54697
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:54697
corrupted size vs. prev_size
Fatal Python error: Aborted
Stack (most recent call first, approximate line numbers):
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 268 in init_qt_elements
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 415 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 104 in inner
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 957 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_core/application.py", line 265 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 464 in main
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/__main__.py", line 1 in <module>
File "/usr/lib/pypy3.8/runpy.py", line 64 in _run_code
File "/usr/lib/pypy3.8/runpy.py", line 172 in _run_module_as_main
File "<builtin>/app_main.py", line 109 in run_toplevel
File "<builtin>/app_main.py", line 668 in run_command_line
File "<builtin>/app_main.py", line 1056 in entry_point
Aborted
Run 3
[JupyterQtConsoleApp] Searching ['/home/xxx/pppyside6/lib/pypy3.8/site-packages', '/home/xxx/.jupyter', '/home/xxx/pppyside6/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Connection File not found: /home/xxx/.local/share/jupyter/runtime/kernel-1978.json
Fatal Python error: Segmentation fault
Stack (most recent call first, approximate line numbers):
File "<frozen importlib._bootstrap>", line 156 in __enter__
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1026 in _handle_fromlist
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/debugpy/server/api.py", line 5 in <module>
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<builtin>/frozen importlib._bootstrap_external", line 850 in exec_module
File "<frozen importlib._bootstrap>", line 659 in _load_unlocked
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1026 in _handle_fromlist
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/ipykernel/debugger.py", line 1 in <module>
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<builtin>/frozen importlib._bootstrap_external", line 850 in exec_module
File "<frozen importlib._bootstrap>", line 659 in _load_unlocked
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/ipykernel/kernelspec.py", line 1 in <module>
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<builtin>/frozen importlib._bootstrap_external", line 850 in exec_module
File "<frozen importlib._bootstrap>", line 659 in _load_unlocked
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/kernelspec.py", line 242 in _get_kernel_spec_by_name
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/kernelspec.py", line 281 in get_kernel_spec
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 173 in kernel_spec
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 327 in _async_pre_start_kernel
File "/usr/lib/pypy3.8/asyncio/tasks.py", line 263 in __step
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 192 in step
File "/usr/lib/pypy3.8/_contextvars.py", line 33 in run
File "/usr/lib/pypy3.8/asyncio/events.py", line 79 in _run
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 91 in _run_once
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 77 in run_until_complete
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/utils.py", line 12 in wrapped
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 370 in _async_start_kernel
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 64 in wrapper
File "/usr/lib/pypy3.8/asyncio/tasks.py", line 263 in __step
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 192 in step
File "/usr/lib/pypy3.8/_contextvars.py", line 33 in run
File "/usr/lib/pypy3.8/asyncio/events.py", line 79 in _run
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 91 in _run_once
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 77 in run_until_complete
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/utils.py", line 12 in wrapped
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 289 in init_kernel_manager
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 357 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 415 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 104 in inner
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 957 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_core/application.py", line 265 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 464 in main
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/__main__.py", line 1 in <module>
File "/usr/lib/pypy3.8/runpy.py", line 64 in _run_code
File "/usr/lib/pypy3.8/runpy.py", line 172 in _run_module_as_main
File "<builtin>/app_main.py", line 109 in run_toplevel
File "<builtin>/app_main.py", line 668 in run_command_line
File "<builtin>/app_main.py", line 1056 in entry_point
Segmentation fault
Run 4
[JupyterQtConsoleApp] Searching ['/home/xxx/pppyside6/lib/pypy3.8/site-packages', '/home/xxx/.jupyter', '/home/xxx/pppyside6/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Connection File not found: /home/xxx/.local/share/jupyter/runtime/kernel-1983.json
[JupyterQtConsoleApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[JupyterQtConsoleApp] Starting kernel: ['/home/xxx/pppyside6/bin/pypy3', '-m', 'ipykernel_launcher', '-f', '/home/xxx/.local/share/jupyter/runtime/kernel-1983.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:57617
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:55293
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:55293
malloc(): invalid size (unsorted)
Fatal Python error: Aborted
Stack (most recent call first, approximate line numbers):
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/util.py", line 60 in __new__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/client.py", line 349 in shell_channel
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/threaded.py", line 266 in start_channels
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/kernel_mixins.py", line 44 in start_channels
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 338 in init_kernel_client
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 357 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 415 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 104 in inner
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 957 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_core/application.py", line 265 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 464 in main
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/__main__.py", line 1 in <module>
File "/usr/lib/pypy3.8/runpy.py", line 64 in _run_code
File "/usr/lib/pypy3.8/runpy.py", line 172 in _run_module_as_main
File "<builtin>/app_main.py", line 109 in run_toplevel
File "<builtin>/app_main.py", line 668 in run_command_line
File "<builtin>/app_main.py", line 1056 in entry_point
Aborted
Run 5
[JupyterQtConsoleApp] Searching ['/home/xxx/pppyside6/lib/pypy3.8/site-packages', '/home/xxx/.jupyter', '/home/xxx/pppyside6/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /usr/local/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/etc/jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in /home/xxx/pppyside6/lib/pypy3.8/site-packages
[JupyterQtConsoleApp] Connection File not found: /home/xxx/.local/share/jupyter/runtime/kernel-2007.json
Fatal Python error: Segmentation fault
Stack (most recent call first, approximate line numbers):
File "<frozen importlib._bootstrap>", line 899 in _find_spec
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1026 in _handle_fromlist
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/debugpy/server/api.py", line 5 in <module>
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<builtin>/frozen importlib._bootstrap_external", line 850 in exec_module
File "<frozen importlib._bootstrap>", line 659 in _load_unlocked
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1026 in _handle_fromlist
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/ipykernel/debugger.py", line 1 in <module>
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<builtin>/frozen importlib._bootstrap_external", line 850 in exec_module
File "<frozen importlib._bootstrap>", line 659 in _load_unlocked
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/ipykernel/kernelspec.py", line 1 in <module>
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
File "<builtin>/frozen importlib._bootstrap_external", line 850 in exec_module
File "<frozen importlib._bootstrap>", line 659 in _load_unlocked
File "<frozen importlib._bootstrap>", line 965 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 995 in _find_and_load
File "<frozen importlib._bootstrap>", line 1011 in _gcd_import
File "<frozen importlib._bootstrap>", line 1090 in __import__
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/kernelspec.py", line 242 in _get_kernel_spec_by_name
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/kernelspec.py", line 281 in get_kernel_spec
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 173 in kernel_spec
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 327 in _async_pre_start_kernel
File "/usr/lib/pypy3.8/asyncio/tasks.py", line 263 in __step
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 192 in step
File "/usr/lib/pypy3.8/_contextvars.py", line 33 in run
File "/usr/lib/pypy3.8/asyncio/events.py", line 79 in _run
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 91 in _run_once
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 77 in run_until_complete
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/utils.py", line 12 in wrapped
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 370 in _async_start_kernel
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/manager.py", line 64 in wrapper
File "/usr/lib/pypy3.8/asyncio/tasks.py", line 263 in __step
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 192 in step
File "/usr/lib/pypy3.8/_contextvars.py", line 33 in run
File "/usr/lib/pypy3.8/asyncio/events.py", line 79 in _run
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 91 in _run_once
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/nest_asyncio.py", line 77 in run_until_complete
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/utils.py", line 12 in wrapped
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 289 in init_kernel_manager
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_client/consoleapp.py", line 357 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 415 in initialize
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 104 in inner
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/traitlets/config/application.py", line 957 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/jupyter_core/application.py", line 265 in launch_instance
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/qtconsoleapp.py", line 464 in main
File "/home/xxx/pppyside6/lib/pypy3.8/site-packages/qtconsole/__main__.py", line 1 in <module>
File "/usr/lib/pypy3.8/runpy.py", line 64 in _run_code
File "/usr/lib/pypy3.8/runpy.py", line 172 in _run_module_as_main
File "<builtin>/app_main.py", line 109 in run_toplevel
File "<builtin>/app_main.py", line 668 in run_command_line
File "<builtin>/app_main.py", line 1056 in entry_point
Segmentation fault
still failing today with PyPy-3.8-7.3.9 , PySide6-6.3.1 and Qtconsole-5.3.1, maybe less immediately but failing