Bug 267610 - Parley segfaults when trying to start practice on a vocabulary file
Summary: Parley segfaults when trying to start practice on a vocabulary file
Status: RESOLVED DUPLICATE of bug 257829
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 0.9.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 09:07 UTC by Lukasz Dobrogowski
Modified: 2011-09-22 17:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind output (14.67 KB, text/plain)
2011-03-04 09:07 UTC, Lukasz Dobrogowski
Details
GDB backtrace (5.60 KB, text/plain)
2011-03-04 09:08 UTC, Lukasz Dobrogowski
Details
KVTML file causing parley to crash (188.67 KB, application/x-kvtml)
2011-03-04 09:15 UTC, Lukasz Dobrogowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Dobrogowski 2011-03-04 09:07:59 UTC
Created attachment 57663 [details]
Valgrind output

Version:           0.9.4 (using KDE 4.5.4) 
OS:                Linux

Segmentation fault which happens when I try to start practice on this file. This file worked perfectly fine until I added last lesson(s), which are in the "Lessons" category of the .kvtml file.

Some diagnosis of the bug based on backtrace and valgring output by an expert from #kde-edu channel:
<tsdgeos> so you are removing the menu or something like that?
<zaroth> nope, I'm just loading the file parley created previously
<zaroth> and clicking "start practice"
<zaroth> that's really all that I'm doing
<zaroth> (however, to be honest, this start practice option is in a menu)
<tsdgeos> ok
<tsdgeos> i see
<tsdgeos> starting the practice
<tsdgeos> kills the menu
<tsdgeos> since it changes to a new mode
<tsdgeos> and then some handler still wants to access the menu

Reproducible: Always

Steps to Reproduce:
1. Turn on parley.
2. Load the vocabulary file which parley itself created before (it only happens with this vocabulary file, works fine with others)
3. Choose "Start practice" from the menu.
4. Crash.

Note: for unknown reasons it only crashed about 20% of the time using this steps when running under gdb (it crashes 100% of the time without gdb for me), which caused me some grief while trying to get the backtrace.

Actual Results:  
as written before,
4. Crash.
Comment 1 Lukasz Dobrogowski 2011-03-04 09:08:45 UTC
Created attachment 57664 [details]
GDB backtrace
Comment 2 Lukasz Dobrogowski 2011-03-04 09:15:04 UTC
Created attachment 57665 [details]
KVTML file causing parley to crash

Removed my grades from the file to reduce the file size, it didn't stop the crashing behavior for me.
Comment 3 alsaf 2011-03-12 11:15:18 UTC
Think this could be similar to Bug 257829

https://bugs.kde.org/show_bug.cgi?id=257829
Comment 4 Marius 2011-09-22 17:37:32 UTC

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