From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81436 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus quietly quits in background? Date: Sun, 19 Feb 2012 09:47:50 +0100 Organization: Programmerer Ingebrigtsen Message-ID: <87r4xrryyx.fsf@gnus.org> References: <874nuo5xte.fsf@ericabrahamsen.net> <878vk0pa9z.fsf@gnus.org> <87mx8g5ge7.fsf@gmail.com> <87fwe7x1oh.fsf@gnus.org> <87aa4fobl7.fsf@ericabrahamsen.net> <87vcn3rzna.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1329641336 4057 80.91.229.3 (19 Feb 2012 08:48:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2012 08:48:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29716@lists.math.uh.edu Sun Feb 19 09:48:56 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rz2Rv-00054F-P5 for ding-account@gmane.org; Sun, 19 Feb 2012 09:48:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Rz2RG-0001jz-UZ; Sun, 19 Feb 2012 02:48:10 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Rz2RF-0001jo-AG for ding@lists.math.uh.edu; Sun, 19 Feb 2012 02:48:09 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rz2RA-0006Ne-TT for ding@lists.math.uh.edu; Sun, 19 Feb 2012 02:48:09 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rz2R9-0005am-GR for ding@gnus.org; Sun, 19 Feb 2012 09:48:03 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rz2R5-0004eF-O1 for ding@gnus.org; Sun, 19 Feb 2012 09:47:59 +0100 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Feb 2012 09:47:59 +0100 Original-Received: from larsi by 93-41-188-50.ip82.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Feb 2012 09:47:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-41-188-50.ip82.fastwebnet.it Mail-Copies-To: never User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:/EmlyRAJesAHK60wDwdFZJD3344= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81436 Archived-At: Lars Ingebrigtsen writes: > Right. I've now instrumented `kill-buffer' so that it'll give me a > backtrace when something tries to kill the group buffer. And I got a backtrace. The code is: (defun gnus-html-image-fetched (status buffer image) "Callback function called when image has been fetched." (unless (plist-get status :error) [...] ) (kill-buffer (current-buffer))) So when we get an :error, sometimes the http buffer doesn't exist? That's just weird. Debugger entered: nil (progn (debug)) (if (and (bufferp buffer) (or (equal (buffer-name buffer) "*Group*") (and (> (length (buffer-name buffer)) 10) (equal (substring (buffer-name buffer) 0 8) "*Summary")))) (progn (debug))) (when (and (bufferp buffer) (or (equal (buffer-name buffer) "*Group*") (and (> (length (buffer-name buffer)) 10) (equal (substring (buffer-name buffer) 0 8) "*Summary")))) (debug)) kill-buffer(#) gnus-html-image-fetched((:error (error connection-failed "deleted\n" :host "gifninja.com" :service 80)) nil ("http://gifninja.com/animatedgifs/647830/buffer.gif")) apply(gnus-html-image-fetched ((:error (error connection-failed "deleted\n" :host "gifninja.com" :service 80)) nil ("http://gifninja.com/animatedgifs/647830/buffer.gif"))) url-queue-callback-function((:error (error connection-failed "deleted\n" :host "gifninja.com" :service 80)) [cl-struct-url-queue "http://gifninja.com/animatedgifs/647830/buffer.gif" gnus-html-image-fetched (nil ("http://gifninja.com/animatedgifs/647830/buffer.gif")) t # 1329640750.369599 nil t]) apply(url-queue-callback-function ((:error (error connection-failed "deleted\n" :host "gifninja.com" :service 80)) [cl-struct-url-queue "http://gifninja.com/animatedgifs/647830/buffer.gif" gnus-html-image-fetched (nil ("http://gifninja.com/animatedgifs/647830/buffer.gif")) t # 1329640750.369599 nil t])) url-http-activate-callback() url-http-async-sentinel(# "deleted\n") delete-process(#) byte-code("\302\303\304H >\204.