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: Wed, 28 Apr 2004 20:53:17 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <2719-Wed28Apr2004205317+0300-eliz@gnu.org> References: <16527.37427.874467.884062@Ordesa.local> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083175182 10683 80.91.224.253 (28 Apr 2004 17:59:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2004 17:59:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 28 19:59:28 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 1BItLE-00067a-00 for ; Wed, 28 Apr 2004 19:59:28 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BItLD-0001QD-00 for ; Wed, 28 Apr 2004 19:59:27 +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 1BItKm-0006y7-62 for emacs-devel@quimby.gnus.org; Wed, 28 Apr 2004 13:59:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BItIa-0005mL-Sw for emacs-devel@gnu.org; Wed, 28 Apr 2004 13:56:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BItHd-0005MK-NK for emacs-devel@gnu.org; Wed, 28 Apr 2004 13:56:18 -0400 Original-Received: from [192.114.186.23] (helo=aragorn.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BItGI-0004jq-QC for emacs-devel@gnu.org; Wed, 28 Apr 2004 13:54:23 -0400 Original-Received: from zaretski (pns03-208-152.inter.net.il [80.230.208.152]) by aragorn.inter.net.il (MOS 3.4.5-GR) with ESMTP id CUA13398; Wed, 28 Apr 2004 20:53:05 +0300 (IDT) Original-To: "Piet van Oostrum" X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <16527.37427.874467.884062@Ordesa.local> (piet@cs.uu.nl) 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:22313 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22313 > From: "Piet van Oostrum" > Date: Wed, 28 Apr 2004 13:14:59 +0200 > > (gdb) frame 1 > #1 0x0012eeac in sys_select (n=126, rfds=0x38e7e4, wfds=0x0, efds=0x0, timeout=0xbfffc770) at mac.c:2787 > 2787 return select(n, rfds, wfds, efds, timeout); > (gdb) print *timeout > $3 = { > tv_sec = 0, > tv_usec = 999996 > } > > So this looks normal. Well, yes and no: how come it's 999996 microseconds instead of a full second? That is, why don't you see this instead? $3 = { tv_sec = 1, tv_usec = 0 } This higher frame in the backtrace: > #2 0x00119948 in wait_reading_process_input (time_limit=1, microsecs=0, read_kbd=3506604, do_display=0) at process.c:4311 seems to imply that wait_reading_process_input was called to wait for 1 second and 0 microseconds, so where from did the small inaccuracy creep in?