Bug 181498 - Typing in "declension" box for non-noun words crashes Parley
Summary: Typing in "declension" box for non-noun words crashes Parley
Status: RESOLVED NOT A BUG
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: 2009-01-21 15:36 UTC by Michael Liddle
Modified: 2009-03-07 18:19 UTC (History)
2 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 Michael Liddle 2009-01-21 15:36:20 UTC
Version:           0.9.2-svn (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.1", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.20-0.1-default

Steps to reproduce:

1. Open a KVTML file with some nouns and some non-nouns.
2. Display the "Declensions" panel
3. Click on a noun
4. Click on a non-noun
5. Try to enter a declension for it
6. Crash

Obviously a user isn't expected to edit a declension form for a non-noun, but the fact that the text-boxes are nonetheless enabled means that they can, and this causes a crash.
Comment 1 Dario Andres 2009-01-21 15:51:30 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Michael Liddle 2009-01-21 17:04:22 UTC
Sorry, it's short, but its all that the crash handler spat out.

Application: Parley (parley), signal SIGSEGV

Thread 1 (Thread 0xb57f66d0 (LWP 5739)):
[KCrash Handler]
#6  0xb7f57aa7 in KEduVocDeclension::setDeclension () from /usr/lib/libkeduvocdocument.so.4
#7  0x0811a41b in _start ()

Comment 3 Frederik Gladhorn 2009-03-07 18:19:10 UTC
the declensions were unfinished, so they are not included in the 4.2 release.
I hope to get something working, but as you noticed, there is clearly a lot to do.