SUMMARY systematic crash after chess move STEPS TO REPRODUCE 1. open "end of party" chess game 2. move queen F1 to E2 -OR- move queen G1 to E3 OBSERVED RESULT systematic crash basic log : exeCount set to: xxx qml: enter main.qml (run #xxx, ratio=2.076923076923077, fontRatio=2.25, dpi=128, sharedWritablePath=/home/***/.local/share/GCompris) Downloading resource file "data2/voices-ogg/voices-fr.rcc" Local resource is up-to-date: "voices-fr.rcc" Successfully registered resource "/home/***/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-fr.rcc" Erreur de segmentation (core dumped) ( last line : segfault in French without detail ) EXPECTED RESULT no crash SOFTWARE/OS VERSIONS Linux/KDE Plasma: xUbuntu 18.10 - (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: 5 ADDITIONAL INFORMATION gcompris-qt 0.91 (xUbuntu 18.10) (thx to specify into help if a verbose mode is available )
Hi, thank you for the report. Can you give the exact Qt version (when launching GCompris, in the 'G' button, there should be slomething like "Using Qt version ...")? Does the crash happen in other chess games and is it only these 2 moves that crashes? I'll get a ubuntu vm with 18.10 to try to reproduce the issue.
I can reproduce, I installed a vm with kubuntu 18.10, gcompris-qt from package and it crashes in libQt5Qml I'll debug it later.
Issue still there with latest master code
It says : Qt 5.11.1 Such issue occurs on majority of chess move. (i managed to do some moves on level 6 of "end of party")
It's a Qt bug, it does not crash with Qt5.11.3 installed via Qt-online, but crashes with Qt5.11.1 and Qt5.11.2 from Qt-online. I'll try to contact people from https://packages.ubuntu.com/cosmic/qt5-doc to know if/when they plan to update Qt in ubuntu.
potential impacted distributions: https://distrowatch.com/search.php?pkg=qt&relation=similar&pkgver=5.11.1&distrorange=InLatest#pkgsearch https://distrowatch.com/search.php?pkg=qt&relation=similar&pkgver=5.11.2&distrorange=InLatest#pkgsearch
A temporary workaround would be to use https://gcompris.net/downloads-fr.html#linux (you can install it in ~/gcompris_qt for example) and once the distribution has updated the Qt version, you'll just have to remove this folder.
It was caused by Qt5.11.1 or Qt5.11.2 which should not be used anymore by distributions.