;;; To reproduce bug ;;; 1) shell: dd if=/dev/zero of=test.log bs=1000 count=17000 # 17MB cause crash, 1.7MB do not ;;; 2) shell: emacs -Q ;;; 3) Emacs: execute elisp setup code below ;;; 4) Emacs: load test.log file ;;; 5) shell: echo "test" > test.log ;;; 6) Emacs: M-p ;;; 7) Emacs crashes with the message "Error in pre-command-hook (tooltip-hide): (wrong-type-argument listp undo)" (progn ;; Display PID in windows title to make it easier to know which Emacs to kill (setq frame-title-format (concat (system-name) " " (number-to-string (emacs-pid)))) ;;; Prevent the warning pop-up when undo information gets too large. (if (boundp 'warning-suppress-types) (add-to-list 'warning-suppress-types '(undo discard-info)) (setq warning-suppress-types '(undo discard-info))) (define-derived-mode backend-log-mode tcl-mode "backend-log") (add-to-list 'auto-mode-alist '(".log\\'" . backend-log-mode)) (setq revert-without-query '(".*")) (global-set-key "\M-p" 'revert-buffer) ) ;;; EOF In GNU Emacs 24.3.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2014-06-25 on backend17.dk.vitesse.com Windowing system distributor `The X.Org Foundation', version 11.0.70101000 System Description: Red Hat Enterprise Linux Client release 5.4 (Tikanga) Configured using: `configure --prefix=/users/abb/scripts' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: tooltip-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 input: M-x r e p o r t - m e m a c s - SPC b u g C-g C-x C-f d e 6 6 _ b u M-x e r r e p o r t - m e e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Making completion list... Load-path shadows: None found. 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 help-fns mail-prsvr mail-utils help-mode easymenu time-date tooltip electric uniquify 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 prog-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 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 make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 72540 7408) (symbols 48 17449 0) (miscs 40 39 138) (strings 32 9384 4535) (string-bytes 1 262164) (vectors 16 8885) (vector-slots 8 371673 15464) (floats 8 64 322) (intervals 56 269 24) (buffers 960 13) (heap 1024 370025 536))