Subject: 24.3.50; emacs -e shell dumps core if .emacs_bash exists

From: Oscar Bonilla <[email-masked]>
Date: Thu, 21 Mar 2013 11:24:22 -0700

ob@pauli:~$ emacs -Q -e shell
## This works fine
ob@pauli:~$ echo 'export FOO=BAR' > .emacs_bash
ob@pauli:~$ emacs -Q -e shell
Fatal error 11: Segmentation fault
Backtrace:
emacs[0x8133933]
emacs[0x811a533]
emacs[0x8132427]
emacs[0x81324a6]
[0xb76f5400]
emacs[0x81d5f50]
emacs[0x81d697d]
emacs[0x81415de]
emacs[0x814e05a]
emacs[0x818ca26]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818c89b]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818c89b]
emacs[0x818d953]
emacs[0x818cb09]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818c89b]
emacs[0x818daea]
emacs[0x818ce9f]
emacs[0x8188cf9]
emacs[0x818ca69]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818c89b]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818c89b]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818c89b]
emacs[0x81c1363]
emacs[0x818c5cb]
emacs[0x818ba0e]
emacs[0x818bca4]
emacs[0x818e03a]
emacs[0x811cbb9]
emacs[0x818affd]
...
Segmentation fault (core dumped)
ob@pauli:~$ 

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2013-03-19 on chindi07, modified by Debian
 (emacs-snapshot package, version 2:20130317-1~ppa1~precise1)
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.2 LTS

Configured using:
 `configure --build i686-linux-gnu --host i686-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp
 --without-compress-info --with-crt-dir=/usr/lib/i386-linux-gnu/
 --with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes
 CFLAGS='-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'
 CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-g -Wl,--as-needed
 -znocombreloc''

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

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  iswitchb-mode: t
  sml-modeline-mode: t
  autopair-mode: t
  autopair-global-mode: t
  which-function-mode: t
  show-paren-mode: t
  diff-auto-refine-mode: t
  yas/global-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
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x e m a c s - r e b <tab> <backspace> p <tab> <backspace> 
<backspace> <backspace> <tab> <M-backspace> r e p o 
<tab> r <tab> <return>

Recent messages:
Loading /usr/libexec/bitkeeper/contrib/vc-bk.el (source)...done
Loading /home/ob/emacs/bk.el (source)...
Loading /home/ob/emacs/bk-changes-mode.el (source)...done
Loading /home/ob/emacs/bk.el (source)...done
Loading /home/ob/emacs/xcscope.el (source)...done
Loading /home/ob/emacs/x.el (source)...done
Loading /home/ob/emacs/sml-modeline.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Package assoc is obsolete!
Making completion list... [2 times]

Load-path shadows:
/usr/share/emacs/24.3.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
~/emacs/flymake hides /usr/share/emacs/24.3.50/lisp/progmodes/flymake
~/emacs/ob hides /usr/share/emacs/24.3.50/lisp/org/ob

Features:
(shadow sort gnus-util mail-extr emacsbug message 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
mail-prsvr mail-utils help-mode shell pcomplete iswitchb sml-modeline ob
autopair iedit bk-emacs grep diff man which-func imenu cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
xcscope skeleton bk-changes-mode ediff-merg ediff-diff ediff-wind
ediff-help ediff-util ediff-mult ediff-init ediff vc-bk vc vc-dispatcher
paren develock uniquify diff-mode flymake compile comint ansi-color ring
advice yasnippet help-fns derived easy-mmode edmacro kmacro cl-macs gv
easymenu assoc cl nadvice cl-lib 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 move-toolbar gtk x-toolkit x
multi-tty emacs)