delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
From: | =?koi8-r?Q?=22=F4=C9=CD=CF=C6=C5=CA=20=EB=D5=D4=C5=D2=C7=C9=CE=22=20?=<tkutergin AT mail DOT ru> |
To: | cygwin AT cygwin DOT com |
Subject: | Re[2]: pthead_kill() causes SIGSEGV with cygwin.DLL 1.5.9-1 |
Mime-Version: | 1.0 |
X-Originating-IP: | 10.125.18.128, 10.125.16.11 via proxy [62.118.80.132] |
Date: | Tue, 13 Apr 2004 10:43:45 +0400 |
In-Reply-To: | <20040412203612.GA16406@coe.bosbc.com> |
Reply-To: | =?koi8-r?Q?=22=F4=C9=CD=CF=C6=C5=CA=20=EB=D5=D4=C5=D2=C7=C9=CE=22=20?=<tkutergin AT mail DOT ru> |
Message-Id: | <E1BDHe5-000Ph3-00.tkutergin-mail-ru@f16.mail.ru> |
Note-from-DJ: | This may be spam |
I apologize for 'questionable language'. I am really sorry. This stupid 'unit test' was not intended to be sent outside, but after I verified that problem is in DLL, I forgot about it. Thank you for confirmation of bug. Regards Timofey Kutergin -----Original Message----- From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> To: ??????? ???????? <tkutergin AT mail DOT ru> Date: Mon, 12 Apr 2004 16:36:13 -0400 Subject: Re: pthead_kill() causes SIGSEGV with cygwin.DLL 1.5.9-1 > > On Mon, Apr 12, 2004 at 05:55:24PM +0400, "??????? ????????" wrote: > >Hello ! > >After upgrade to latest CygWin (CygWin.dll 1.5.9-1) application started > >to crash with SIGSEGV on first pthread_kill() call. Rollback to > >CygWin.dll 1.5.7-1 resolved this issue (did not try 1.5.8-1 though). > >Here is very simple program that causes SIGSEGV with 1.5.9-1: > > > >#include <stdio.h> > >#include <pthread.h> > > > >static void *_blah(void *arg) > >{ > > sleep(5); > >}; > > > >void main() > >{pthread_t my=pthread_self(); > > pthread_t blah; > > if (pthread_create(&blah, NULL, _blah, NULL)!=0) > > perror("CREATE"); > > if (pthread_kill(blah,SIGHUP)!=0) > > perror("KILL"); > > printf("YUP\n"); > > getchar(); > >}; > > This is a problem that I introduced. I'm not sure how cygwin even > passed its test suite with this problem. > > I'll check in a fix within the next day or so. > > cgf > > P.S. You'll have an easier time getting by the spam filter if you don't > use questionable language in your email. > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |