Bug 363038

Summary: create solvable games only causes crash
Product: [Applications] kshisen Reporter: Peter Gückel <pgueckel>
Component: generalAssignee: Frederik Schwarzer <schwarzer>
Status: RESOLVED FIXED    
Severity: normal CC: carlsymons, kde-games-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Gückel 2016-05-13 17:13:18 UTC
Version 1.10: kshisen-16.04.1-1.fc24.x86_64

In the program settings, selecting 'create solvable games only' causes program to crash and it will not restart. The only way to get the program to start again is to edit out the offending line in ~/.config/kshisenrc.

Reproducible: Always

Steps to Reproduce:
1. select solvable games only
2.
3.

Actual Results:  
crash!

Expected Results:  
previous result: a running program that creates solvable games only
Comment 1 Frederik Schwarzer 2016-05-13 17:33:52 UTC
Hi Peter,

does the crash handler come up with a backtrace?
If not, could you please install the kshisen-debuginfo and try again if you can get a backtrace?

I can reproduce the issue but do not get a backtrace.
The problem does not seem to be existing in master branch anymore.

Will investigate further.
Comment 2 Frederik Schwarzer 2016-05-13 21:05:30 UTC
Found the issue, hopefully fixed the issue. :)

Thanks for the report.
Comment 3 Frederik Schwarzer 2016-05-13 21:05:43 UTC
Git commit 0ab163a847db3b37b983f9341cccaf243acfd95c by Frederik Schwarzer.
Committed on 13/05/2016 at 21:04.
Pushed by schwarzer into branch 'Applications/16.04'.

Initialize vectors with correct size.

M  +2    -2    src/board.cpp
M  +1    -1    src/main.cpp

http://commits.kde.org/kshisen/0ab163a847db3b37b983f9341cccaf243acfd95c
Comment 4 Frederik Schwarzer 2016-06-02 08:50:44 UTC
*** Bug 363797 has been marked as a duplicate of this bug. ***