Bug 242948

Summary: Parley crashed after incrrectly counting correct answers
Product: [Applications] parley Reporter: Chris Adams <christopher.w.adams>
Component: generalAssignee: parley bug tracker <parley-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version First Reported In: 0.9.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Adams 2010-06-27 14:00:20 UTC
Application: parley (0.9.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
As I was using Parley, it would add an increasing number of entries to the "correctly answered" tally (ie., 15 more after the 15th question I answered, 16 more after the 16th, etc.). It crashed when the number of "correct answers" exceeded the number of possible answers.

The crash can be reproduced every time.

 -- Backtrace:
Application: Parley (parley), signal: Segmentation fault
[KCrash Handler]
#6  0x080b04e7 in TestEntry::update (this=0x0) at ../../../parley/src/practiceold/testentry.cpp:155
#7  0x080b0862 in TestEntry::incGoodCount (this=0x0) at ../../../parley/src/practiceold/testentry.cpp:88
#8  0x080afceb in VocabularyPractice::setResultForCurrent (this=0xbfd89d38, res=VocabularyPractice::Correct) at ../../../parley/src/practiceold/vocabularypractice.cpp:129
#9  0x080afee1 in VocabularyPractice::entryDone (this=0xbfd89d38) at ../../../parley/src/practiceold/vocabularypractice.cpp:85
#10 0x080aff33 in VocabularyPractice::qt_metacall (this=0xbfd89d38, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd8930c) at ./vocabularypractice.moc:72
#11 0x00341c9a in QMetaObject::metacall (object=0xbfd89d38, cl=QMetaObject::ReadProperty, idx=4, argv=0xbfd8930c) at kernel/qmetaobject.cpp:237
#12 0x003503d5 in QMetaObject::activate (sender=0x8b9a238, m=0x812faa4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#13 0x080b7329 in PracticeDialog::currentEntryFinished (this=0x8b9a238) at ./practicedialog.moc:106
#14 0x080b8073 in PracticeDialog::qt_metacall (this=0x8b9a238, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xbfd8944c) at ./practicedialog.moc:94
#15 0x080c1fac in MCQueryDlg::qt_metacall (this=0x8b9a238, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xbfd8944c) at ./MCQueryDlg.moc:68
#16 0x00341c9a in QMetaObject::metacall (object=0x8b9a238, cl=QMetaObject::ReadProperty, idx=80, argv=0xbfd8944c) at kernel/qmetaobject.cpp:237
#17 0x003503d5 in QMetaObject::activate (sender=0x8fccd48, m=0x4505a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#18 0x003a1aa7 in QTimer::timeout (this=0x8fccd48) at .moc/release-shared/moc_qtimer.cpp:134
#19 0x0035860e in QTimer::timerEvent (this=0x8fccd48, e=0xbfd89980) at kernel/qtimer.cpp:271
#20 0x0034d254 in QObject::event (this=0x8fccd48, e=0x4519b0) at kernel/qobject.cpp:1212
#21 0x013934dc in QApplicationPrivate::notify_helper (this=0x84f67b8, receiver=0x8fccd48, e=0xbfd89980) at kernel/qapplication.cpp:4300
#22 0x0139a05e in QApplication::notify (this=0xbfd8af10, receiver=0x8fccd48, e=0xbfd89980) at kernel/qapplication.cpp:3704
#23 0x02a3af2a in KApplication::notify (this=0xbfd8af10, receiver=0x8fccd48, event=0xbfd89980) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x0033ca3b in QCoreApplication::notifyInternal (this=0xbfd8af10, receiver=0x8fccd48, event=0xbfd89980) at kernel/qcoreapplication.cpp:704
#25 0x0036bd66 in QCoreApplication::sendEvent (this=0x84f95b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x84f95b4) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00368917 in timerSourceDispatch (source=0x84f9a00) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=0x84f9a00) at kernel/qeventdispatcher_glib.cpp:231
#29 0x0522f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x052332d8 in ?? () from /lib/libglib-2.0.so.0
#31 0x052334b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x003685d5 in QEventDispatcherGlib::processEvents (this=0x84df090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0x01453135 in QGuiEventDispatcherGlib::processEvents (this=0x84df090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x0033b059 in QEventLoop::processEvents (this=0xbfd89c40, flags=) at kernel/qeventloop.cpp:149
#35 0x0033b4aa in QEventLoop::exec (this=0xbfd89c40, flags=...) at kernel/qeventloop.cpp:201
#36 0x018d24f3 in QDialog::exec (this=0x8b9a238) at dialogs/qdialog.cpp:546
#37 0x080b00f7 in VocabularyPractice::startPractice (this=0xbfd89d38) at ../../../parley/src/practiceold/vocabularypractice.cpp:77
#38 0x0811e4c5 in ParleyMainWindow::startPractice (this=0x8692930) at ../../../parley/src/parleymainwindow.cpp:217
#39 0x0811a14d in ButtonDelegate::slotPractice (this=0x86a6f68) at ../../../parley/src/welcomescreen/buttondelegate.cpp:108
#40 0x0811a1e8 in ButtonDelegate::qt_metacall (this=0x86a6f68, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfd89f28) at ./buttondelegate.moc:74
#41 0x00341c9a in QMetaObject::metacall (object=0x86a6f68, cl=QMetaObject::ReadProperty, idx=15, argv=0xbfd89f28) at kernel/qmetaobject.cpp:237
#42 0x003503d5 in QMetaObject::activate (sender=0x8a7ec00, m=0x1cce8c4, local_signal_index=2, argv=0xbfd89f28) at kernel/qobject.cpp:3293
#43 0x01abe479 in QAbstractButton::clicked (this=0x8a7ec00, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#44 0x0179dea9 in QAbstractButtonPrivate::emitClicked (this=0x8a7eca0) at widgets/qabstractbutton.cpp:546
#45 0x0179ecf4 in QAbstractButtonPrivate::click (this=0x8a7eca0) at widgets/qabstractbutton.cpp:539
#46 0x0179efae in QAbstractButton::mouseReleaseEvent (this=0x8a7ec00, e=0xbfd8a660) at widgets/qabstractbutton.cpp:1121
#47 0x013f17f8 in QWidget::event (this=0x8a7ec00, event=0xbfd8a660) at kernel/qwidget.cpp:7998
#48 0x0179dd4e in QAbstractButton::event (this=0x8a7ec00, e=0x4519b0) at widgets/qabstractbutton.cpp:1080
#49 0x018481f2 in QPushButton::event (this=0x8a7ec00, e=0xbfd8a660) at widgets/qpushbutton.cpp:679
#50 0x013934dc in QApplicationPrivate::notify_helper (this=0x84f67b8, receiver=0x8a7ec00, e=0xbfd8a660) at kernel/qapplication.cpp:4300
#51 0x0139a9f7 in QApplication::notify (this=0xbfd8af10, receiver=0x8a7ec00, e=0xbfd8a660) at kernel/qapplication.cpp:3865
#52 0x02a3af2a in KApplication::notify (this=0xbfd8af10, receiver=0x8a7ec00, event=0xbfd8a660) at ../../kdeui/kernel/kapplication.cpp:302
#53 0x0033ca3b in QCoreApplication::notifyInternal (this=0xbfd8af10, receiver=0x8a7ec00, event=0xbfd8a660) at kernel/qcoreapplication.cpp:704
#54 0x01399952 in QCoreApplication::sendEvent (receiver=0x8a7ec00, event=0xbfd8a660, alienWidget=0x8a7ec00, nativeWidget=0x86908e0, buttonDown=0x1cd7058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QApplicationPrivate::sendMouseEvent (receiver=0x8a7ec00, event=0xbfd8a660, alienWidget=0x8a7ec00, nativeWidget=0x86908e0, buttonDown=0x1cd7058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#56 0x01425088 in QETWidget::translateMouseEvent (this=0x86908e0, event=0xbfd8ab7c) at kernel/qapplication_x11.cpp:4368
#57 0x01424511 in QApplication::x11ProcessEvent (this=0xbfd8af10, event=0xbfd8ab7c) at kernel/qapplication_x11.cpp:3379
#58 0x0145360a in x11EventSourceDispatch (s=0x84f9a40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0x0522f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x052332d8 in ?? () from /lib/libglib-2.0.so.0
#61 0x052334b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x003685d5 in QEventDispatcherGlib::processEvents (this=0x84df090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#63 0x01453135 in QGuiEventDispatcherGlib::processEvents (this=0x84df090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x0033b059 in QEventLoop::processEvents (this=0xbfd8ae74, flags=) at kernel/qeventloop.cpp:149
#65 0x0033b4aa in QEventLoop::exec (this=0xbfd8ae74, flags=...) at kernel/qeventloop.cpp:201
#66 0x0033f69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#67 0x01393577 in QApplication::exec () at kernel/qapplication.cpp:3579
#68 0x08121ce1 in main (argc=1, argv=0xbfd8b114) at ../../../parley/src/main.cpp:139

This bug may be a duplicate of or related to bug 218690.

Possible duplicates by query: bug 218690.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-12 15:31:56 UTC
[Comment from a bug triager]
This issue is being tracked at bug 218690. Merging. Thanks

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