old-knossos
old-knossos copied to clipboard
run crash after building on Debian 10
I try to build knossos on Debian 10 following the building instructions and it crash when I launch it with ninja run.
I have the current versions of Debian 10 packages, that is:
- python 3.7.3
- pyqt5 5.11.3
Here is what happen:
darckense@lodoss:~/jeux/git/knossos$ ninja run
[0/1] RUN
INFO:MainThread:util.<module>: Deactivating pyOpenSSL...
INFO:MainThread:launcher.main: Running Knossos 0.14.2-dev+1f60d92 on PyQt5 and Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0].
INFO:MainThread:launcher.main: OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
malloc_consolidate(): invalid chunk size
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = python3.7 path = /usr/bin pid = 783
KCrash: Arguments:
Alarm clock
FAILED: run
/usr/bin/python3 /home/darckense/jeux/git/knossos/knossos/__main__.py
ninja: build stopped: subcommand failed.
Thank you,
Darckense
Unfortunately, I can't tell from that alone what the error is. Can you run Knossos in gdb?
You can launch Knosss in gdb by running gdb python3 and then entering run /home/darckense/jeux/git/knossos/knossos/__main__.py.
Once it crashes, enter bt on the gdb prompt. That should print out a stacktrace which will tell us more about where the error ocurred.
To close gdb afterwards, enter quit.
Looks like /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so is initializing KDE's KCrash library (/lib/x86_64-linux-gnu/libKF5Crash.so.5) which then fails with corrupted double-linked list.
I'm not sure what's causing the issue. Can you try again with QT_QPA_PLATFORM set to an empty string? (So basically QT_QPA_PLATFORM= gdb and then the same commands as before)
I want to make sure that this is an issue with Knossos and not KDE.
I'm not sure if I have done it right, but here is the result of :
$ QT_QPA_PLATFORM=
$ gdb python 3
(gdb) run /home/darckense/jeux/git/knossos/knossos/__main__.py
(gdb) bt
Thank you
-- Darckense