backgammon causes Segmentation fault
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/
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/
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://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bsdgames 2.17-19
ProcVersionSign
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
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.