Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Robert McGovern cc: cygwin AT cygwin DOT com, rob AT tarasis DOT net Subject: Re: Seqfault doing kill -l In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: . > 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/