Bug 228975 - Klondike Solver Segfaults when Requesting Hint
Summary: Klondike Solver Segfaults when Requesting Hint
Status: RESOLVED DUPLICATE of bug 204073
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:
Depends on:
Blocks:
 
Reported: 2010-02-28 22:40 UTC by Rob V
Modified: 2010-03-01 00:07 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 Rob V 2010-02-28 22:40:21 UTC
Application that crashed: kpat
Version of the application: 3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
When clicking the Hint button during a game KPatience quit unexpectedly with a segfault. This happens only rarely.

 -- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x0000000000440414 in KlondikeSolver::translateMove (this=0x19ac110, m=...) at /build/buildd/kdegames-4.3.2/kpat/patsolve/klondike.cpp:545
#6  0x0000000000429348 in DealerScene::hint (this=0x18083f0) at /build/buildd/kdegames-4.3.2/kpat/dealer.cpp:638
#7  0x000000000042bb6f in DealerScene::qt_metacall (this=0x18083f0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff697e1b40)
    at /build/buildd/kdegames-4.3.2/obj-x86_64-linux-gnu/kpat/dealer.moc:139
#8  0x00000000004418e5 in Klondike::qt_metacall (this=0x17f7010, _c=4294967295, _id=24849824, _a=0x5) at /build/buildd/kdegames-4.3.2/obj-x86_64-linux-gnu/kpat/klondike.moc:62
#9  0x00007f09da835ddc in QMetaObject::activate (sender=0x1771640, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x5) at kernel/qobject.cpp:3113
#10 0x00007f09db3ac0a7 in QAction::triggered (this=0x17f7010, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#11 0x00007f09db3ad4ef in QAction::activate (this=0x1771640, event=<value optimized out>) at kernel/qaction.cpp:1160
#12 0x00007f09db716fea in QAbstractButtonPrivate::click (this=0x17c7070) at widgets/qabstractbutton.cpp:525
#13 0x00007f09db717275 in QAbstractButton::mouseReleaseEvent (this=0x1810380, e=0x7fff697e2270) at widgets/qabstractbutton.cpp:1115
#14 0x00007f09db7e5cba in QToolButton::mouseReleaseEvent (this=0x17f7010, e=0xffffffff) at widgets/qtoolbutton.cpp:709
#15 0x00007f09db4009c0 in QWidget::event (this=0x1810380, event=0x7fff697e2270) at kernel/qwidget.cpp:7549
#16 0x00007f09db3b1efc in QApplicationPrivate::notify_helper (this=0x16a8b50, receiver=0x1810380, e=0x7fff697e2270) at kernel/qapplication.cpp:4056
#17 0x00007f09db3b9011 in QApplication::notify (this=<value optimized out>, receiver=0x1810380, e=0x7fff697e2270) at kernel/qapplication.cpp:3758
#18 0x00007f09dc7a2ab6 in KApplication::notify (this=0x7fff697e4290, receiver=0x1810380, event=0x7fff697e2270) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007f09da820c2c in QCoreApplication::notifyInternal (this=0x7fff697e4290, receiver=0x1810380, event=0x7fff697e2270) at kernel/qcoreapplication.cpp:610
#20 0x00007f09db3b88e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x1810380, event=0x7fff697e2270, alienWidget=0x1810380, nativeWidget=0x171b720, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#21 QApplicationPrivate::sendMouseEvent (receiver=0x1810380, event=0x7fff697e2270, alienWidget=0x1810380, nativeWidget=0x171b720, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#22 0x00007f09db41ea0e in QETWidget::translateMouseEvent (this=0x171b720, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#23 0x00007f09db41daa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff697e3da0) at kernel/qapplication_x11.cpp:3550
#24 0x00007f09db446d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f09d6cd9bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f09d6cdd598 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f09d6cdd6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f09da8491a6 in QEventDispatcherGlib::processEvents (this=0x165bd20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#29 0x00007f09db4464be in QGuiEventDispatcherGlib::processEvents (this=0x17f7010, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007f09da81f532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f09da81f904 in QEventLoop::exec (this=0x7fff697e40d0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f09da821ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0x000000000041657c in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdegames-4.3.2/kpat/main.cpp:267

Reported using DrKonqi
Comment 1 Parker Coates 2010-03-01 00:07:05 UTC
This bug has been fixed in KDE SC4.4 and later, but thanks for the report.

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