Created attachment 175704 [details] output of `locale` command *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY Opening a book/epub crashes Arianna. Arianna launches properly, but clicking on a book on the Library menu crashes Arianna and the application closes. Same with executing `arianna mybook.epub`. The window opens but then soon crashes before opening the book. The epub file does not matter as none of the books that i have tried works. And i am certain i used to open the same files before in an older version of Arianna (i don't remember the exact version). STEPS TO REPRODUCE 1. Open Arrianna 2. Click on a book on the Library menu (OR) 1. Open a file explorer. 2. Right click on an epub file. 3. click on "open with Arrianna" (OR) 1. Execute `arianna mybook.epub` in the terminal OBSERVED RESULT The window appears blank for a while(about 3s) then crashes. EXPECTED RESULT The book open with the text on screen. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-zen1-1-zen (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION Here is the terminal output while running `arianna mybook.epub` """ Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. "Running on http://127.0.0.1:45961/ (Press CTRL+C to quit)" qrc:/content/ui/main.qml:81: TypeError: Cannot read property 'hideSidebar' of null qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record qt.sql.qsqlquery: QSqlQuery::value: not positioned on a valid record Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:1098:5: QML RowLayout: StackView has detected conflicting anchors. Transitions may not execute properly. qrc:/content/ui/EpubViewerPage.qml:269: TypeError: Cannot read property 'timeInChapter' of undefined qrc:/content/ui/EpubViewerPage.qml:273: TypeError: Cannot read property 'timeInBook' of undefined search started qml: WEB: 2 Not allowed to load local resource: file://mybook.epub/ 1 qml: WEB: 2 Uncaught ReferenceError: setStyle is not defined 1 qml: WEB: 2 Uncaught ReferenceError: setStyle is not defined 1 qml: WEB: 2 Uncaught ReferenceError: setStyle is not defined 1 qrc:/content/ui/main.html qml: WEB: 2 Uncaught ReferenceError: setStyle is not defined 1 qrc:/content/ui/main.html [1] 125480 segmentation fault (core dumped) arianna mybook.epub """ idk if this i even relevant but here is the output of `locale` """ locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC=en_IN.UTF-8 LC_TIME=en_IO.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=en_IN.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT=en_IN.UTF-8 LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= """
Created attachment 175705 [details] terminal output while running `arianna mybook.epub`
Created attachment 175706 [details] here is the backtrace from gdb after the crash
btw Arrianna was installed using pacman in Arch. All other software is up-to-date (as of Sun Nov 10 03:41:59 PST 2024). And for the gdb backtrace, It was created by clicking on the book in the Library menu.
Created attachment 176052 [details] a full backtrace with debug symbols I have a very similar crash (on Arch too), so here's a full backtrace. KF: 6.8, Qt: 6.8.0, arianna: 24.08.3