Subject: emacs 23 segfaults during cvs build

From: Daniel Flesner <[email-masked]>
Date: Mon, 23 Mar 2009 23:04:08 -0400

i tried to build the lastest version of emacs 23 from CVS on my FC10
machine (2.6.27.19-170.2.35.fc10.x86_64) and it core dumps as it
starts the byte compile phase. the glibc version is glibc-2.9-3.x86_64

make[3]: ***
 [/home/danimal/opensource/emacs/lisp/emacs-lisp/bytecomp.elc]
 Segmentation fault

bootstrap-emacs stack trace:

(gdb) bt full
#0  0x00007ffff3e494e8 in malloc_set_state () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000000004e6886 in malloc_initialize_hook () at emacs.c:732
No locals.
#2  0x00007ffff3e492a1 in ptmalloc_init () from /lib64/libc.so.6
No symbol table info available.
#3  0x00007ffff3e4cb97 in malloc_hook_ini () from /lib64/libc.so.6
No symbol table info available.
#4  0x00007ffff3e3899a in __fopen_internal () from /lib64/libc.so.6
No symbol table info available.
#5  0x00007ffff2f86f41 in ?? () from /lib64/libselinux.so.1
No symbol table info available.
#6  0x00007ffff2f890d6 in ?? () from /lib64/libselinux.so.1
No symbol table info available.
#7  0x00007ffff5e68000 in ?? ()
No symbol table info available.
#8  0x00007ffff3191070 in ?? ()
No symbol table info available.
#9  0x00007ffff2d2ed68 in init_array () from /lib64/libdl.so.2
No symbol table info available.
#10 0x00007ffff2f79783 in _init () from /lib64/libselinux.so.1
No symbol table info available.
#11 0x0000000000000037 in ?? ()
#12 0x000000000011eaf0 in _dl_init_internal () from
/lib64/ld-linux-x86-64.so.2
No symbol table info available.
#13 0x0000000000110b2a in _dl_start_user () from
/lib64/ld-linux-x86-64.so.2
No symbol table info available.
#14 0x0000000000000004 in ?? ()
No symbol table info available.
#15 0x00007fffffffe72e in ?? ()
No symbol table info available.
#16 0x00007fffffffe761 in ?? ()
No symbol table info available.
#17 0x00007fffffffe764 in ?? ()
No symbol table info available.
#18 0x00007fffffffe771 in ?? ()
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.

In GNU Emacs 22.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.14.7)
 of 2009-02-09 on x86-1.fedora.phx.redhat.com
configured using `configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic''

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

Major mode: Summary

Minor modes in effect:
  encoded-kbd-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A C-s e m a c s q C-g C-g ^ ESC O B SPC 
C-s e m a c s ESC O D ESC O D SPC ESC O B ESC O B ESC 
O B SPC ! q ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC 
O A ESC O A ESC O A T m l i s t s RET ESC O B ESC O 
B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B C-c C-s ESC O A ESC O A ESC O C 
SPC SPC m e m a c s - d e TAB v e l @ g n u . o r g 
ESC O B e m a c s SPC 2 3 SPC w o n ' t SPC b u i l 
d SPC . . . ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O C C-k C-k C-k C-k C-k C-k C-k RET ESC 
O A i SPC g e t SPC t h e SPC f o l DEL DEL DEL DEL 
DEL DEL DEL DEL DEL DEL DEL DEL DEL o n SPC F C 1 0 
SPC t h e SPC C-x k RET y e s RET ESC x r e p o TAB 
r t - e m TAB RET

Recent messages:
Retrieving newsgroup: nnfolder+mail:emacs...
Fetching headers for nnfolder+mail:emacs...done
Generating summary...done
No more unread articles
Parsing /home/danimal/.mailrc... done
kill-line: End of buffer
Auto-saving...done
Making completion list...
Loading eieio-opt...done
Loading emacsbug...done