Subject: bug#774: 23.0.60; Segfault when opening a file

From: "Christian Faulhammer" <[email-masked]>
Date: Mon, 25 Aug 2008 17:07:46 +0200 (MEST)

Hi,

when opening the attached TeX file (stripped down to the lines that cause the crash), my Emacs segfaults. Compiled from HEAD this morning 1000 CEST, although I have this problem for two weeks now.  Forgot the backtrace in my previous message.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7f666d0 (LWP 29487)]
0x080f21b4 in fontset_find_font ()
(gdb) bt
#0  0x080f21b4 in fontset_find_font ()
#1  0x080f27a6 in fontset_font ()
#2  0x080f29f9 in face_for_char ()
#3  0x0818bc51 in font_range ()
#4  0x080828a7 in handle_auto_composed_prop ()
#5  0x080784fd in handle_stop ()
#6  0x0807cffd in next_element_from_buffer ()
#7  0x0807a83d in get_next_display_element ()
#8  0x0808005d in display_line ()
#9  0x08089e92 in try_window ()
#10 0x0808b784 in redisplay_window ()
#11 0x0808d153 in redisplay_window_0 ()
#12 0x0817b618 in internal_condition_case_1 ()
#13 0x08078a16 in redisplay_windows ()
#14 0x08d0f2dc in ?? ()
#15 0x0836e5b5 in ?? ()
#16 0x08068f30 in ?? ()
#17 0x084a7800 in ?? ()
#18 0x084a7800 in ?? ()
#19 0xbfb8f028 in ?? ()
#20 0x0808dbe7 in redisplay_internal ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10)
 of 2008-08-25 on sol
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=athlon-xp -pipe' 'LDFLAGS=-Wl,--as-needed''

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

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-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
  global-auto-composition-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 r e p o r <tab> <return>

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