This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Seqfault doing kill -l


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@al ~
> $ /bin/kill --list
> Segmentation fault (core dumped)
>
> robertm@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@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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]