Subject: Re: bug#10169: a simple interrupt evokes abort?! (but only with (require 'saveplace))

From: Dan Nicolaescu <[email-masked]>
Date: Thu, 01 Dec 2011 19:34:38 -0500

Glenn Morris <[email-masked]> writes:

> I can reproduce it on Scientific Linux 6.1, x86_64, with gcc 4.4.5
> 20110214 (Red Hat 4.4.5-6). Backtrace:
>
> Lisp Backtrace:
>   "scan-lists" (0xffff19b8)
>   "down-list" (0xffff1ea0)
>   "byte-code" (0xffff2290)
>   "pp-buffer" (0xffff2a48)
>   "pp-to-string" (0xffff2f20)
>   "pp" (0xffff33e8)
>   "save-place-alist-to-file" (0xffff38b8)
>   "save-place-kill-emacs-hook" (0xffff3e58)

A quick hack: put a `when' around the `pp' call in `save-place-alist-to-file'

    (when save-place-alist
      (pp (sort save-place-alist

and it does not crash anymore.  Sounds strange, but unfortunately I
don't have time at the moment to investigate further what's really going
on.