Bug 214479 - grandfather crashes starting new game
Summary: grandfather crashes starting new game
Status: RESOLVED WORKSFORME
Alias: None
Product: kpat
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 03:06 UTC by Matthew Woehlke
Modified: 2010-07-03 13:51 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (8.49 KB, text/plain)
2010-06-26 05:55 UTC, Kevin Jackson
Details
New crash information added by DrKonqi (5.96 KB, text/plain)
2010-07-03 13:51 UTC, Paul Hands
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Woehlke 2009-11-14 03:06:28 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

kpat crashed trying to start an instance of 'grandfather'

kdelibs trunk svn r1048630
kdegames trunk svn r1048533

 -- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault
[KCrash Handler]
#5  0x00000000004493cc in GrandfSolver::get_possible_moves (this=0x107ca00, a=0x7fff9184849c, numout=0x7fff91848498) at /usr/local/src/kde/svn/trunk/kdegames/kpat/patsolve/grandfsolver.cpp:274
#6  0x000000000043ce9e in Solver::get_moves (this=0x107ca00, nmoves=0x7fff918484dc) at /usr/local/src/kde/svn/trunk/kdegames/kpat/patsolve/patsolve.cpp:226
#7  0x000000000043d2dc in Solver::solve (this=0x107ca00, parent=0x1485c68) at /usr/local/src/kde/svn/trunk/kdegames/kpat/patsolve/patsolve.cpp:700
#8  0x000000000043d5db in Solver::doit (this=0x107ca00) at /usr/local/src/kde/svn/trunk/kdegames/kpat/patsolve/patsolve.cpp:654
#9  0x000000000043d637 in Solver::patsolve (this=0x107ca00, _max_positions=<value optimized out>) at /usr/local/src/kde/svn/trunk/kdegames/kpat/patsolve/patsolve.cpp:947
#10 0x0000000000422dc9 in DealerScene::getSolverHints (this=0x94b190) at /usr/local/src/kde/svn/trunk/kdegames/kpat/dealer.cpp:627
#11 0x0000000000423011 in DealerScene::getHints (this=0x107ca00) at /usr/local/src/kde/svn/trunk/kdegames/kpat/dealer.cpp:657
#12 0x000000000041e82d in DealerScene::startAutoDrop (this=0x94b190) at /usr/local/src/kde/svn/trunk/kdegames/kpat/dealer.cpp:1244
#13 0x000000000042783f in DealerScene::qt_metacall (this=0x94b190, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff918489f0)
    at /var/local/build/kde/svn/trunk/kdegames/kpat/dealer.moc:154
#14 0x00000000004480f5 in Grandf::qt_metacall (this=0x107ca00, _c=2441381020, _id=-1853586280, _a=0x0) at /var/local/build/kde/svn/trunk/kdegames/kpat/grandf.moc:70
#15 0x00007f9287a8441d in QMetaObject::metacall (object=0x94b190, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0x7fff918489f0)
    at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qmetaobject.cpp:237
#16 0x00007f9287a94f9d in QMetaObject::activate (sender=0x942cb0, m=0x7f9287dc0040, local_signal_index=0, argv=0x0) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qobject.cpp:3396
#17 0x00007f9287ae812a in QTimer::timeout (this=0x942cb0) at .moc/debug-shared/moc_qtimer.cpp:134
#18 0x00007f9287a9de40 in QTimer::timerEvent (this=0x942cb0, e=0x7fff91849410) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qtimer.cpp:271
#19 0x00007f9287a90c8e in QObject::event (this=0x942cb0, e=0x7fff91849410) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qobject.cpp:1210
#20 0x00007f92867924b5 in QApplicationPrivate::notify_helper (this=0x7d3bb0, receiver=0x942cb0, e=0x7fff91849410) at /usr/local/src/kde/svn/trunk/qt-kde/src/gui/kernel/qapplication.cpp:4245
#21 0x00007f9286792913 in QApplication::notify (this=0x7fff91849980, receiver=0x942cb0, e=0x7fff91849410) at /usr/local/src/kde/svn/trunk/qt-kde/src/gui/kernel/qapplication.cpp:3669
#22 0x00007f928897007b in KApplication::notify (this=0x7fff91849980, receiver=0x942cb0, event=0x7fff91849410) at /usr/local/src/kde/svn/trunk/kdelibs/kdeui/kernel/kapplication.cpp:302
#23 0x00007f9287a7dbd1 in QCoreApplication::notifyInternal (this=0x7fff91849980, receiver=0x942cb0, event=0x7fff91849410)
    at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qcoreapplication.cpp:704
#24 0x00007f9287a81c0f in QCoreApplication::sendEvent (receiver=0x942cb0, event=0x7fff91849410) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qcoreapplication.h:215
#25 0x00007f9287ab19c9 in QTimerInfoList::activateTimers (this=0x7d5150) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qeventdispatcher_unix.cpp:603
#26 0x00007f9287aaf198 in timerSourceDispatch (source=0x7d50f0) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qeventdispatcher_glib.cpp:184
#27 0x00007f9287aaf1d2 in idleTimerSourceDispatch (source=0x7c6310) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qeventdispatcher_glib.cpp:231
#28 0x00000030f2a377bb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00000030f2a3af8d in ?? () from /lib64/libglib-2.0.so.0
#30 0x00000030f2a3b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007f9287aae189 in QEventDispatcherGlib::processEvents (this=0x7cb960, flags={i = 36}) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#32 0x00007f92868529c3 in QGuiEventDispatcherGlib::processEvents (this=0x7cb960, flags={i = 36}) at /usr/local/src/kde/svn/trunk/qt-kde/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#33 0x00007f9287a7ac21 in QEventLoop::processEvents (this=0x7fff918497f0, flags={i = 36}) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qeventloop.cpp:149
#34 0x00007f9287a7ae49 in QEventLoop::exec (this=0x7fff918497f0, flags={i = 0}) at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qeventloop.cpp:197
#35 0x00007f9287a7e43c in QCoreApplication::exec () at /usr/local/src/kde/svn/trunk/qt-kde/src/corelib/kernel/qcoreapplication.cpp:981
#36 0x00007f9286794dc8 in QApplication::exec () at /usr/local/src/kde/svn/trunk/qt-kde/src/gui/kernel/qapplication.cpp:3578
#37 0x000000000041539c in main (argc=1, argv=0x7fff9184a368) at /usr/local/src/kde/svn/trunk/kdegames/kpat/main.cpp:314
Comment 1 Parker Coates 2009-11-18 19:05:34 UTC
I believe I may have just fixed this issue with http://websvn.kde.org/?view=rev&revision=1051032 . I was seeing a different, but similar crash.

Could you please update and confirm?
Comment 2 Matthew Woehlke 2009-11-19 18:20:09 UTC
I'm no longer able to reproduce, so if you think you fixed it, that works for me. Thanks!
Comment 3 Kevin Jackson 2010-06-26 05:55:33 UTC
Created attachment 48341 [details]
New crash information added by DrKonqi

kpat (3.4) on KDE Platform 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2)) using Qt 4.7.0

- What I was doing when the application crashed:
Started the game, clicked on "Frandfather, app crashed. The only other app running was "Firefox without Pango." Note that the same behavior occurs in both KDE and Gnome.

-- Backtrace (Reduced):
#7  GrandfSolver::get_possible_moves (this=0x8da1348, a=0xbfe65b7c, numout=0xbfe65b78) at ../../kpat/patsolve/grandfsolver.cpp:272
#8  0x0807d3b0 in Solver::get_moves (this=0x8da1348, nmoves=0xbfe65bcc) at ../../kpat/patsolve/patsolve.cpp:232
#9  0x0807d771 in Solver::solve (this=0x8da1348, parent=0x8dc8090) at ../../kpat/patsolve/patsolve.cpp:706
#10 0x0807e29a in Solver::doit (this=0x8da1348) at ../../kpat/patsolve/patsolve.cpp:660
#11 0x0807e313 in Solver::patsolve (this=0x8da1348, _max_positions=1) at ../../kpat/patsolve/patsolve.cpp:953
Comment 4 Paul Hands 2010-07-03 13:51:12 UTC
Created attachment 48560 [details]
New crash information added by DrKonqi

kpat (3.4) on KDE Platform 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) "release 2" using Qt 4.6.3

- What I was doing when the application crashed:

Simply click on the Grandfather game.  Instant crash.  Repeats every time.  Other games run fine.  May not be relevant, but I'm running compositing desktop

-- Backtrace (Reduced):
#6  GrandfSolver::get_possible_moves (this=0xa99510, a=0x7fff587f245c, numout=0x7fff587f2458) at /usr/src/debug/kdegames-4.4.90/kpat/patsolve/grandfsolver.cpp:270
#7  0x000000000043921e in Solver::get_moves (this=0xa99510, nmoves=0x7fff587f249c) at /usr/src/debug/kdegames-4.4.90/kpat/patsolve/patsolve.cpp:232
#8  0x0000000000439640 in Solver::solve (this=0xa99510, parent=0xab1098) at /usr/src/debug/kdegames-4.4.90/kpat/patsolve/patsolve.cpp:706
#9  0x000000000043a0fb in Solver::doit (this=0xa99510) at /usr/src/debug/kdegames-4.4.90/kpat/patsolve/patsolve.cpp:660
#10 0x000000000043a157 in Solver::patsolve (this=0xa99510, _max_positions=<value optimized out>) at /usr/src/debug/kdegames-4.4.90/kpat/patsolve/patsolve.cpp:953