Bug 194943 - KPat (trunk) crashes in solver
Summary: KPat (trunk) crashes in solver
Status: RESOLVED WORKSFORME
Alias: None
Product: kpat
Classification: Applications
Component: solver (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 198562 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-02 03:58 UTC by Jonathan Callen
Modified: 2011-01-10 15:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen 2009-06-02 03:58:17 UTC
Application that crashed: kpat
Version of the application: 3.1
KDE Version: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-gentoo-r5 i686

What I was doing when the application crashed:
I've been getting crashes recently in KPat, and it always seems to be about when the solver is about to decide whether the game is still winnable.

 -- Backtrace:
Application: KPatience (kpat), signal: Aborted
[Current thread is 0 (LWP 16172)]

Thread 2 (Thread 0xf15bab70 (LWP 17951)):
[KCrash Handler]
#6  0xf7f73430 in __kernel_vsyscall ()
#7  0xf68b3691 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xf68b4dfc in abort () at abort.c:88
#9  0xf68f494b in malloc_printerr (action=2, str=0x6 <Address 0x6 out of bounds>, ptr=0x8ca4598) at malloc.c:6201
#10 0xf68f9116 in __libc_free (mem=0x6) at malloc.c:3677
#11 0x0808080b in Solver::solve (this=0x8a105d0, parent=0xf250e950) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/patsolve/memory.h:58
#12 0x08080745 in Solver::solve (this=0x8a105d0, parent=0xf250e878) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/patsolve/patsolve.cpp:724
#13 0x08080745 in Solver::solve (this=0x8a105d0, parent=0xf2643740) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/patsolve/patsolve.cpp:724
#14 0x080811da in Solver::doit (this=0x8a105d0) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/patsolve/patsolve.cpp:639
#15 0x0808124b in Solver::patsolve (this=0x8a105d0, _max_positions=-1) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/patsolve/patsolve.cpp:929
#16 0x080608e8 in SolverThread::run (this=0x8bff400) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/dealer.cpp:168
#17 0xf7408ce9 in QThreadPrivate::start (arg=0x8bff400) at thread/qthread_unix.cpp:189
#18 0xf6874696 in start_thread (arg=0xf15bab70) at pthread_create.c:297
#19 0xf69559ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xf606b710 (LWP 16172)):
#0  0xf7f73430 in __kernel_vsyscall ()
#1  0xf6878b84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xf69627cd in __pthread_cond_wait (cond=0x8542720, mutex=0x8542708) at forward.c:139
#3  0xf7409a14 in QWaitCondition::wait (this=0x8a697f0, mutex=0x8a697dc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xf7408af4 in QThread::wait (this=0x8bff400, time=4294967295) at thread/qthread_unix.cpp:485
#5  0x08061658 in DealerScene::finishSolver (this=0x8a01270) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/dealer.cpp:155
#6  0x08061691 in DealerScene::isGameLost (this=0x8a01270) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/dealer.cpp:1820
#7  0x080694d3 in DealerScene::takeState (this=0x8a01270) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/dealer.cpp:281
#8  0x0806d94d in DealerScene::qt_metacall (this=0x8a01270, _c=QMetaObject::InvokeMetaMethod, _id=-512, _a=0xffd8ff28) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999_build/kpat/dealer.moc:143
#9  0x0808336b in Klondike::qt_metacall (this=0x8a01270, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xffd8ff28) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999_build/kpat/klondike.moc:62
#10 0xf74ee999 in QMetaObject::activate (sender=0x854e380, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xfffffe00) at kernel/qobject.cpp:3108
#11 0xf74eeef5 in QMetaObject::activate (sender=0x854e380, m=0xf7584924, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3185
#12 0xf75234f0 in QTimer::timeout (this=0x854e380) at .moc/release-shared/moc_qtimer.cpp:128
#13 0xf74f55df in QTimer::timerEvent (this=0x854e380, e=0xffd903bc) at kernel/qtimer.cpp:261
#14 0xf74ebc3e in QObject::event (this=0x854e380, e=0xffd903bc) at kernel/qobject.cpp:1073
#15 0xf6c246cb in QApplicationPrivate::notify_helper (this=0x82066b8, receiver=0x854e380, e=0xffd903bc) at kernel/qapplication.cpp:4057
#16 0xf6c2ad3e in QApplication::notify (this=0xffd9074c, receiver=0x854e380, e=0xffd903bc) at kernel/qapplication.cpp:4022
#17 0xf79d2d4f in KApplication::notify (this=0xffd9074c, receiver=0x854e380, event=0xffd903bc) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#18 0xf74dd69d in QCoreApplication::notifyInternal (this=0xffd9074c, receiver=0x854e380, event=0xffd903bc) at kernel/qcoreapplication.cpp:606
#19 0xf7505ace in QTimerInfoList::activateTimers (this=0x822bd24) at kernel/qcoreapplication.h:213
#20 0xf7502b1d in timerSourceDispatch (source=0x822bcf0) at kernel/qeventdispatcher_glib.cpp:164
#21 0xf63b0ac0 in IA__g_main_context_dispatch (context=0x8206d00) at gmain.c:1814
#22 0xf63b3d7d in g_main_context_iterate (context=0x8206d00, block=<value optimized out>, dispatch=1, self=0x82070e0) at gmain.c:2448
#23 0xf63b3f52 in IA__g_main_context_iteration (context=0x8206d00, may_block=1) at gmain.c:2511
#24 0xf7502a8d in QEventDispatcherGlib::processEvents (this=0x822c2a8, flags={i = -2554484}) at kernel/qeventdispatcher_glib.cpp:324
#25 0xf6cacee0 in QGuiEventDispatcherGlib::processEvents (this=0x822c2a8, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#26 0xf74dc06f in QEventLoop::processEvents (this=0xffd90630, flags={i = -2554360}) at kernel/qeventloop.cpp:149
#27 0xf74dc234 in QEventLoop::exec (this=0xffd90630, flags={i = -2554312}) at kernel/qeventloop.cpp:196
#28 0xf74de141 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0xf6c2457c in QApplication::exec () at kernel/qapplication.cpp:3526
#30 0x08059408 in main (argc=3, argv=0xffd90a54) at /var/tmp/portage/kde-base/kpat-9999/work/kpat-9999/kpat/main.cpp:267

Reported using DrKonqi
Comment 1 Parker Coates 2009-06-02 04:29:16 UTC
Does this crash occur in other game types or just when playing Klondike?
Comment 2 Jonathan Callen 2009-06-02 04:32:09 UTC
Yes, it has happened in Spider and I think a few others, but I don't have crash logs from them.
Comment 3 Stephan Kulow 2010-01-08 16:02:51 UTC
*** Bug 198562 has been marked as a duplicate of this bug. ***
Comment 4 Parker Coates 2010-06-14 17:10:15 UTC
Are you still able to reproduce this crash? I'm suspecting that it's a duplicate of 220166. If you cannot reproduce, it should be closed. Thanks.
Comment 5 Stephan Kulow 2011-01-10 15:59:09 UTC
I can't.