From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Gauland Newsgroups: gmane.lisp.guile.bugs Subject: bug#13018: fport_fill_input should handle EINTR Date: Fri, 29 Mar 2013 20:35:53 +1300 Message-ID: <87mwtmmzdy.fsf@dimension8.tehua.net> References: <87vccqnnr9.fsf@dimension8.tehua.net> <87ehjc5fh7.fsf@gnu.org> <87sj3zh6cy.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364542597 6888 80.91.229.3 (29 Mar 2013 07:36:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Mar 2013 07:36:37 +0000 (UTC) Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 13018@debbugs.gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 29 08:37:04 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ULTry-0007bL-9B for guile-bugs@m.gmane.org; Fri, 29 Mar 2013 08:37:02 +0100 Original-Received: from localhost ([::1]:49428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULTrZ-0006i9-Td for guile-bugs@m.gmane.org; Fri, 29 Mar 2013 03:36:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULTrU-0006i1-R4 for bug-guile@gnu.org; Fri, 29 Mar 2013 03:36:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULTrR-0003Mg-O1 for bug-guile@gnu.org; Fri, 29 Mar 2013 03:36:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULTrR-0003Mb-Kt for bug-guile@gnu.org; Fri, 29 Mar 2013 03:36:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ULTtv-0002CT-D6 for bug-guile@gnu.org; Fri, 29 Mar 2013 03:39:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aidan Gauland Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 29 Mar 2013 07:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13018 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 13018-submit@debbugs.gnu.org id=B13018.13645427248424 (code B ref 13018); Fri, 29 Mar 2013 07:39:03 +0000 Original-Received: (at 13018) by debbugs.gnu.org; 29 Mar 2013 07:38:44 +0000 Original-Received: from localhost ([127.0.0.1]:50562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULTtc-0002Bp-4R for submit@debbugs.gnu.org; Fri, 29 Mar 2013 03:38:44 -0400 Original-Received: from jersey.rurallink.co.nz ([114.134.15.197]:49321 helo=smtp.rurallink.co.nz) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULTtY-0002Bf-MB for 13018@debbugs.gnu.org; Fri, 29 Mar 2013 03:38:42 -0400 Original-Received: from 114-134-7-65.rurallink.co.nz ([114.134.7.65] helo=dimension8.tehua.net) by smtp.rurallink.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1ULTqy-0007aN-67; Fri, 29 Mar 2013 20:36:01 +1300 In-Reply-To: <87sj3zh6cy.fsf@pobox.com> (Andy Wingo's message of "Wed, 13 Mar 2013 12:44:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Rurallink-Authenticated-User: aidalgol@no8wireless.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7025 Archived-At: > Aidan, do you have a test case? I haven't been able to reproduce this with a minimal example, but I can consistently reproduce it with my IRC bot . Replace the last two lines (lines 22 and 23) of run-cbot.scm with... (define bot (make-bot "Cunning_Bot" "Cunning_Bot" "Cunning Bot" "chat.freenode.net" 6667)) (sigaction SIGINT (lambda () (disconnect-bot bot))) (start-bot bot '("#cunningbot")) ...run it (run-cbot.scm), and after it says Setting up IRC connection...done. Joining channels...done. type ^C I get this backtrace: ^CBacktrace: In ice-9/boot-9.scm: 157: 12 [catch #t # ...] In unknown file: ?: 11 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 10 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 421: 9 [eval # #] In ice-9/boot-9.scm: 2131: 8 [save-module-excursion #] 3718: 7 [#] In unknown file: ?: 6 [load-compiled/vm "/home/aidan/.cache/guile/ccache/2.0-LE-8-2.0/home/aidan/src/cunning-bot/run-cbot.scm.go"] In /home/aidan/src/cunning-bot/bot.scm: 260: 5 [start-bot # #] 115: 4 [read-line-irc #] In ice-9/rdelim.scm: 129: 3 [read-line # trim] In unknown file: ?: 2 [%read-line #] In ice-9/boot-9.scm: 184: 1 [throw system-error "fport_fill_input" "~A" ("Interrupted system call") (4)] In /home/aidan/src/cunning-bot/run-cbot.scm: 24: 0 [# 2] /home/aidan/src/cunning-bot/run-cbot.scm:24:2: In procedure #: /home/aidan/src/cunning-bot/run-cbot.scm:24:2: Wrong number of arguments to # Could this be caused by a bug in spells? I wish I could give a simpler test case. :( Regards, Aidan Gauland (Sorry I forgot to group reply the first time.)