Subject: 25.0.95; crashes on Mac OS X 10.6.8. Snow Leopard

From: Peter Dyballa <[email-masked]>
Date: Mon, 13 Jun 2016 23:18:50 +0200

Hello!

When I'm launching GNU Emacs 25.0.95 with the same options as GNU Emacs 25.0.50 it crashes with

	lisp.h:1539: Emacs fatal error: assertion failed: 0 <= size

In GDB I set

	set args "-xrm 'Emacs*iconName: TeX Live-2015' -T 'TeX Live [email-masked]' -geometry 133x75+1111+81 --debug-init -fn 'Lucida Sans Typewriter:autohint=true:antialias=true:size=9'"

and run it. After much output about missing debug information in packages GNU Emacs uses I get:

. done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000048b0
0x00000001012547da in FT_Done_Size ()
(gdb) bt full
#0  0x00000001012547da in FT_Done_Size ()
No symbol table info available.
#1  0x00000001002cd613 in ftcrfont_close ()
No symbol table info available.
#2  0x00000001002021c5 in cleanup_vector ()
No symbol table info available.
#3  0x000000010020230a in sweep_vectors ()
No symbol table info available.
#4  0x0000000100209c63 in gc_sweep ()
No symbol table info available.
#5  0x00000001002070c0 in garbage_collect_1 ()
No symbol table info available.
#6  0x0000000100207718 in Fgarbage_collect ()
No symbol table info available.
#7  0x000000010016f192 in maybe_gc ()
No symbol table info available.
#8  0x0000000100231273 in Ffuncall ()
No symbol table info available.
#9  0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#10 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#11 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#12 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#13 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#14 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#15 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#16 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#17 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#18 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#19 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#20 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#21 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#22 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#23 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#24 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#25 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#26 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#27 0x0000000100230894 in funcall_nil ()
No symbol table info available.
#28 0x0000000100230d85 in run_hook_with_args ()
No symbol table info available.
#29 0x000000010023090c in Frun_hook_with_args ()
No symbol table info available.
#30 0x0000000100230e1b in run_hook ()
No symbol table info available.
#31 0x00000001002308ce in Frun_hooks ()
No symbol table info available.
#32 0x0000000100231404 in Ffuncall ()
No symbol table info available.
#33 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#34 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#35 0x00000001002317e1 in Ffuncall ()
No symbol table info available.
#36 0x000000010028c1b6 in exec_byte_code ()
No symbol table info available.
#37 0x0000000100231f03 in funcall_lambda ()
No symbol table info available.
#38 0x0000000100231ba2 in apply_lambda ()
No symbol table info available.
#39 0x000000010022febd in eval_sub ()
No symbol table info available.
#40 0x000000010022f24e in Feval ()
No symbol table info available.
#41 0x0000000100176b12 in top_level_2 ()
No symbol table info available.
#42 0x000000010022d6ba in internal_condition_case ()
No symbol table info available.
#43 0x0000000100176b5e in top_level_1 ()
No symbol table info available.
#44 0x000000010022cbab in internal_catch ()
No symbol table info available.
#45 0x0000000100176a33 in command_loop ()
No symbol table info available.
#46 0x0000000100175ede in recursive_edit_1 ()
No symbol table info available.
#47 0x00000001001760fd in Frecursive_edit ()
No symbol table info available.
#48 0x0000000100173d93 in main ()
No symbol table info available.
Unable to call function "backtrace_p" at 0x100229cc7: no return type information available.
To call this function anyway, you can cast the return type explicitly (e.g. 'print (float) fabs (3.0)')
(gdb) xbacktrace
Unable to call function "backtrace_p" at 0x100229cc7: no return type information available.
To call this function anyway, you can cast the return type explicitly (e.g. 'print (float) fabs (3.0)')
(gdb) The program is running.  Exit anyway? (y or n) y
#

The following comes from "./emacs-25.0.95.2 -Q":

In GNU Emacs 25.0.95.2 (x86_64-apple-darwin10.8.0, X toolkit, cairo version 1.14.6, Xaw3d scroll bars)
 of 2016-06-13 built on sumac
Windowing system distributor 'The X.Org Foundation', version 11.0.11899001
Configured using:
 'configure --disable-dependency-tracking --disable-ns-self-contained
 --without-ns --without-pop --without-sound --without-gpm --without-dbus
 --without-selinux --without-imagemagick --with-x-toolkit=athena
 --with-cairo --with-modules --enable-checking
 --x-libraries=/opt/local/lib --x-includes=/opt/local/include/X11
 '--enable-locallisppath=/Library/Application
 Support/Emacs/calendar25:/Library/Application Support/Emacs' 'CFLAGS=-H
 -pipe -fPIC -fno-common -O0 -std=c99' 'LDFLAGS=-Wl,-dead_strip_dylibs
 -Wl,-bind_at_load -Wl,-t'
 PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig:/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/opt/local/lib/nspr/pkgconfig:/usr/local/clamXav/lib/pkgconfig:/opt/local/libexec/qt4/lib/pkgconfig'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO GCONF GSETTINGS NOTIFY ACL GNUTLS
LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES

Important settings:
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-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 messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue dynamic-setting
system-font-setting font-render-setting cairo x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 86995 5041)
 (symbols 48 19595 0)
 (miscs 40 82 72)
 (strings 32 14926 5224)
 (string-bytes 1 424913)
 (vectors 16 11757)
 (vector-slots 8 429393 5358)
 (floats 8 165 55)
 (intervals 56 262 8)
 (buffers 976 12))

- --
Greetings

  Pete

Give a man a fish, and you've fed him for a day. Teach him to fish, and you've depleted the lake.