From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 21 01:00:20 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9939810656BF for ; Thu, 21 Jan 2010 01:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F4578FC15 for ; Thu, 21 Jan 2010 01:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0L10KUC031538 for ; Thu, 21 Jan 2010 01:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0L10K3f031537; Thu, 21 Jan 2010 01:00:20 GMT (envelope-from gnats) Resent-Date: Thu, 21 Jan 2010 01:00:20 GMT Resent-Message-Id: <201001210100.o0L10K3f031537@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ronald F.Guilmette" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A64701065692 for ; Thu, 21 Jan 2010 00:54:02 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8892E8FC1B for ; Thu, 21 Jan 2010 00:54:02 +0000 (UTC) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id DDF49BDC45; Wed, 20 Jan 2010 16:54:00 -0800 (PST) Message-Id: <20100121005400.DDF49BDC45@segfault.tristatelogic.com> Date: Wed, 20 Jan 2010 16:54:00 -0800 (PST) From: "Ronald F.Guilmette" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143043: xv-3.10a_{7,11} improperly ignores SIGTERM (ctrl-C) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ronald F.Guilmette" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 01:00:20 -0000 >Number: 143043 >Category: ports >Synopsis: xv-3.10a_{7,11} improperly ignores SIGTERM (ctrl-C) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 21 01:00:19 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ronald F. Guilmette >Release: FreeBSD 7.0-RELEASE i386 >Organization: Infinite Monkeys & Co. LLC >Environment: System: FreeBSD segfault.tristatelogic.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Aug 5 02:38:40 PDT 2008 root@segfault.monkeys.com:/usr/src/sys/i386/compile/rfg20080805 i386 >Description: Since upgrading a number of my ports (including numerous libraries) in order to get other things to work, I noticed that xv-3.10a_7 was no longer responding at all to ctrl-C (SIGTERM). So I did the obvious thing and did a portupgrade to the latest, xv-3.10a_11. That has been installed, but the problem remains... xv-3.10a_11 is not responding to SIGTERM, e.g. while it is displaying a JPEG. >How-To-Repeat: Step 1) Run xv-3.10a_11 and give it a filename of a JPEG on the command line. Step 2) Type a ctrl-C, or else go to another xterm window and run ps to find the PID of the xv process and then do kill -15 Note that after Step 2, nothing happens. (Note that kill -9 still works however, but kill -15 should work also. It did so previously, and there's no reason it shouldn't work properly.) >Fix: Beats me. I guess that I could tear into the code to try to find out where it is _supposed_ to handle SIGTERM, but I'm sort of hoping that someone who is already familiar with this code will have a look see first. >Release-Note: >Audit-Trail: >Unformatted: