backgammon causes Segmentation fault

Bug #661332 reported by Josh Holtrop
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bsdgames (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: bsdgames

After an upgrade from Ubuntu 10.04 to 10.10, the console game "backgammon" from the "bsdgames" package causes a Segmentation fault.

$ /usr/games/backgammon
Last updated on Friday, October 10, 1997.

Do you want the rules of the game? No.
Do you need instructions for this program? No.

Enter 'r' to play red, 'w' to play white, 'b' to play both:Segmentation fault

$ /usr/games/backgammon -r -pb
Last updated on Friday, October 10, 1997.
(Type a newline to continue.)
-->Segmentation fault

$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

$ apt-cache policy bsdgames
bsdgames:
  Installed: 2.17-19
  Candidate: 2.17-19
  Version table:
 *** 2.17-19 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bsdgames 2.17-19
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Fri Oct 15 12:14:23 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: bsdgames

Revision history for this message
Josh Holtrop (jholtrop+ubuntu) wrote :
Revision history for this message
Josh Holtrop (jholtrop+ubuntu) wrote :

This segmentation fault appears to occur when running 'backgammon' with a terminal less than 80x24. (I usually run it within a screen session in a 80x24 terminal but the last line of the terminal is taken by screen's hardstatus info line). Running 'backgammon' in a normal 80x24 terminal works, but in an 80x23 terminal (or a 80x24 terminal inside a "screen" session with the last line reserved for status), the game crashes.

Revision history for this message
Logan Rosen (logan) wrote :

I have marked this as a duplicate of the apport crash that I just submitted, as it should give the developers more debugging information. This crash still occurs in Quantal.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bsdgames (Ubuntu):
status: New → Confirmed
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.