Summary: | Kpat crashes while asking for a "new ricycle of a game" (F5 like) via the menu button | ||
---|---|---|---|
Product: | [Applications] kpat | Reporter: | stakanov |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, andrew.crouthamel, kde-games-bugs-null, pseudo-account |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 3.6 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kpat/9fedf33f5618a11424d615b1d8a784a8587ce237 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
stakanov
2016-05-31 07:00:17 UTC
When trying subsequently to open the game, the app states: error in opening the xml file. Then it opens but the respective game is not recovered any more. Statistics stay clean and to not count for a lost game. the correct error message is: premature end of xml file Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Is resolved in Leap 15, QT 5.9.4 Plasma 5.12.6 Kpat 3.6 Created attachment 116240 [details]
New crash information added by DrKonqi
kpat (3.6) using Qt 5.11.2
Last version of KDE Neon has the same error.
-- Backtrace (Reduced):
#6 0x00007fe07c35bf53 in operator== (s1=..., s2=...) at tools/qstring.cpp:3153
#7 0x0000563c0d5bed2c in operator!= (s2=..., s1=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:667
#8 DealerScene::saveFile (this=0x563c0e055a40, io=io@entry=0x7ffc37052c70) at ./dealer.cpp:380
#9 0x0000563c0d5d8a24 in MainWindow::closeEvent (this=0x563c0dd38d20, e=0x7ffc37053050) at ./mainwindow.cpp:777
#10 0x00007fe07d92fa98 in QWidget::event (this=this@entry=0x563c0dd38d20, event=event@entry=0x7ffc37053050) at kernel/qwidget.cpp:9287
Can you please give a more detailed description of what to do exactly to make it crash? Thanks for the update! (In reply to Albert Astals Cid from comment #6) > Can you please give a more detailed description of what to do exactly to > make it crash? - Turn on "Autosave" option - Win one game (for example, Spider) - Push "New game" button - Close application during starting new game (when not all cards are laid out) KPatience crashes, "Unexpected end of XML" message comes after restarting. I think that app should have stable state before closing, and OnClose handler should prevent that crash. Git commit 9fedf33f5618a11424d615b1d8a784a8587ce237 by Albert Astals Cid. Committed on 11/11/2018 at 10:58. Pushed by aacid into branch 'Applications/18.12'. Fix crash while closing with save state enabled hen we were just starting the game, since there was no state yet, so wait for the animations to quickly finish and then save the state M +5 -0 dealer.cpp https://commits.kde.org/kpat/9fedf33f5618a11424d615b1d8a784a8587ce237 Thank you! (When they say that reporting bugs is not worth it... - here we are served the answer). |