From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: More info on sporadic OS/X crash Date: 28 Apr 2004 08:37:19 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083130585 21603 80.91.224.253 (28 Apr 2004 05:36:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2004 05:36:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 28 07:36:16 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIhk0-0007w5-00 for ; Wed, 28 Apr 2004 07:36:16 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIhk0-000668-00 for ; Wed, 28 Apr 2004 07:36:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIhjo-0004zu-2I for emacs-devel@quimby.gnus.org; Wed, 28 Apr 2004 01:36:04 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BIhjj-0004yt-IK for emacs-devel@gnu.org; Wed, 28 Apr 2004 01:35:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BIhjD-0004X8-Kj for emacs-devel@gnu.org; Wed, 28 Apr 2004 01:35:58 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1BIhjC-0004Sk-Vs; Wed, 28 Apr 2004 01:35:27 -0400 Original-To: Piet van Oostrum In-reply-to: (message from Piet van Oostrum on 27 Apr 2004 17:24:36 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22285 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22285 > From: Piet van Oostrum > Date: 27 Apr 2004 17:24:36 +0200 > > However now I have occasional hangs in select(), always when using gnus. > It could be a server that is not responding, but I am not sure. I attach a > stack trace below. The hang doesn't get broken with C-g (the well-known > problem), but sometimes it helps to Ctrl-Z gdb (I am running emacs from > gdb), and/or hitting Ctrl-C in the gdb terminal window. Continuing then > resumes normal life but it can take quite some time. > > Program received signal SIGTSTP, Stopped (user). > 0x9000b308 in select () > (gdb) bt > #0 0x9000b308 in select () > #1 0x0012eeac in sys_select (n=126, rfds=0x38e7e4, wfds=0x0, efds=0x0, timeout=0xbfffcb60) at mac.c:2787 > #2 0x00119948 in wait_reading_process_input (time_limit=1, microsecs=0, read_kbd=3506604, do_display=0) at process.c:4311 What is the contents of the struct pointed to by `timeout' in frame #1 above? Can you tell what GDB prints if you type print *timeout in that frame? If the contents of that struct are reasonable (i.e. 1 second), is it possible that Emacs loops infinitely in sys_select, and if so, why?