Subject: bug#13999: closed (Re: bug#13999: 24.3.50; rng-validate-while-idle -> (error "Selecting deleted buffer"))

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 24 Mar 2013 06:55:03 +0000

Your bug report

#13999: 24.3.50; rng-validate-while-idle -> (error "Selecting deleted buffer")

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
13999: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13999
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#13999: 24.3.50; rng-validate-while-idle -> (error "Selecting deleted buffer")
From: Leo Liu <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: [email-masked], Carsten Bormann <[email-masked]>
Date: Sun, 24 Mar 2013 14:51:54 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed in trunk.

Subject: 24.3.50; rng-validate-while-idle -> (error "Selecting deleted buffer")
From: Carsten Bormann <[email-masked]>
To: [email-masked]
Date: Tue, 19 Mar 2013 16:35:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Killing an nXML buffer sometimes leads to a repeated occurrence of the error:

Error in timer: (error "Selecting deleted buffer")

More detail:

Debugger entered--Lisp error: (error "Selecting deleted buffer")
  rng-validate-while-idle(#<killed buffer>)
  apply(rng-validate-while-idle #<killed buffer>)
  byte-code("r\301\302H\303H\"\210)\301\207" [timer apply 5 6] 4)
  timer-event-handler([t 0 1 500000 t rng-validate-while-idle (#<killed buffer>) idle 0])

I don't have a detailed procedure for reproducing this, yet.

At least, rng-validate-while-idle should kill the timer if the buffer
has been killed.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2013-03-17 on bob.porkrind.org
Bzr revision: 112062 [email-masked]
Windowing system distributor `Apple', version 10.3.1187
Configured using:
 `configure --host=x86_64-apple-darwin --build=i686-apple-darwin
 --with-ns'