From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6565 invoked by alias); 28 Jan 2003 15:06:13 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6257 invoked by uid 71); 28 Jan 2003 15:06:12 -0000 Resent-Date: 28 Jan 2003 15:06:12 -0000 Resent-Message-ID: <20030128150612.6254.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, oliver.kellogg@sysde.eads.net Received: (qmail 20283 invoked by uid 48); 28 Jan 2003 14:59:56 -0000 Message-Id: <20030128145956.20282.qmail@sources.redhat.com> Date: Tue, 28 Jan 2003 15:06:00 -0000 From: oliver.kellogg@sysde.eads.net Reply-To: oliver.kellogg@sysde.eads.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: ada/9480: Cannot "kill -TERM" programs that link the tasking runtime X-SW-Source: 2003-01/txt/msg01587.txt.bz2 List-Id: >Number: 9480 >Category: ada >Synopsis: Cannot "kill -TERM" programs that link the tasking runtime >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jan 28 15:06:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Oliver M. Kellogg >Release: gcc-3.2.1 >Organization: >Environment: RedHat Linux 8.0 (i686) >Description: A main program that merely contains a task type declaration (but no task object) does not react to the TERM signal. OTOH, A main program without any tasking related declarations reacts normally to the SIGTERM. Here is the test program: -- file: sigterm_ignored.adb with Text_Io; procedure Sigterm_Ignored is task type Freerun; -- NB: Only a task TYPE, not even a real task. task body Freerun is begin null; end Freerun; begin loop text_io.put_line ("Here is the main program."); delay 1.3; end loop; end Sigterm_Ignored; >How-To-Repeat: gnatmake the test program and start it. Then try doing a "kill -TERM" on the process and witness that the program is not terminated. >Fix: >Release-Note: >Audit-Trail: >Unformatted: