delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/27/11:36:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 27 May 2004 11:36:03 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Robert McGovern <robertm AT spellmanhv DOT co DOT uk>
cc: cygwin AT cygwin DOT com, rob AT tarasis DOT net
Subject: Re: Seqfault doing kill -l
In-Reply-To: <s0b61120.087@groupwise.spellman.co.uk>
Message-ID: <Pine.GSO.4.58.0405271133190.25579@slinky.cs.nyu.edu>
References: <s0b61120 DOT 087 AT groupwise DOT spellman DOT co DOT uk>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 27 May 2004, Robert  McGovern wrote:

> Hi,
>
> Couldn't find a mention of this in the Cygwin mailing list archives and
> thought I'd ask about it.
>
> I was trying to get the list of siginals that cygwins kill (/bin/kill)
> takes using the kill -l command (and --list). Unfortuantly it causes it
> to segfault as you can see from the following output, thought the other
> kill in /usr/bin/kill works okay. Is this a known issue?

Confirmed.  This just got fixed in CVS by Christopher Faylor, BTW:
<http://cygwin.com/ml/cygwin-cvs/2004-q2/msg00210.html>.

> robertm AT al ~
> $ /bin/kill --list
> Segmentation fault (core dumped)
>
> robertm AT al ~
> $ /bin/kill --version
> kill (cygwin) 1.14
> Process Signaller
> Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
> Compiled on Mar 18 2004
>
> I have captured a stack trace
> [snip]

FYI, the stack trace is worthless, as it's on an optimized non-debug
version of cygwin1.dll.

> robertm AT al ~
> $ which kill
> /usr/bin/kill

You should have used "type kill", which would have shown you that "kill is
a shell builtin".
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019