* bug#17870: 24.3.91; Crashing when revert-buffer on file with large size reduction
@ 2014-06-29 13:24 Axel Bregnsbo
2014-06-29 13:56 ` Andreas Schwab
2014-06-29 22:05 ` Stefan Monnier
0 siblings, 2 replies; 3+ messages in thread
From: Axel Bregnsbo @ 2014-06-29 13:24 UTC (permalink / raw)
To: 17870
[-- Attachment #1: Type: text/plain, Size: 3645 bytes --]
;;; 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:
<help-echo> M-x r e p o r t - m <backspace> e m a c
s - SPC b u g <backspace> <backspace> <backspace> C-g
C-x C-f d e <tab> 6 <tab> 6 _ b u <tab> <backspace>
<backspace> <tab> <tab> <return> M-x e r <backspace>
<backspace> r e p o r t - m e <tab> <backspace> <backspace>
e m <tab> <return>
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))
[-- Attachment #2: Type: text/html, Size: 5266 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-29 22:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-29 13:24 bug#17870: 24.3.91; Crashing when revert-buffer on file with large size reduction Axel Bregnsbo
2014-06-29 13:56 ` Andreas Schwab
2014-06-29 22:05 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.