Aisleriot solitare crashes when choosing new game from Select Game

Bug #50173 reported by Jerad Hurst
62
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Games
Fix Released
Medium
gnome-games (Debian)
Fix Released
Unknown
gnome-games (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-games

How it started crashing for me:

1. From the help menu, choose the game-specific help
2. Minimize the help window and quickly choose a new game

When reopening Aisleriot, and again choose Select Game it is likely to crash, even with the Help window closed. When running from Terminal, I get the following upon crashing:

Backtrace:
In /usr/share/sol-games/sol.scm:
 480: 0* (if (defined? (quote card-guardian)) (letrec (# #) (catch # # ...)) ...)
 481: 1 (while (card-guardian))
In unknown file:
   ...
   ?: 2 [catch break #<procedure #f ()> #<procedure #f v>]
   ?: 3* [#<procedure #f ()>]
   ?: 4* [continue]
   ?: 5 (or (not (card-guardian)) (begin (begin) (continue)))
   ?: 6 (begin (begin) (continue))
   ?: 7* (begin)

<unnamed port>: In procedure begin in expression (begin):
<unnamed port>: missing or extra expression

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I am seeing this too with up to date dapper as of 2006/06/18.

Revision history for this message
polpak (polpak) wrote :

Same issue, same backtrace.

Revision history for this message
polpak (polpak) wrote :

Bug #49923 is a duplicate of this bug. As someone mentioned there.. If you pass --variation freecell or some other game to /usr/game/sol you can change games properly.

Revision history for this message
Jerad Hurst (jvhurst) wrote :

Unfortunately, for me the fix only seems to work when doing --variation freecell (klondike still crashes when skipping games). Even freecell only partially works, as it seems upon selecting the third new game from Select Game crashes Aisleriot, regardless of if it's by double-click or pressing OK.

Thanks for pointing out the other one though. I noticed it, but based on the topic I thought it was a different error :)

Revision history for this message
Will Hayworth (whayworth) wrote :

Also happens for me.

Changed in gnome-games:
status: Unconfirmed → Confirmed
Revision history for this message
Mazin (mat5000) wrote :

Apparently this has been fixed in the CVS for gnome-games:

http://cia.navi.cx/stats/author/callum

You have to edit the file /usr/share/sol-games/sol.scm (around line 481) from this:

    (while (card-guardian))

to this:

    (while (card-guardian) #t)

Apparently, the card-guardian loop needs "something to chew on", else it crashes. So far the fix is working for me, and I'm happy to get my solitaire games back. :)

Changed in gnome-games:
status: Unknown → Confirmed
Changed in gnome-games:
assignee: nobody → desktop-bugs
importance: Untriaged → Medium
Changed in gnome-games:
status: Unknown → Unconfirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I tried the above patch, and it is working great.

Changed in gnome-games:
status: Unconfirmed → Fix Released
Revision history for this message
Richard Hoelscher (rahga) wrote :

This crasher was accidentally introduced in gnome-games-2.14.2... It's been patched upstream and will soon be released as gnome-games-2.14.2.1

As Mazin noticed, it's just a matter of moving that one-line patch from head to stable.

Revision history for this message
Matthew Marshall (matthew-matthewmarshall) wrote :

2.14.2.1 has been released, fixing this and the highscores corruption bug.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I just uploaded gnome-games 2.14.2.1 to dapper-udpates. When it has passed the moderation queue, this will be fixed.

Changed in gnome-games:
status: Confirmed → Fix Released
Changed in gnome-games:
status: Confirmed → Fix Released
Revision history for this message
RichardRothwell (richard-caliban) wrote :

Hi,
Just installed 6.06 and Aisleriot didn't work. Reinstalled gnome-games from binaries and it still crashed on changing games.

I found this stand and applied the "#t" patch - and thank you it now works, but I thought you ought to know this was still required on gnome-games 2.15.1

rgds,
Richard Rothwell

Changed in gnome-games:
importance: Unknown → Medium
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.