Bug 409100 - kpat crashes when starting a new game after winning a Freecell game
Summary: kpat crashes when starting a new game after winning a Freecell game
Status: RESOLVED DUPLICATE of bug 395624
Alias: None
Product: kpat
Classification: Applications
Component: general (show other bugs)
Version: 3.6
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-24 01:07 UTC by Brian Kaye
Modified: 2019-06-26 20:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Kaye 2019-06-24 01:07:16 UTC
Application: kpat (3.6)

Qt Version: 5.11.3
Frameworks Version: 5.58.0
Operating System: Linux 5.1.11-200.fc29.x86_64 x86_64
Distribution: "Fedora release 29 (Twenty Nine)"

-- Information about the crash:
- What I was doing when the application crashed: Switching between freecell an klondike. Happens also when switching to golf or spider. Have not tried other games.

The crash can be reproduced every time.

-- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f17ca38d600 (LWP 19149))]

Thread 4 (Thread 0x7f17b5621700 (LWP 19153)):
#0  0x00007f17cd5e472c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f17b62268bb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f17b62265fb in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f17cd5de58e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f17cd897713 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f17b7df6700 (LWP 19152)):
#0  0x00007f17cd88c481 in poll () from /lib64/libc.so.6
#1  0x00007f17cab083a6 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f17cab084d0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f17cdf3b85b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f17cdeea3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f17cdd51d36 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f17ce6c9f89 in ?? () from /lib64/libQt5DBus.so.5
#7  0x00007f17cdd5b19b in ?? () from /lib64/libQt5Core.so.5
#8  0x00007f17cd5de58e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f17cd897713 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f17bd0c2700 (LWP 19151)):
#0  0x00007f17cd88c481 in poll () from /lib64/libc.so.6
#1  0x00007f17ccc9b39f in ?? () from /lib64/libxcb.so.1
#2  0x00007f17ccc9d01a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f17bd273459 in ?? () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f17cdd5b19b in ?? () from /lib64/libQt5Core.so.5
#5  0x00007f17cd5de58e in start_thread () from /lib64/libpthread.so.0
#6  0x00007f17cd897713 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f17ca38d600 (LWP 19149)):
[KCrash Handler]
#6  MemoryManager::new_from_block (this=0x55661c3da150, s=48) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/patsolve/memory.cpp:165
#7  0x00005566197b9c7b in Solver<9ul>::pack_position (this=this@entry=0x55661c4178c0) at /usr/include/c++/8/bits/unique_ptr.h:342
#8  0x00005566197ba132 in Solver<9ul>::insert (this=this@entry=0x55661c4178c0, cluster=cluster@entry=0x7fff1ed89e5c, d=0, node=node@entry=0x7fff1ed89e60) at /usr/include/c++/8/bits/unique_ptr.h:342
#9  0x00005566197ba21c in Solver<9ul>::new_position (this=this@entry=0x55661c4178c0, parent=parent@entry=0x0, m=m@entry=0x7fff1ed89ea0) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/patsolve/patsolve.cpp:906
#10 0x00005566197c2f1e in Solver<9ul>::doit (this=0x55661c4178c0) at /usr/include/bits/string_fortified.h:71
#11 0x00005566197c2fbb in Solver<9ul>::patsolve (this=0x55661c4178c0, _max_positions=<optimized out>) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/patsolve/patsolve.cpp:794
#12 0x000055661978ae03 in DealerScene::isGameLost (this=0x55661caf1640) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/dealer.cpp:1821
#13 0x0000556619792626 in DealerScene::takeState (this=this@entry=0x55661caf1640) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/dealer.cpp:1314
#14 0x00005566197969dc in DealerScene::animationDone (this=0x55661caf1640) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/dealer.cpp:1530
#15 0x00007f17cdf14273 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f17cdf14273 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007f17cdf14273 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#18 0x00007f17cdf1fcdb in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
#19 0x00007f17cdf14dcb in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f17ce94b2a5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007f17ce952800 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f17cdeeb496 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007f17cdf3ab39 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#24 0x00007f17cdf3b414 in ?? () from /lib64/libQt5Core.so.5
#25 0x00007f17cab0806d in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007f17cab08438 in ?? () from /lib64/libglib-2.0.so.0
#27 0x00007f17cab084d0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007f17cdf3b843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#29 0x00007f17bd30a3f5 in ?? () from /lib64/libQt5XcbQpa.so.5
#30 0x00007f17cdeea3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#31 0x00007f17cdef2386 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#32 0x0000556619783e0e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kpat-19.04.2-1.fc29.x86_64/main.cpp:339
[Inferior 1 (process 19149) detached]

Possible duplicates by query: bug 404161.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2019-06-26 20:23:01 UTC

*** This bug has been marked as a duplicate of bug 395624 ***