opens some games with wrong difficulty level

Bug #135538 reported by jcfp
0
Affects Status Importance Assigned to Milestone
ksudoku (Debian)
Fix Released
Unknown
ksudoku (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ksudoku

When opening a new (2D, order 9) game with difficulty set to 'hardest' and symmetry to 'none', ksudoku will at times open games whose difficulty is way below this level. Happens apparently randomly and only now and then; I would estimate the chance to be 5% or less. The remainder of the opened games seem to have the correct difficulty level.

A similar bug exists upstream in debian bug #350958; I can confirm the observations made there regarding the command line output of ksudoku claiming a certain difficulty level (-1) while only having a number of remaining numbers that would be appropriate for the easiest levels only:

$ ksudoku 2>&1 | grep ^REM
REMAINING NUMBERS 57 GIVEN 24 DIFFICULTY : -1
REMAINING NUMBERS 57 GIVEN 24 DIFFICULTY : 0
REMAINING NUMBERS 54 GIVEN 27 DIFFICULTY : -1
REMAINING NUMBERS 18 GIVEN 63 DIFFICULTY : -1 => difficulty -1 but few fields open?
REMAINING NUMBERS 55 GIVEN 26 DIFFICULTY : -1

Kubuntu feisty, ksudoku 0.3-4ubuntu3

Changed in ksudoku:
status: Unknown → New
Changed in ksudoku:
status: New → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta or later?

Changed in ksudoku:
status: New → Incomplete
Revision history for this message
jcfp (jcfp) wrote :

Somebody put alot of work into this app, new version seems ok, will reopen if not.

Changed in ksudoku:
status: Incomplete → Fix Released
Changed in ksudoku (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.