From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vijay Marupudi Newsgroups: gmane.lisp.guile.user Subject: RE: Question about handling SIGINT properly in Guile Date: Wed, 17 Apr 2024 10:28:31 -0400 Message-ID: <877cgwgj1s.fsf@vijaymarupudi.com> References: <87wmp1fhhj.fsf@vijaymarupudi.com> <20240415011236.BBCb2C0015DiQeu06BCbzr@albert.telenet-ops.be> <87bk6ab0ip.fsf@vijaymarupudi.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1566"; mail-complaints-to="usenet@ciao.gmane.io" To: Maxime Devos , "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Apr 17 16:34:13 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rx6MW-00007b-9r for guile-user@m.gmane-mx.org; Wed, 17 Apr 2024 16:34:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx6M5-0005q1-Sf; Wed, 17 Apr 2024 10:33:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rx6M4-0005pc-5g for guile-user@gnu.org; Wed, 17 Apr 2024 10:33:44 -0400 Original-Received: from mail-dm6nam12on20700.outbound.protection.outlook.com ([2a01:111:f403:2417::700] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rx6M1-0000zC-Fj for guile-user@gnu.org; Wed, 17 Apr 2024 10:33:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gatech.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i0y03+f+PxMJL2tHHOhFN/E8nnhkMeG5BHmRprWB4oU=; b=XUNcSb8rVc//NLom5zF8zfLKdqCvfBKI5C+1BQHmtk6JlxjLGbW/nlEIozXdSsnhnUYmhCr+ngBhyBPrHZ/2rey3IS+re3dlvlefmTF9FvFW7QZBJ+7NUsmcoTtFKKSPp9NN79jlKw3zmufcPj+SN2rkdJYJulm/tqhoap0hJCBaY/BXwxG/SLnlNvKHCvbkpSx9NLBHooTPHrjG1nYoZM22KER3gwBdz4IBLzHLFmJxDMuzqSi8ULdtu7O6owX7+I+PZsLYIyd96JkpPBzrYPXLONZSsANpfaYikZVT59T9wLNRu+8IkWem10NG+kZJxiBXJOD0RM1P3lv2ZzWO6Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=gatech.edu; Original-Received: from BN0PR07MB8278.namprd07.prod.outlook.com (2603:10b6:408:129::13) by MW4PR07MB9519.namprd07.prod.outlook.com (2603:10b6:303:225::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Wed, 17 Apr 2024 14:28:36 +0000 Original-Received: from BN0PR07MB8278.namprd07.prod.outlook.com ([fe80::41aa:76d:ee31:2b8d]) by BN0PR07MB8278.namprd07.prod.outlook.com ([fe80::41aa:76d:ee31:2b8d%4]) with mapi id 15.20.7472.037; Wed, 17 Apr 2024 14:28:36 +0000 In-Reply-To: <87bk6ab0ip.fsf@vijaymarupudi.com> X-ClientProxiedBy: BN9PR03CA0086.namprd03.prod.outlook.com (2603:10b6:408:fc::31) To BN0PR07MB8278.namprd07.prod.outlook.com (2603:10b6:408:129::13) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN0PR07MB8278:EE_|MW4PR07MB9519:EE_ X-MS-Office365-Filtering-Correlation-Id: da29fd10-c292-4a71-0aa2-08dc5eeaab01 X-GT-Tenant: 042d12d7-75fe-4547-b5b6-0573f80f829d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JKmiIE2LKHHA8HKHLObHVRfCSNIQMNn1cuvOWGmbhTBP2TW30K2v7HELZtFK6P7Y3IMlU6e02SLPuC22gPzWzR95tgKZQBX4SHx6TZSB/I6mzyaF2u1n4zqMW4dyTwiu4JB0K5Mbl0a/1+1YaoCDBAm4c7pUxbmhebYBNpfwEr3CwdG+4pezylTfN2xuBgqacD0CIXI4qY/RJ3cOLZzTT7StKaaRX4mmvAKkIe6a9LY/Di0qprMddEyNpxt0DXal4EBXVl7szdUPI+30pd91H6ZALlSFjTypM13Rl+3t0wQv9G4eenE1Fj7eKnH19kvdYzIlG4K3hT4btK5A8pKSUWXPxlJMAgFP8jgTQujEg4h7r7gN2Hns5BejggOG8Yfk65/d9+OlhKcOyld+0G9zGNRLK3tFwAr3DLsr0p9iIW0FmzOC7qsn7UofA5K3bDamjJsh4PII882r5fvUw/sbETod+JA+orc/IoWmhsA2XOZF4vmtll5sDGTdNV97+tW9QDqpii8YGsuby9j8wRGegvvemTCT9Q6wFXAiNwICiYaaeSnxl3DMi78ExEZb/zs6o/GNkJly134vfWG9SuTlnv14U+d0JFEDDF6AmlvaWMetL/IzmMVZGqKmYKgYxP8vGprWwxGAiQnInTxmJwo4p7iGdeo0IpTcRrW4pCK8lL8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR07MB8278.namprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?19GUERQQLD0hqZGq1ir4sNp5JhubDOg7FKHJmLvieMBocbx+wHacIW2ae1Or?= =?us-ascii?Q?henqFtxsmD9kzu4ua5QRcp/TnsgPUT8Lt1m2khurjNMzwRI45204ZhAwY1Uf?= =?us-ascii?Q?eOgEL9QXQKjFE9vBYaScv31C3eaBOlasFqed0E3QnX+lwfMFybS+lpn30t7a?= =?us-ascii?Q?9fUdjnTy2ovrR7btuQLIcnUu8hTM7bI4zGmjLJKsmlm1ZR7NT6nBeUoiEXro?= =?us-ascii?Q?ym5PRy0DgdVu5/xe2AtORypyg9qMjxFbWpZsiBbgn7k6PYsIVkV8IciNRrRI?= =?us-ascii?Q?d6+b5yt/KuJioqXC+NgEud0wTRogbhCglwmCzwIdg+BOjpi8uepFM0gr/v2J?= =?us-ascii?Q?/vdVtoNW6ULakSW5kIgBGrO3D7tnsS+ZwGvAhhoJXHCOTzeTfBVON50t8bi1?= =?us-ascii?Q?jfuJmxzqa1AwmlTzv0ugbh1QEsyh8S4+2yuiJEyp3jlK01g9kfPD6RucimVQ?= =?us-ascii?Q?BUQrxU3aHV/v+Hejy/+z1P/elSMKtZf+H8C22w9f+oGSIp6yqGUzU+GZJF+W?= =?us-ascii?Q?yR+kd3FF9nz+HBBIT3szgWuZ2EXLL+6szUnMtaLZzNYrP+JJUTBBlnUDcCiT?= =?us-ascii?Q?onTQdIk5LtN2nUqU9eoCjbl7B3GOaP5TJElgFG0BOstgqS3ylXVyKRQ9Acmy?= =?us-ascii?Q?mi X-OriginatorOrg: gatech.edu X-MS-Exchange-CrossTenant-Network-Message-Id: da29fd10-c292-4a71-0aa2-08dc5eeaab01 X-MS-Exchange-CrossTenant-AuthSource: BN0PR07MB8278.namprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2024 14:28:36.6722 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 482198bb-ae7b-4b25-8b7a-6d7f32faa083 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: f3n8sK7gfIkzo7N+uCqLbteDYsO2G76CjHIYhDAOkWNLxha9IJGIZg/NO8giWgdd6E0/hOTFePCbk02Kzn9CQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR07MB9519 Received-SPF: pass client-ip=2a01:111:f403:2417::700; envelope-from=vijaymarupudi@gatech.edu; helo=NAM12-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19528 Archived-At: Here's another simple reproduction, Guile's own webserver module (use-modules (web server)) (define (handler request body) (values '((content-type . (text/plain))) "Hello, World!")) (run-server handler) It needs two SIGINTs to properly end the program. I think I'm encountering a bug rather than a misconception... ~ Vijay