Subject: bug#13628: 24.3.50; Error when finishing tetris

From: David Kastrup <[email-masked]>
Date: Mon, 04 Feb 2013 13:32:26 +0100

After finishing Tetris, a backtrace gets produced:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  gamegrid-set-face(7)
  gamegrid-set-cell(3 1 7)
  tetris-erase-shape()
  tetris-move-bottom()
  call-interactively(tetris-move-bottom nil nil)

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, X toolkit)
 of 2013-01-30 on lola
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
System Description:	Ubuntu 12.10

Configured using:
 `configure --without-toolkit-scroll-bars --no-create --no-recursion'

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  diff-auto-refine-mode: t
  TeX-PDF-mode: t
  desktop-save-mode: t
  minibuffer-electric-default-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
SPC <down> <left> <left> <left> <left> <left> SPC <down> 
<left> <left> <left> SPC <down> <left> <left> SPC <down> 
SPC <right> <right> SPC <down> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> SPC <down> SPC <down> <right> <right> 
<right> <right> <down> <left> <left> <left> <left> 
<left> <left> SPC <left> <left> SPC <right> <right> 
<right> SPC <down> <left> <left> <down> <right> <right> 
<down> <right> <right> SPC <right> <down> <left> <left> 
<down> <right> <right> <right> <right> <right> <down> 
SPC <right> <down> <down> <down> <right> SPC <left> 
<down> <left> <left> <left> SPC <down> <down> <down> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> SPC <down> <left> <left> SPC <left> SPC 
<down> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<down> <left> <down> <down> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
SPC <down> <left> <left> <down> <down> <left> <left> 
SPC <down> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <down> <right> SPC 
<down> <left> <down> <left> <down> <right> SPC <down> 
<right> <right> <right> SPC <left> <left> <left> SPC 
<right> SPC <down> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> SPC <left> <left> SPC <down> 
<down> <down> <right> <right> <right> SPC <down> <left> 
<left> <left> <left> <left> SPC <down> <down> <right> 
SPC <left> <down> <left> <left> <left> <left> SPC <right> 
<right> <right> <down> <right> <right> SPC <down> <right> 
<right> <right> SPC <down> <right> <right> SPC <left> 
<right> <left> <right> <down> <right> <right> <down> 
<right> <right> <left> <left> <left> <down> <down> 
<left> <down> SPC SPC SPC SPC SPC SPC M-x e m a c s 
- b u <tab> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
p o <tab> r t - e m <tab> <return>

Recent messages:
Reading active file from archive via nnfolder...done
Reading active file via nndraft...done
Checking new news...done
Are you sure you want to quit reading news? (y or n)  y
Destroying external MIME viewers
(No changes need to be saved)
Note: file is write protected
Entering debugger...
Making completion list...
Auto-saving tetris-scores: Opening output file: permission denied, /usr/local/var/games/emacs/#tetris-scores#

Load-path shadows:
None found.

Features:
(shadow emacsbug debug tetris gamegrid diff-mode vc vc-dispatcher
mailalias thingatpt canlock apropos dabbrev misearch multi-isearch
sendmail help-mode shr-color color shr gnus-draft flow-fill mm-archive
gnus-dup browse-url mule-util sort smiley gnus-cite mail-extr gnus-async
gnus-bcklg parse-time qp gnus-ml disp-table pop3 nndraft nnmh netrc
gnutls network-stream auth-source eieio starttls tls nnml nnfolder nnnil
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig
mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source gnus-start gnus-spec gnus-int gnus-range message format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win
vc-rcs info sh-script smie executable latexenc jka-compr make-mode
dired-x dired preview prv-emacs byte-opt reftex-dcr reftex-auc reftex
reftex-vars tex-bar toolbar-x noutline outline font-latex warnings
bytecomp byte-compile cconv latex easy-mmode edmacro kmacro tex-style
python rx scheme tex-buf tex-info texinfo tex lilypond-mode cl-macs gv
compile comint ansi-color ring vc-git cc-langs cl cl-lib cc-mode
cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs nadvice advice help-fns desktop minibuf-eldef gnus
gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit
cus-start cus-load preview-latex tex-site auto-loads server time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind inotify
dynamic-setting system-font-setting font-render-setting x-toolkit x
multi-tty emacs)

-- 
David Kastrup