From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: 1.8 make check failing in popen.test Date: Thu, 17 Aug 2006 20:01:30 -0700 Message-ID: <87bqqieohh.fsf@raven.defaultvalue.org> References: <87vepora1r.fsf@raven.defaultvalue.org> <87y7tqo0po.fsf@raven.defaultvalue.org> <87r6zhlhhk.fsf@zip.com.au> <87ejvho4ve.fsf@raven.defaultvalue.org> <87mza4uurn.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155870109 11090 80.91.229.2 (18 Aug 2006 03:01:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Aug 2006 03:01:49 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Aug 18 05:01:47 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GDuc8-0004XN-BC for guile-devel@m.gmane.org; Fri, 18 Aug 2006 05:01:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDuc7-0005LS-Rp for guile-devel@m.gmane.org; Thu, 17 Aug 2006 23:01:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDuc5-0005LK-Pw for guile-devel@gnu.org; Thu, 17 Aug 2006 23:01:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDuc5-0005L7-8s for guile-devel@gnu.org; Thu, 17 Aug 2006 23:01:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDuc5-0005L4-5O for guile-devel@gnu.org; Thu, 17 Aug 2006 23:01:37 -0400 Original-Received: from [70.85.129.156] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GDuih-00011z-Ar for guile-devel@gnu.org; Thu, 17 Aug 2006 23:08:27 -0400 Original-Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 5DC5F90D2B for ; Thu, 17 Aug 2006 20:01:31 -0700 (PDT) Original-Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 15B16245B0 for ; Thu, 17 Aug 2006 20:01:31 -0700 (PDT) Original-Received: by raven.defaultvalue.org (Postfix, from userid 1000) id 6CF61355120; Thu, 17 Aug 2006 20:01:30 -0700 (PDT) Original-To: guile-devel@gnu.org In-Reply-To: <87mza4uurn.fsf@zip.com.au> (Kevin Ryde's message of "Thu, 17 Aug 2006 09:26:52 +1000") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6033 Archived-At: Kevin Ryde writes: > I guess a select hang is probably the read-char waiting for the > child to signal to the parent that it (the child) has closed stdout > so the parent can go ahead and test that connection (for eof). > Maybe gdb or some printfs can show if that's so. I haven't had a chance to investigate much further yet, but if I run make check under gdb and hit Ctrl-C while popen.test is hung, there are two threads that were running. The first thread's backtrace looks like this: #0 0xffffe410 in __kernel_vsyscall () #1 0x40281f41 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x400b481c in scm_std_select (nfds=29, readfds=0xbfa8621c, writefds=0x0, exceptfds=0x0, timeout=0x0) at threads.c:1363 #3 0x4005f8ce in fport_fill_input (port=0x40647400) at fports.c:550 #4 0x40086aff in scm_fill_input (port=0x40647400) at ports.c:973 #5 0x40086c40 in scm_getc (port=0x40647400) at ports.c:991 #6 0x40088d7d in scm_read_char (port=0x0) at ports.c:948 #7 0x4005ad54 in ceval (x=0x404, env=0x40647188) at eval.c:4218 and the second thread's backtrace looks like this: #0 0xffffe410 in __kernel_vsyscall () #1 0x401b681b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x40091923 in do_read_without_guile (raw_data=0x40b310d8) at scmsigs.c:134 #3 0x400b42fc in scm_without_guile (func=0x400918f0 , data=0x40b310d8) at threads.c:657 #4 0x40091875 in signal_delivery_thread (data=0x0) at scmsigs.c:145 #5 0x400b67b5 in scm_c_catch (tag=0x104, body=0x400917f0 , body_data=0x0, handler=0x400b6080 , handler_data=0x400d867e, pre_unwind_handler=0, pre_unwind_handler_data=0x0) at throw.c:204 #6 0x400b69c5 in scm_internal_catch (tag=0x104, body=0x400917f0 , body_data=0x0, handler=0x400b6080 , handler_data=0x400d867e) at throw.c:218 #7 0x400b55ad in really_spawn (d=0xbfa860c8) at threads.c:777 -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel