From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Possible GnuTLS-related hard hang Date: Fri, 27 Jan 2012 14:04:36 +0100 Message-ID: <87ehul9tzv.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327669517 22410 80.91.229.12 (27 Jan 2012 13:05:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2012 13:05:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 14:05:14 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqlUP-00079h-9y for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2012 14:05:13 +0100 Original-Received: from localhost ([::1]:36855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqlUO-0008C2-5R for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2012 08:05:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqlUG-00087r-SZ for emacs-devel@gnu.org; Fri, 27 Jan 2012 08:05:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqlUA-0000jV-M2 for emacs-devel@gnu.org; Fri, 27 Jan 2012 08:05:04 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:40691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqlUA-0000iQ-Gz for emacs-devel@gnu.org; Fri, 27 Jan 2012 08:04:58 -0500 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RqlTq-00035T-N9 for emacs-devel@gnu.org; Fri, 27 Jan 2012 14:04:38 +0100 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) X-MailScanner-ID: 1RqlTq-00035T-N9 MailScanner-NULL-Check: 1328274280.18632@R4ASrtG9QD4jEsKPpqY98Q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147976 Archived-At: 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 [pid 12145] restart_syscall(<... resuming interrupted call ...> [pid 12144] restart_syscall(<... resuming interrupted call ...> [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) larsi@rusty:~/pgnus$ ls -l /proc/12143/fd/10 lrwx------ 1 larsi larsi 64 2012-01-27 13:14 /proc/12143/fd/10 -> socket:[586673] larsi@rusty:~/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. Assuming that my guess is correct, does anybody know whether there's some option we can set to make GnuTLS less, er, willing to infloop while trying to send data? -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome