Bug 218690 - Parley crashed during written practice [TestEntry::update, TestEntry::incGoodCount, VocabularyPractice::setResultForCurrent]
Summary: Parley crashed during written practice [TestEntry::update, TestEntry::incGood...
Status: RESOLVED WORKSFORME
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 0.9.2-svn
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Parley Developers
URL:
Keywords:
: 242948 256327 270964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-14 20:31 UTC by Frederik Schwarzer
Modified: 2014-02-25 17:31 UTC (History)
5 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 Frederik Schwarzer 2009-12-14 20:31:13 UTC
Application: parley (0.9.2-svn)
KDE Platform Version: 4.3.82 (KDE 4.3.82 (KDE 4.4 >= 20091211)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.32-fs i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
I just pressed Enter after entering a word when Parley crashed.

 -- Backtrace:
Application: Parley (parley), signal: Segmentation fault
[KCrash Handler]
#6  0x080b0847 in TestEntry::update (this=0x0) at /home/fs/kdesvn/kdeedu/parley/src/practiceold/testentry.cpp:155
#7  0x080b0bc2 in TestEntry::incGoodCount (this=0x0) at /home/fs/kdesvn/kdeedu/parley/src/practiceold/testentry.cpp:88
#8  0x080b006b in VocabularyPractice::setResultForCurrent (this=0xbfa54678, res=VocabularyPractice::Correct) at /home/fs/kdesvn/kdeedu/parley/src/practiceold/vocabularypractice.cpp:128
#9  0x080b0271 in VocabularyPractice::entryDone (this=0xbfa54678) at /home/fs/kdesvn/kdeedu/parley/src/practiceold/vocabularypractice.cpp:84
#10 0x080b02c3 in VocabularyPractice::qt_metacall (this=0xbfa54678, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfa53ce8) at /home/fs/kdesvn/build/kdeedu/parley/src/vocabularypractice.moc:72
#11 0xb6f21755 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb6f30ad1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x080b76c9 in PracticeDialog::currentEntryFinished (this=0x93d95d0) at /home/fs/kdesvn/build/kdeedu/parley/src/practicedialog.moc:106
#14 0x080b8413 in PracticeDialog::qt_metacall (this=0x93d95d0, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xbfa53e18) at /home/fs/kdesvn/build/kdeedu/parley/src/practicedialog.moc:94
#15 0x080c90cf in WrittenPracticeDialog::qt_metacall (this=0x93d95d0, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xbfa53e18) at /home/fs/kdesvn/build/kdeedu/parley/src/writtenpracticedialog.moc:75
#16 0xb6f21755 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#17 0xb6f30ad1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb6f82287 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#19 0xb6f3809e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb6f2cfb4 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb54f7b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb54ff33d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb633e26a in KApplication::notify (this=0xbfa55640, receiver=0x93de260, event=0xbfa5434c) at /home/fs/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#24 0xb6f1c3eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb6f4c1ae in ?? () from /usr/lib/libQtCore.so.4
#26 0xb6f4c3eb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb55b47d6 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb6f1aa3a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb6f1ae82 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb5a25053 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#31 0x080b044f in VocabularyPractice::startPractice (this=0xbfa54678) at /home/fs/kdesvn/kdeedu/parley/src/practiceold/vocabularypractice.cpp:76
#32 0x0811e9a5 in ParleyMainWindow::startPractice (this=0x88c0718) at /home/fs/kdesvn/kdeedu/parley/src/parleymainwindow.cpp:217
#33 0x08119f6d in ButtonDelegate::slotPractice (this=0x8908a88) at /home/fs/kdesvn/kdeedu/parley/src/welcomescreen/buttondelegate.cpp:108
#34 0x0811a2f8 in ButtonDelegate::qt_metacall (this=0x8908a88, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfa5483c) at /home/fs/kdesvn/build/kdeedu/parley/src/buttondelegate.moc:74
#35 0xb6f21755 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#36 0xb6f30ad1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0xb5c0b149 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#38 0xb58f2a19 in ?? () from /usr/lib/libQtGui.so.4
#39 0xb58f3834 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb58f3ae6 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#41 0xb5555af0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#42 0xb58f28be in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#43 0xb599b5f5 in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#44 0xb54f7b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0xb54fffa2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#46 0xb633e26a in KApplication::notify (this=0xbfa55640, receiver=0x88f5d50, event=0xbfa5502c) at /home/fs/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#47 0xb6f1c3eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#48 0xb54fec61 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#49 0xb5588115 in ?? () from /usr/lib/libQtGui.so.4
#50 0xb5586e6b in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb55b491f in ?? () from /usr/lib/libQtGui.so.4
#52 0xb6f1aa3a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb6f1ae82 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0xb6f1d599 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#55 0xb54f7bf7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#56 0x08122211 in main (argc=1, argv=0xbfa55824) at /home/fs/kdesvn/kdeedu/parley/src/main.cpp:139

Reported using DrKonqi
Comment 1 Frederik Schwarzer 2010-04-11 19:18:21 UTC
To add some information:
Before the practice session crashes, it skips entries in a predictable manner.
It counts 0,1,3,6,10,15,21,28,36 ... so the jump grows by 1 every time I enter a correct answer.
Comment 2 Dario Andres 2010-12-12 15:31:46 UTC
From bug 242948:
-- 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.

From bug 256327:
-- Information about the crash:
I use user defined porperties. Konjugation and then all Zeitformen

-- Backtrace (KDE SC 4.4.2):
Application: Parley (parley), signal: Segmentation fault
[KCrash Handler]
#5  0x000000000046c3f7 in TestEntry::update (this=0x0) at
../../../parley/src/practiceold/testentry.cpp:155
#6  0x000000000046c709 in TestEntry::incGoodCount (this=0x0) at
../../../parley/src/practiceold/testentry.cpp:88
#7  0x000000000046bc71 in VocabularyPractice::setResultForCurrent
(this=0x7fff110c99b0, res=VocabularyPractice::Correct) at
../../../parley/src/practiceold/vocabularypractice.cpp:129
#8  0x000000000046be47 in VocabularyPractice::entryDone (this=0x7fff110c99b0)
at ../../../parley/src/practiceold/vocabularypractice.cpp:85
Comment 3 Dario Andres 2010-12-12 15:31:56 UTC
*** Bug 242948 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-12-12 15:32:00 UTC
*** Bug 256327 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2012-07-06 20:03:39 UTC
*** Bug 270964 has been marked as a duplicate of this bug. ***
Comment 6 Inge Wallin 2014-02-25 17:31:06 UTC
Hi Fredrik,

This is a veeeeery old Parley by now.  Did you see the same crash in a more recent version? We are cleaning up the bugs now and we definitely want to fix the crashes, but this is just a little too old to give any hints.  The internal structure is not the same since when you reported it.

So I'm going to close this bug but if you can give me some newer information I will dive into it and try to fix the crash.