Bug 363038 - create solvable games only causes crash
Summary: create solvable games only causes crash
Status: RESOLVED FIXED
Alias: None
Product: kshisen
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Frederik Schwarzer
URL:
Keywords:
: 363797 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-13 17:13 UTC by Peter Gückel
Modified: 2016-06-02 08:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***