Bug 439420 - crash when switching games
Summary: crash when switching games
Status: CONFIRMED
Alias: None
Product: kpat
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-07-02 20:47 UTC by Brian Kaye
Modified: 2023-03-18 22:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
golf save game (10.04 KB, text/plain)
2023-03-18 15:50 UTC, Stephan Kulow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Kaye 2021-07-02 20:47:28 UTC
Application: kpat (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.12.13-300.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.2
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
- What I was doing when the application crashed:Finished  successful Freecell game and selected new game Golf

The crash can be reproduced sometimes.

-- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff82188ceea in KSharedDataCache::find(QString const&, QByteArray*) const () from /lib64/libKF5CoreAddons.so.5
#5  0x00007ff821c5400f in KAbstractCardDeck::cardPixmap(unsigned int, bool) () from /lib64/libkcardgame.so
#6  0x00007ff821c5442e in KCard::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /lib64/libkcardgame.so
#7  0x00007ff821480263 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQt5Widgets.so.5
#8  0x00007ff821481223 in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQt5Widgets.so.5
#9  0x00007ff8214818a2 in QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) () from /lib64/libQt5Widgets.so.5
#10 0x00007ff8214a54ff in QGraphicsView::paintEvent(QPaintEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007ff82119585e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007ff82123ecd2 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007ff82124214c in QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007ff8205fccfd in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007ff821154e62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007ff8205fcf48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007ff82118d93a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib64/libQt5Widgets.so.5
#18 0x00007ff82118e4df in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#19 0x00007ff82118f493 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#20 0x00007ff82118dc12 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#21 0x00007ff82118f493 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#22 0x00007ff82118f2bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#23 0x00007ff82118f2bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#24 0x00007ff82118dc12 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#25 0x00007ff82116561c in QWidgetRepaintManager::paintAndFlush() () from /lib64/libQt5Widgets.so.5
#26 0x00007ff821195f8d in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#27 0x00007ff821bc782d in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#28 0x00007ff821154e73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007ff8205fcf48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007ff8205ffc76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#31 0x00007ff821470483 in QGraphicsScenePrivate::_q_emitUpdated() () from /lib64/libQt5Widgets.so.5
#32 0x00007ff820624257 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007ff821154e73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007ff8205fcf48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#35 0x00007ff8205ffc76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#36 0x00007ff820649c57 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#37 0x00007ff81e2554cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#38 0x00007ff81e2a94e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#39 0x00007ff81e252c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#40 0x00007ff8206496f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007ff8205fb9b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007ff820603544 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#43 0x000055b37afb04fd in main ()
[Inferior 1 (process 42498) detached]

Possible duplicates by query: bug 284821.

Reported using DrKonqi
Comment 1 groot 2021-07-03 11:25:30 UTC
Looks like another variation on #397817, although it's not a scenario described exactly in that other BR.
Comment 2 Stephan Kulow 2023-02-28 16:47:43 UTC
If the crash can be reproduced, please let us know if a) it also happens with an updated version and b) if the drkonqi reports are the same or different.
Comment 3 Bug Janitor Service 2023-03-15 03:45:37 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Brian Kaye 2023-03-15 17:20:24 UTC
kpat killed by SIGSEGV.  The program now quits switching between golf and patience. Some time it just quits and sometime it quits with a chance of reporting or restarting
Comment 5 Stephan Kulow 2023-03-17 16:48:21 UTC
But that is still kpat 20.12 on Fedora 34?
Comment 6 Brian Kaye 2023-03-18 02:21:05 UTC
Mine is version 22.12.3 on fedora 37. The failure for me now is only switching after a successful win on golf to a new game on klondike.  It does not seem to eever fail with another game sequence. Sometime it doesn't fail which I suspect will make finding a solution difficult.
Comment 7 Stephan Kulow 2023-03-18 15:37:20 UTC
ok, the problem is that fedora didn't enable the blackhole solver for golf but the developers used version with it, so the alternative solver bitrotted. I removed it in master (so you wouldn't have any solver unless fedora enables it). I'm confident that the bug is there, but I'll try to win golf for a bit.
Comment 8 Stephan Kulow 2023-03-18 15:50:40 UTC
Created attachment 157389 [details]
golf save game

But I compiled an old version without BH and still can't reproduce. For that I load the attached game, move the three final cards and after the animation press "New Game" on the toolbar and pick klondike.
Comment 9 Brian Kaye 2023-03-18 22:58:09 UTC
Tried the attached game several times. No  crash  or quit after selecting klondik any of those times.