From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61537 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nntp problems with hibernating and waking up in a new network Date: Wed, 14 Dec 2005 15:15:27 +0100 Message-ID: References: <87lkyq3a60.fsf@dod.no> <87bqzmns0m.fsf@dod.no> <64ps4ypv.fsf@smtprelay.t-online.de> <878xuon6tn.fsf@dod.no> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134569891 14125 80.91.229.2 (14 Dec 2005 14:18:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 14:18:11 +0000 (UTC) Original-X-From: ding-owner+m10069@lists.math.uh.edu Wed Dec 14 15:18:08 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmXQ6-0004BA-S5 for ding-account@gmane.org; Wed, 14 Dec 2005 15:15:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EmXQ2-0005Pl-00; Wed, 14 Dec 2005 08:15:46 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EmXPw-0005Pg-00 for ding@lists.math.uh.edu; Wed, 14 Dec 2005 08:15:40 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EmXPu-0006xt-Mc for ding@lists.math.uh.edu; Wed, 14 Dec 2005 08:15:40 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EmXPt-0007Ao-00 for ; Wed, 14 Dec 2005 15:15:37 +0100 Original-Received: from latte.josefsson.org (jas@yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3) with ESMTP id jBEEFYL0023714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 14 Dec 2005 15:15:35 +0100 Original-To: ding@gnus.org OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:051214:ding@gnus.org::5uxAIdy2LNB3gDUD:F4MM In-Reply-To: <878xuon6tn.fsf@dod.no> (Steinar Bang's message of "Tue, 13 Dec 2005 20:19:16 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61537 Archived-At: Steinar Bang writes: >>>>>> Adrian Aichner : > >> At least under XEmacs >> (setq debug-on-quit t) >> would be an even better choice. > >> Anytime you wonder where it's hung, just use >> C-g (keyboard-quit) > > Got no backtrace on `C-g' in GNU Emacs. I guess that means this > happens inside a `condition-case'...? You can (setq debug-on-signal t) in this case, but you'll have to press 'c' for every signal that is caught, and figure out which signals are harmless. > There are 5 lines matching "condition-case" in buffer nntp.el: > 441: (condition-case err > 640: (condition-case nil > 1201: (condition-case () > 2026: (condition-case err > 2046: (condition-case err > > The one on line 1201 is inside the function nntp-open-connection, > which looks suspiciously like the one that's called when Gnus starts > talking to the NNTP server. That one calls nntp-open-network-stream > (in the default case), which calls the emacs built in > open-network-stream, which is where I'm guessing it is hanging. Try adding `(message "foo")' etc, or use edebug, or remove the condition-case to see where it blows up.