Bug 179089 - parley crash while practise "index out of range"
Summary: parley crash while practise "index out of range"
Status: RESOLVED WAITINGFORINFO
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:
Depends on:
Blocks:
 
Reported: 2008-12-29 23:11 UTC by Nadav
Modified: 2013-10-29 12:26 UTC (History)
4 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 Nadav 2008-12-29 23:11:04 UTC
Version:           0.9.2-svn (using Devel)
OS:                Linux
Installed from:    Compiled sources

Parley crash when practicing on the quiz: "en-de-es-ar-ru.kvml":

parley(14030) TestEntry::incBadCount: inc bad count!
parley(14030) TestEntryManager::setNextEntry: nextEntry:  1  =  "beginning"  ( 640 entries remaining)
parley(14030) TestEntryManager::slotResult: result:  0
parley(14030) ParleyDocument::slotDocumentChanged: true
parley(14030) VocabularyView::reset: reset
parley(14030) VocabularyView::reset: reset
parley(14030) ParleyDocument::slotDocumentChanged: true
parley(14030) VocabularyView::reset: reset
parley(14030) VocabularyView::reset: reset
parley(14030) TestEntryManager::setNextEntry: nextEntry:  19  =  "child"  ( 639 entries remaining)
parley(14030) TestEntryManager::slotResult: result:  0
parley(14030) ParleyDocument::slotDocumentChanged: true
parley(14030) VocabularyView::reset: reset
parley(14030) VocabularyView::reset: reset
parley(14030) ParleyDocument::slotDocumentChanged: true
parley(14030) VocabularyView::reset: reset
parley(14030) VocabularyView::reset: reset
parley(14030) TestEntryManager::slotResult: result:  0
parley(14030) ParleyDocument::slotDocumentChanged: true
parley(14030) VocabularyView::reset: reset
parley(14030) VocabularyView::reset: reset
parley(14030) ParleyDocument::slotDocumentChanged: true
parley(14030) VocabularyView::reset: reset
parley(14030) VocabularyView::reset: reset
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 395
KCrash: Application 'parley' crashing...
sock_file=/home/nadav/.kde/socket-nadav-laptop/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
Comment 1 Daniel Laidig 2008-12-30 03:03:36 UTC
Could you please be a little more specific?

* What lessons did you select for practice?
* What practice mode/settings did you use?
* What exactly did you do in practice? What buttons did you press? After which step did the crash happen?
* Also the exact revision of Parley you tested would be interesting.

I just did a quick test with the "en-de-es-ar-ru.kvml" file and it didn't crash. So without specific instructions how to reproduce the crash it will be difficult to fix. Thanks!
Comment 2 Nadav 2008-12-30 09:42:56 UTC
* What lessons did you select for practice? 
English -> Russian
I test on all the lesson (I selected all)
* What practice mode/settings did you use? 
multiple choices, random order
* What exactly did you do in practice? What buttons did you press? After which step did the crash happen?
buttons 1-5. after answering to one of the words (I don't remember which one)
* Also the exact revision of Parley you tested would be interesting. 
the version that use in the kde repository of ubuntu:
http://ppa.launchpad.net/kubuntu-experimental/ubuntu

I guess, there is one word which cause the problem, since I played in random order, It's can take long time to achieve it.
Comment 3 Jonathan Thomas 2009-01-20 14:33:14 UTC
We have a downstream bug that is quite similar. (It also has a backtrace. ^_^)
See https://launchpad.net/bugs/316256

- The crash happens with Chinese
- The test is a multiple choice practice quiz
- The crash is described as happening after closing the statistics box.
- Using KDE 4.1.96

The console output is as follows (same assert):
parley(5074) TestEntryManager::setNextEntry: nextEntry: 0 = "鼻涕" ( 1 entries remaining)
 parley(5074) TestEntryManager::slotResult: result: 0
 parley(5074) TestEntryManager::slotResult: result: 3
 ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 395
 KCrash: Application 'parley' crashing...

With a backtrace as follows:Application: Parley (parley), signal SIGABRT

Thread 1 (Thread 0xb57296c0 (LWP 5074)):
[KCrash Handler]
#6  0xb7ff6430 in __kernel_vsyscall ()
#7  0xb5d08880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5d0a248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7633795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7633872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb76338cc in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0x080e6bc0 in TestEntryManager::slotResult (this=0xbfef5624, res=TestEntryManager::Wrong) at /usr/include/qt4/QtCore/qlist.h:395
#13 0x080e6f1c in TestEntryManager::qt_metacall (this=0xbfef5624, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfef4d90)
    at /build/buildd/kdeedu-4.1.96/obj-i486-linux-gnu/parley/src/testentrymanager.moc:68
#14 0xb7740a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb77417e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x080e7195 in PracticeDialog::signalResult (this=0xb0e7ba8, _t1=TestEntryManager::Wrong) at /build/buildd/kdeedu-4.1.96/obj-i486-linux-gnu/parley/src/practicedialog.moc:98
#17 0x080e71b9 in PracticeDialog::resultWrong (this=0xb0e7ba8) at /build/buildd/kdeedu-4.1.96/parley/src/practiceold/practicedialog.cpp:186
#18 0x080e8e88 in PracticeDialog::qt_metacall (this=0xb0e7ba8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfef4e78)
    at /build/buildd/kdeedu-4.1.96/obj-i486-linux-gnu/parley/src/practicedialog.moc:82
#19 0x080f210f in MCQueryDlg::qt_metacall (this=0xb0e7ba8, _c=QMetaObject::InvokeMetaMethod, _id=74, _a=0xbfef4e78) at /build/buildd/kdeedu-4.1.96/obj-i486-linux-gnu/parley/src/MCQueryDlg.moc:61
#20 0xb7740a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb77417e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb777b7a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#23 0xb774740e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#24 0xb773b53f in QObject::event () from /usr/lib/libQtCore.so.4
#25 0xb63408ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb634872e in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb6d1b04d in KApplication::notify (this=0xbfef663c, receiver=0xb5d32c0, event=0xbfef530c) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#28 0xb772be61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb7759d81 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb7756520 in ?? () from /usr/lib/libQtCore.so.4
#31 0xb5a646f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb5a67da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb5a67f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7756478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb63daea5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb772a52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb772a6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb67ad987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#39 0x080e66cf in TestEntryManager::startPractice (this=0xbfef5624) at /build/buildd/kdeedu-4.1.96/parley/src/practiceold/testentrymanager.cpp:191
#40 0x08151ea6 in ParleyMainWindow::startPractice (this=0x8d881b0) at /build/buildd/kdeedu-4.1.96/parley/src/parleymainwindow.cpp:203
#41 0x08151fdd in ParleyMainWindow::qt_metacall (this=0x8d881b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfef577c)
    at /build/buildd/kdeedu-4.1.96/obj-i486-linux-gnu/parley/src/parleymainwindow.moc:110
#42 0xb7740a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#43 0xb7740e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#44 0xb633a5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#45 0xb633af5f in QAction::activate () from /usr/lib/libQtGui.so.4
#46 0xb6760612 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#47 0xb6683d53 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb6684026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#49 0xb6760b0c in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#50 0xb6398962 in QWidget::event () from /usr/lib/libQtGui.so.4
#51 0xb668203e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#52 0xb67605d4 in QToolButton::event () from /usr/lib/libQtGui.so.4
#53 0xb63408ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#54 0xb63490e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#55 0xb6d1b04d in KApplication::notify (this=0xbfef663c, receiver=0x99b4630, event=0xbfef5d88) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#56 0xb772be61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#57 0xb634836e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#58 0xb63b2656 in ?? () from /usr/lib/libQtGui.so.4
#59 0xb63b19e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#60 0xb63db7aa in ?? () from /usr/lib/libQtGui.so.4
#61 0xb5a646f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb5a67da3 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb5a67f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb7756478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#65 0xb63daea5 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb772a52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#67 0xb772a6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0xb772cda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#69 0xb6340767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#70 0x0815309d in main (argc=1, argv=0xbfef6824) at /build/buildd/kdeedu-4.1.96/parley/src/main.cpp:139

Hope this helps!
Comment 4 Frederik Gladhorn 2011-04-04 14:33:56 UTC
Is this still reproducible?
Comment 5 José Manuel Santamaría Lema 2013-10-29 12:26:43 UTC
I'm closing this bug since there are no new since latest frederik question, asked more than 2 years ago.