From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dme@dme.org Newsgroups: gmane.emacs.devel Subject: Re: Mac OS X - Hang / C-g problem patch Date: Mon, 09 Dec 2002 10:13:35 +0000 Organization: none Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <6E796744-0A74-11D7-B27B-00039390AB82@mac.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039433000 23585 80.91.224.249 (9 Dec 2002 11:23:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 11:23:20 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LM0N-000689-00 for ; Mon, 09 Dec 2002 12:23:19 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LMAP-0003ES-00 for ; Mon, 09 Dec 2002 12:33:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LKyS-00059j-08 for emacs-devel@quimby.gnus.org; Mon, 09 Dec 2002 05:17:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LKyC-00059L-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 05:17:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LKy9-000594-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 05:16:58 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LKy9-00058f-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 05:16:57 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18LKxz-00036M-00 for ; Mon, 09 Dec 2002 11:16:47 +0100 Original-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18LKxz-00036D-00 for ; Mon, 09 Dec 2002 11:16:47 +0100 Original-Path: chocolate-chip-cookie.dme.org!news Original-Lines: 40 Original-NNTP-Posting-Host: host217-37-28-201.in-addr.btopenworld.com Original-X-Trace: main.gmane.org 1039429007 11916 217.37.28.201 (9 Dec 2002 10:16:47 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Mon, 9 Dec 2002 10:16:47 +0000 (UTC) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (powerpc-apple-darwin) Cancel-Lock: sha1:o1VnD6SJIIqEhMuY2LP3Kmhv1uQ= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:9987 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9987 * steventamm@mac.com [2002-12-08 06:15:21] > [...] I updated and re-configured, rebuilt, etc. When attempting to use ERC, emacs reliably hangs in sys_select(), due to there being no bits set in rfds. Faking some bits using gdb lets emacs carry on a little, but it hangs again quite quickly. The trace is: (gdb) where #0 0x90025cc8 in select () #1 0x00117cb0 in sys_select (n=10, rfds=0xbfffdf60, wfds=0x0, efds=0x0, timeout=0x0) at mac.c:2789 #2 0x00117dd8 in sys_read (fds=-1073750176, buf=0x1
, nbyte=3221217008) at mac.c:2818 #3 0x0007b520 in emacs_read (fildes=9, buf=0xbfffe0b0 "", nbyte=1024) at sysdep.c:3279 #4 0x00102b80 in read_process_output (proc=1108160672, channel=9) at process.c:4390 #5 0x00102694 in wait_reading_process_input (time_limit=30, microsecs=0, read_kbd=2571592, do_display=1) at process.c:4134 #6 0x0000c454 in sit_for (sec=30, usec=0, reading=1, display=1, initial_display=0) at dispnew.c:6247 #7 0x0006674c in read_char (commandflag=1, nmaps=4, maps=0xbfffefa0, prev_event=274970324, used_mouse_menu=0xbffff0a4) at keyboard.c:2630 #8 0x0006e754 in read_key_sequence (keybuf=0xbffff170, bufsize=33599088, prompt=274970324, dont_downcase_last=2362820, can_return_switch_frame=1, fix_current_buffer=2350356) at keyboard.c:8505 #9 0x0006415c in command_loop_1 () at keyboard.c:1473 #10 0x000c943c in internal_condition_case (bfun=0x63d34 , handlers=275016892, hfun=0x636e4 ) at eval.c:1352 #11 0x00063b14 in command_loop_2 () at keyboard.c:1274 #12 0x000c8edc in internal_catch (tag=4, func=0x63ad4 , arg=274970324) at eval.c:1112 #13 0x00063a6c in command_loop () at keyboard.c:1253 #14 0x00063480 in recursive_edit_1 () at keyboard.c:969 #15 0x00063608 in Frecursive_edit () at keyboard.c:1025 #16 0x000620dc in main (argc=0, argv=0xbffffdf8) at emacs.c:1647 #17 0x00003c48 in _start (argc=50, argv=0x0, envp=0x23b2b4) at /SourceCache/Csu/Csu-45/crt.c:267 #18 0x00003ac8 in start () (gdb) up #1 0x00117cb0 in sys_select (n=10, rfds=0xbfffdf60, wfds=0x0, efds=0x0, timeout=0x0) at mac.c:2789 2789 if ((r = select (n, rfds, wfds, efds, &one_second)) > 0) (gdb) print *rfds $27 = { fds_bits = {0 } } (gdb) Has anyone else seen this ? I'll carry on looking...