From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53830 Path: main.gmane.org!not-for-mail From: David Coe Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus: apparently kills external viewers too aggressively Date: Tue, 26 Aug 2003 13:58:50 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <86k790b8rp.fsf@someotherplace.org> References: <87vfss42ij.fsf@glaurung.green-gryphon.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061927791 32522 80.91.224.253 (26 Aug 2003 19:56:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2003 19:56:31 +0000 (UTC) Cc: ding@gnus.org, 200823-forwarded@bugs.debian.org Original-X-From: ding-owner+M2370@lists.math.uh.edu Tue Aug 26 21:56:29 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rjvZ-0001Uq-00 for ; Tue, 26 Aug 2003 21:56:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19rjuj-0002VI-00; Tue, 26 Aug 2003 14:55:37 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19ri6I-0001wH-00 for ding@lists.math.uh.edu; Tue, 26 Aug 2003 12:59:26 -0500 Original-Received: (qmail 85387 invoked by alias); 26 Aug 2003 17:59:26 -0000 Original-Received: (qmail 85378 invoked from network); 26 Aug 2003 17:59:26 -0000 Original-Received: from sccrmhc12.comcast.net (204.127.202.56) by sclp3.sclp.com with SMTP; 26 Aug 2003 17:59:26 -0000 Original-Received: from zona.someotherplace.org (pcp246842pcs.howard01.md.comcast.net[68.55.65.13](untrusted sender)) by comcast.net (sccrmhc12) with ESMTP id <2003082617585101200i3rt1e>; Tue, 26 Aug 2003 17:58:51 +0000 Original-Received: by zona.someotherplace.org (Postfix, from userid 1001) id E42707D003; Tue, 26 Aug 2003 13:58:50 -0400 (EDT) Original-To: bugs@gnus.org (The Gnus Bugfixing Girls + Boys) Original-From: David Coe In-Reply-To: (Simon Josefsson's message of "Thu, 21 Aug 2003 01:25:58 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53830 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53830 Simon Josefsson writes: > Can you strace or gdb display to see what signal it receives? Or > perhaps simply start display on the command line and see if it leaves > a shared segment around if you SIGKILL or SIGTERM it? Yes, display does leave the segments allocated when it's SIGKILLed, and doesn't when it's SIGTERMed. See Debian Bug#207379 against imagemagick ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=207379 ). shmctl(2) does say that the creator of a segment *must* ensure that the segment is eventually destroyed, so this does look like a bug in imagemagick. I don't know whether it would be too much overhead for gnus to try SIGTERM before SIGKILL; I leave that up to you -- as I'm sure you know, many programs don't (or can't) clean up after themselves as well as they should when KILLed. Thanks for gnus!