[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GnuTLS hangs in Emacs
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: GnuTLS hangs in Emacs |
Date: |
Sat, 11 Feb 2012 17:33:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
On 02/11/2012 04:42 PM, Lars Ingebrigtsen wrote:
> I'm trying to investigate some "hard" Emacs hangs that seem
> network-related.
>
> My laptop went into sleep mode, and when it came back, Emacs hung hard.
> It may have changed its IP address or something.
> strace showed the following:
> Process 12143 attached with 3 threads - interrupt to quit
> [pid 12143] sendto(10,
> "\340\204s\374\204\22\231\26M;?\307\220=^\206T\371Q\374o\324\246i\31\256\31$\314\315\367\362"...,
> 136, 0, NULL, 0 <unfinished ...>
> [pid 12145] restart_syscall(<... resuming interrupted call ...> <unfinished
> ...>
> [pid 12144] restart_syscall(<... resuming interrupted call ...> <unfinished
> ...>
> [pid 12143] <... sendto resumed> ) = -1 EAGAIN (Resource temporarily
> unavailable)
> [pid 12143] sendto(10,
> "\340\204s\374\204\22\231\26M;?\307\220=^\206T\371Q\374o\324\246i\31\256\31$\314\315\367\362"...,
> 136, 0, NULL, 0) = -1 EAGAIN (Resource temporarily unavailable)
> [pid 12143] sendto(10,
> "\340\204s\374\204\22\231\26M;?\307\220=^\206T\371Q\374o\324\246i\31\256\31$\314\315\367\362"...,
> 136, 0, NULL, 0) = -1 EAGAIN (Resource temporarily unavailable)
> [pid 12143] sendto(10,
> "\340\204s\374\204\22\231\26M;?\307\220=^\206T\371Q\374o\324\246i\31\256\31$\314\315\367\362"...,
> 136, 0, NULL, 0) = -1 EAGAIN (Resource temporarily unavailable)
> address@hidden:~/pgnus$ ls -l /proc/12143/fd/10
> lrwx------ 1 larsi larsi 64 2012-01-27 13:14 /proc/12143/fd/10 ->
> socket:[586673]
> address@hidden:~/pgnus$ lsof | grep 586673
> emacs 12143 larsi 10u IPv4 586673 0t0 TCP
> 10.0.1.2:50099->dough.gmane.org:nntp (ESTABLISHED)
> This is a STARTTLS connection, so I'm guessing that the sendto up there
> is from GnuTLS.
Hello,
I see not much related to gnutls. You should bring it up with the emacs
people. GnuTLS reports the EAGAIN back to application thus the
application might decide to fail at some point. In any case this looks
like a sendto() issue. Why would it send EAGAIN forever?
regards,
Nikos
- GnuTLS hangs in Emacs, Lars Ingebrigtsen, 2012/02/11
- Re: GnuTLS hangs in Emacs,
Nikos Mavrogiannopoulos <=