[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2022-10-30 Thread Andreas Cord-Landwehr
https://bugs.kde.org/show_bug.cgi?id=413720

Andreas Cord-Landwehr  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/educ
   ||ation/parley/commit/de1b5af
   ||c4976a0efa9dd3264330b49b9ff
   ||65caf6
 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #7 from Andreas Cord-Landwehr  ---
Git commit de1b5afc4976a0efa9dd3264330b49b9ff65caf6 by Andreas Cord-Landwehr.
Committed on 30/10/2022 at 08:13.
Pushed by cordlandwehr into branch 'master'.

Fix document update race conditions in model updates

The StatisticsModel requires both an updated KVocDocument and an updated
set of selected languages before being able to answer model request
correctly. This change ensures that for invalid combinations no
out-of-bounds access is performed.

M  +9-0src/statistics/statisticsmodel.cpp

https://invent.kde.org/education/parley/commit/de1b5afc4976a0efa9dd3264330b49b9ff65caf6

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2022-10-30 Thread Andreas Cord-Landwehr
https://bugs.kde.org/show_bug.cgi?id=413720

Andreas Cord-Landwehr  changed:

   What|Removed |Added

 CC||cordlandw...@kde.org
 Resolution|WORKSFORME  |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #6 from Andreas Cord-Landwehr  ---
I am sorry, it seems that this bug slipped through triaging. I just had a look
and can reproduce it with the described steps.
Thank your for the very detailed bug report and analysis!

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2022-10-29 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=413720

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #5 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2022-10-14 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=413720

--- Comment #4 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2022-09-29 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=413720

Justin Zobel  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #3 from Justin Zobel  ---
Thank you for reporting this crash in KDE software. As it has been a while
since this issue was reported, can we please ask you to see if you can
reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when
replying. Thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2019-12-01 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=413720

Christoph Feck  changed:

   What|Removed |Added

   Severity|normal  |crash

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2019-11-02 Thread Lukas Kirschner
https://bugs.kde.org/show_bug.cgi?id=413720

--- Comment #2 from Lukas Kirschner  ---
I think the problem is that in statisticsmainwindow.cpp:61, initLanguages() is
called *after* setDocument, but it needs to be called inside setDocument(). In
initLanguages, the config is changed in case an invalid language index is
detected, which needs to be done before the call of setModel().

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2019-11-02 Thread Lukas Kirschner
https://bugs.kde.org/show_bug.cgi?id=413720

--- Comment #1 from Lukas Kirschner  ---
I was wrong. The bug does not occur with this certain file. To reproduce, do
the following:
1. Load a vocabulary file with 5 languages into practice mode
2. Select the language with index 4 in the "learning language" combobox
3. Close Parley
4. Open Parley and load a vocabulary file with 2 languages from the Dashboard
Parley tries to load language no. 4, which crashes immediately with a
segmentation fault (because there are only 2 languages).
The immediate location of the segfault is in statisticsmodel.cpp:122 where
translation has the int value 4. This value seems to be loaded from the
settings instead of the kvtml file, although the kvtml file has only two
languages.

-- 
You are receiving this mail because:
You are watching all bug changes.

[parley] [Bug 413720] Parley crashes when I try to start practice with a certain file

2019-11-01 Thread Lukas Kirschner
https://bugs.kde.org/show_bug.cgi?id=413720

Lukas Kirschner  changed:

   What|Removed |Added

 CC||kirsc...@googlemail.com

-- 
You are receiving this mail because:
You are watching all bug changes.