[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs hangs when changing network while sleeping
From: |
joakim |
Subject: |
Re: emacs hangs when changing network while sleeping |
Date: |
Mon, 24 Jan 2011 21:44:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> On Mon, 24 Jan 2011 13:42:29 +0100 address@hidden wrote:
>
> j> Stefan Monnier <address@hidden> writes:
>>>> This happens for me too. I have the following workaround script.
>>>> Basically it finds the ip of an open nntp session that is hanging due to
>>>> local interface change, and makes a dummy lookalike interface on the
>>>> loopback interface. Emacs is then able to determine that the interface
>>>> is dead and can recover.
>>>
>>>> #/bin/sh
>>>> `lsof -n|grep emacs|grep nntp|sed "s/.*TCP\
>>>> \\([^:]*\\):.*->\\([^:].*\\):.*/
>>>> export a=\\1 export b=\\2/"`
>>>> echo $a $b
>>>> ifconfig lo:1 $a
>>>> ifconfig lo:2 $b
>>>> echo press enter when emacs is alive
>>>> read
>>>> ifconfig lo:1 down
>>>> ifconfig lo:2 down
>>>
>>> Could someone take it up to the gnutls guys to try and figure out what's
>>> going on?
>
> j> In my case I dont think gnutls is involved since I only have an
> j> unencrypted connection to gmane.
>
> Is there a way to test this without a laptop?
There is nothing laptop specific about the bug.
Its not gnus specific either. Its just that gnus keeps a connection
open. To recreate, keep a connection open, bring down the interface and
try to read something from the connection. Emacs will hang.
>
> I'd rather not make it a GnuTLS issue if it happens with unencrypted
> connections as well.
>
> Ted
>
--
Joakim Verona
- emacs hangs when changing network while sleeping, Rémi Letot, 2011/01/22
- Re: emacs hangs when changing network while sleeping, joakim, 2011/01/22
- Re: emacs hangs when changing network while sleeping, Ted Zlatanov, 2011/01/24
- Re: emacs hangs when changing network while sleeping,
joakim <=
- Re: emacs hangs when changing network while sleeping, Chad Brown, 2011/01/24
- Re: emacs hangs when changing network while sleeping, joakim, 2011/01/24
- Re: emacs hangs when changing network while sleeping, Rémi Letot, 2011/01/24
- Re: emacs hangs when changing network while sleeping, Rémi Letot, 2011/01/24