bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9087: Crash reading from minibuffer with icomplete-mode


From: Claudio Bley
Subject: bug#9087: Crash reading from minibuffer with icomplete-mode
Date: Wed, 04 Jan 2012 16:44:53 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.0.92 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO)

Hi.

Here's a simple example code exposing the crash:

----------------------------------------------------------------------

(defun dosmthg ()
  "`nth' is a bytecode function in bytecode.c
which sets immediate_quit to non-zero before execution."
  (let ((alist (cons 1 nil)))
    (setcdr alist alist)
    (nth most-positive-fixnum alist)))

(catch 'yahee
  (let ((throw-on-input 'yahee)
        (i 4))
    (sit-for 1)
    (while (> i 1)
      (message "hit a key after countdown... %d" (setq i (1- i)))
      (sit-for 1))
    (message "now!")
    (dosmthg)))

----------------------------------------------------------------------

Save as "triggerbug.el" and bytecompile.

Run "emacs -Q -l triggerbug.elc" and follow the on screen
instructions.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]