https://bugs.kde.org/show_bug.cgi?id=436181
Bug ID: 436181 Summary: kpat crashes when right-click an ace card to send it upper right position. Product: kpat Version: 21.04.0 Platform: Slackware Packages OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: co...@kde.org Reporter: pauloct...@hotmail.com CC: kde-games-b...@kde.org Target Milestone: --- SUMMARY kpat crashes when right-click an ace card to send it upper right position. I think this happens since the addition of Baker's Dozen and the Freecell variants. It happens on Xfce and KDE Plasma5, so it seems Desktop Environment independent. I never saw this crash before in any kpat game. STEPS TO REPRODUCE 1. Click on a new game Freecell. 2. If it starts as Forecell (or Freecell), change it to Freecell (or Forecell, or any other variant) in 'Settings -> Popular Variants Presets -> FreeCell (or Forecell, or any other variant)'. 3. On the first free ace available, right-click on it to send it to the upper right position. kpat will crash. Dragging it with left-button and dropping it is ok. OBSERVED RESULT kpat crashes. EXPECTED RESULT Right-click on ace card should auto-move it to one of the upper right positions. ADDITIONAL INFORMATION Following is the crash report: Application: kpat (21.4.0) Qt Version: 5.15.2 Frameworks Version: 5.81.0 Operating System: Linux 5.10.32 x86_64 Windowing System: X11 Drkonqi Version: 5.21.4 Distribution: Slackware 14.2 x86_64 (post 14.2 -current) -- Information about the crash: <In detail, tell us what you were doing when the application crashed.> The crash can be reproduced every time. -- Backtrace: Application: KPatience (kpat), signal: Segmentation fault [KCrash Handler] #4 0x00007f0139f63b6e in QGraphicsScene::addItem(QGraphicsItem*) () from /usr/lib64/libQt5Widgets.so.5 #5 0x00007f013b5f6973 in KCardPile::insert(int, KCard*) () from /usr/lib64/libkcardgame.so #6 0x00007f013b5f9ba4 in ?? () from /usr/lib64/libkcardgame.so #7 0x00007f013b5fa80a in KCardScene::moveCardsToPile(QList<KCard*> const&, KCardPile*, int) () from /usr/lib64/libkcardgame.so #8 0x00007f013b5fc006 in KCardScene::moveCardToPile(KCard*, KCardPile*, int) () from /usr/lib64/libkcardgame.so #9 0x0000000000427bbc in ?? () #10 0x0000000000464b69 in ?? () #11 0x00007f013914eaf4 in ?? () from /usr/lib64/libQt5Core.so.5 #12 0x00007f013b5eed52 in KCardScene::cardRightClicked(KCard*) () from /usr/lib64/libkcardgame.so #13 0x00007f013b5fcabd in KCardScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) () from /usr/lib64/libkcardgame.so #14 0x000000000042afcf in ?? () #15 0x00007f0139f6ec62 in QGraphicsScene::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #16 0x00007f0139c50a8f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #17 0x00007f013911a19a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #18 0x00007f0139f8b330 in QGraphicsView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #19 0x00007f0139c8f5ce in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #20 0x00007f0139d3897e in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007f0139119f1b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #22 0x00007f0139c50a7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #23 0x00007f0139c57a09 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #24 0x00007f013911a19a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #25 0x00007f0139c56af0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5 #26 0x00007f0139ca7f58 in ?? () from /usr/lib64/libQt5Widgets.so.5 #27 0x00007f0139caaf75 in ?? () from /usr/lib64/libQt5Widgets.so.5 #28 0x00007f0139c50a8f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #29 0x00007f013911a19a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #30 0x00007f01395000c8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5 #31 0x00007f01394d750c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5 #32 0x00007f013496014a in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #33 0x00007f013585bfeb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #34 0x00007f013585c268 in ?? () from /usr/lib64/libglib-2.0.so.0 #35 0x00007f013585c30f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #36 0x00007f013916e660 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #37 0x00007f0139118d4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #38 0x00007f013912093c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #39 0x00000000004205ef in ?? () #40 0x00007f01389641ad in __libc_start_main () from /lib64/libc.so.6 #41 0x00000000004210ca in ?? () [Inferior 1 (process 30905) detached] Report to https://bugs.kde.org/ -- You are receiving this mail because: You are watching all bug changes.