-
Notifications
You must be signed in to change notification settings - Fork 201
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
failing to start Qtconsole on PyPy-3.8/PySide6-6.3.0 #535
Comments
No idea, sorry. |
PyQtGraph started to inquire on problems with PyPy. |
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 ( [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 ( [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 ... but in the said place there is only |
It gets apparently further if I remove existing directory Now there is a kernel-8704.json in the expected place 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
|
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 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
|
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
|
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
WinDbg analysis
|
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 |
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 ?
The text was updated successfully, but these errors were encountered: