Bug 329343 - After 5 or so "games" kshisen freezes.
Summary: After 5 or so "games" kshisen freezes.
Status: RESOLVED FIXED
Alias: None
Product: kshisen
Classification: Applications
Component: general (show other bugs)
Version: 1.8.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Frederik Schwarzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-29 00:53 UTC by John Hunter
Modified: 2015-12-11 10:16 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 John Hunter 2013-12-29 00:53:20 UTC
After about 5 "games", the response times after clicking on two matching tiles gets longer and longer for no apperent reason. After a few more "games" the responce times can exceed 15 seconds -- on a dual core  Intel i3 M350 2.27GHz machine with 4 GB ram! 
For what it is worth, from my experience as a systems programmer of 30 odd years, the most likely cause is a failure to release list cells and reset lists when restarting the next iteration.
I hope that helps.

Reproducible: Always

Steps to Reproduce:
1. Load kshisen
2. Play the game to completion for at least 10 iterations.
3.
Actual Results:  
The game gets more and more turgid especially when the two tiles are in the same row or column.


Every iteration should run at the same speed ad nauseum.
It is only a game.
Comment 1 Frederik Schwarzer 2013-12-29 07:27:05 UTC
Hi,

can you try to disable sounds in the game and see if it still happens?

Thanks.
Comment 2 John Hunter 2013-12-29 12:43:26 UTC
On Sun, 2013-12-29 at 07:27 +0000, Frederik Schwarzer wrote:
> https://bugs.kde.org/show_bug.cgi?id=329343
> 
> --- Comment #1 from Frederik Schwarzer <schwarzer@kde.org> ---
> Hi,
> 
> can you try to disable sounds in the game and see if it still happens?
> 
> Thanks.

Hi,

Thank you for your quick response. Yes, turning off the sound effects
certainly seems to improve it (but it is not as satisfying!). I have
just played 10 games (which took over an hour) and I could not detect
any freezing. How does sound affect it? Is the sound library loosing
interrupts?

John Hunter
>
Comment 3 Frederik Schwarzer 2015-12-11 10:16:38 UTC
This was an issue with Phonon audio library, yes.
I am not familiar with the exact nature of the problem but these days Phonon is not used anymore in KShisen so closing this. :)