Bug 171212 - parley practice crashes on startup (empty vocabulary document?)
Summary: parley practice crashes on startup (empty vocabulary document?)
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Parley Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-17 14:25 UTC by Oliver Putz
Modified: 2008-11-21 12:27 UTC (History)
1 user (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 Oliver Putz 2008-09-17 14:25:49 UTC
Version:           0.9.2-svn (using 4.1.66 (KDE 4.1.66 (KDE 4.2 >= 20080912)), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.25-gentoo-r7

Steps to reproduce:

1) run 'parley practice'
2) See the error message "The vocabulary document contains no entries that can be used for the chosen type of practice."
3) Click "ok"
4) Click "ok" on the practice summary (the first click just brings up the same widget again)
5) See parley (recent svn checkout) crash after the second click with the backtrace below:

Remark: I never started parley before, so I especially have no vocabulary document set.

Application: Parley (parley), signal SIGSEGV

Thread 1 (Thread 0xb5b1b700 (LWP 14190)):
[KCrash Handler]
#6  0xb7f288a4 in KEduVocDocument::identifier (this=0x0, index=1) at /var/tmp/portage/kde-base/libkdeedu-9999/work/libkdeedu/libkdeedu/keduvocdocument/keduvocdocument.cpp:655
#7  0x080b87c6 in AnswerValidator::setLanguage (this=0x82b88f0, translation=1) at /var/tmp/portage/kde-base/parley-9999/work/parley/parley/src/practice/answervalidator.cpp:84
#8  0x080b237b in ParleyPracticeMainWindow::setupBase (this=0x81a8bf0, desktopFileName=@0xbff70794, doc=0x0)
    at /var/tmp/portage/kde-base/parley-9999/work/parley/parley/src/practice/modeindependent.cpp:138
#9  0x080aeacc in ParleyPracticeMainWindow (this=0x81a8bf0, doc=0x0, parent=0x0) at /var/tmp/portage/kde-base/parley-9999/work/parley/parley/src/practice/parleypracticemainwindow.cpp:44
#10 0x0811f310 in main (argc=2, argv=0xbff709e4) at /var/tmp/portage/kde-base/parley-9999/work/parley/parley/src/main.cpp:130
Comment 1 Frederik Gladhorn 2008-11-21 12:27:23 UTC
fixed after Daniel cleaned up the welcome screen