Subject: 24.4.50; crash in redisplay when calling load-theme

From: Mark Oteiza <[email-masked]>
Date: Mon, 28 Jul 2014 20:36:06 -0400

gdb emacs
run -nw -Q

M-x load-theme RET some-default-theme RET

(gdb) xbacktrace al (C function)" (0xbbeea0)
"redisplay_internal (C function)" (0xbbeea0)
(gdb) bt
#0  terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:359
#1  0x00000000004fe2e3 in emacs_abort () at sysdep.c:2198
#2  0x00000000004a81c1 in cmcheckmagic (tty=0x13d82a0) at cm.c:120
#3  0x0000000000418225 in update_frame_line (f=f@entry=0xc0ab08, vpos=50) at dispnew.c:4839
#4  0x000000000041bb64 in update_frame_1 (f=f@entry=0xc0ab08, force_p=<optimized out>, force_p@entry=true, inhibit_id_p=inhibit_id_p@entry=false, 
    set_cursor_p=set_cursor_p@entry=true) at dispnew.c:4509
#5  0x000000000041d11e in update_frame (f=0xc0ab08, force_p=<optimized out>, inhibit_hairy_id_p=<optimized out>) at dispnew.c:3110
#6  0x000000000044fccf in redisplay_internal () at xdisp.c:13869
#7  0x00000000004510a5 in redisplay () at xdisp.c:13115
#8  0x00000000004ef679 in read_char (commandflag=1, map=map@entry=19890598, prev_event=12545906, used_mouse_menu=used_mouse_menu@entry=0x7fffffffdb0b, 
    end_time=end_time@entry=0x0) at keyboard.c:2560
#9  0x00000000004f0e05 in read_key_sequence (keybuf=keybuf@entry=0x7fffffffdbe0, prompt=12545906, dont_downcase_last=dont_downcase_last@entry=false, 
    can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30)
    at keyboard.c:9120
#10 0x00000000004f2bb0 in command_loop_1 () at keyboard.c:1438
#11 0x00000000005570a7 in internal_condition_case (bfun=bfun@entry=0x4f29b0 <command_loop_1>, handlers=<optimized out>, hfun=hfun@entry=0x4e9960 <cmd_error>) at eval.c:1347
#12 0x00000000004e4eae in command_loop_2 (ignore=ignore@entry=12545906) at keyboard.c:1169
#13 0x0000000000556f8b in internal_catch (tag=12593330, func=func@entry=0x4e4e90 <command_loop_2>, arg=12545906) at eval.c:1111
#14 0x00000000004e9577 in command_loop () at keyboard.c:1148
#15 recursive_edit_1 () at keyboard.c:769
#16 0x00000000004e9890 in Frecursive_edit () at keyboard.c:840
#17 0x00000000004140f1 in main (argc=0, argv=0x7fffffffdf48) at emacs.c:1650

Lisp Backtrace:
"redisplay_internal (C function)" (0xbbeea0)
(gdb)

In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2014-07-28 on holos
Configured using:
 `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=lucid 'CFLAGS=-march=x86-64
 -mtune=generic -O2 -pipe -fstack-protector-strong
 --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  flycheck-mode: t
  company-mode: t
  winner-mode: t
  show-paren-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
ESC [ > 8 4 ; 0 ; 0 c ESC x r e p o r t TAB RET

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/usr/share/emacs/24.4.50/lisp/loaddefs hides /home/mvo/.emacs.d/site-lisp/loaddefs
/usr/share/emacs/24.4.50/lisp/env hides /home/mvo/.emacs.d/site-lisp/expand-region/features/support/env

Features:
(shadow sort gnus-util mail-extr emacsbug message idna dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils xterm flycheck find-func
help-mode easymenu rx f dash s company-files company-oddmuse
company-keywords company-etags etags company-gtags company-dabbrev-code
company-dabbrev company-capf company-cmake company-ropemacs
company-xcode company-clang company-semantic company-eclim
company-template company-css company-nxml company-bbdb company pcase
easy-mmode cl-macs gv package windmove edmacro kmacro cl-loaddefs cl-lib
saveplace winner ring time-date paren tooltip electric uniquify
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
prog-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 nadvice 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 gfilenotify dynamic-setting system-font-setting
font-render-setting x-toolkit x multi-tty emacs)

Memory information:
((conses 16 126325 4289)
 (symbols 48 21390 0)
 (miscs 40 52 121)
 (strings 32 22506 4247)
 (string-bytes 1 610204)
 (vectors 16 10940)
 (vector-slots 8 372009 5422)
 (floats 8 89 369)
 (intervals 56 212 0)
 (buffers 976 11)
 (heap 1024 29754 891))