Your message dated Sun, 25 Apr 2004 10:54:47 +0900 with message-id <[EMAIL PROTECTED]> and subject line Bug#197988: pthread_cleanup_push broken on Alpha has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 18 Jun 2003 22:55:42 +0000 >From [EMAIL PROTECTED] Wed Jun 18 17:55:42 2003 Return-path: <[EMAIL PROTECTED]> Received: from mx03.uni-tuebingen.de [134.2.3.13] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19Slq9-00036Z-00; Wed, 18 Jun 2003 17:55:41 -0500 Received: from juist (semeai.Informatik.Uni-Tuebingen.De [134.2.15.66]) by mx03.uni-tuebingen.de (8.12.3/8.12.3) with ESMTP id h5IMtcHF001244 for <[EMAIL PROTECTED]>; Thu, 19 Jun 2003 00:55:40 +0200 Received: from falk by juist with local (Exim 3.36 #1 (Debian)) id 19Slj3-0001Ro-00 for <[EMAIL PROTECTED]>; Thu, 19 Jun 2003 00:48:21 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Falk Hueffner <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: pthread_cleanup_push broken on Alpha X-Mailer: reportbug 2.10.1 Date: Thu, 19 Jun 2003 00:48:21 +0200 Message-Id: <[EMAIL PROTECTED]> X-AntiVirus: checked by AntiVir Milter 1.0.2; AVE 6.20.0.1; VDF 6.20.0.13 Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_01,HAS_PACKAGE version=2.53-bugs.debian.org_2003_06_18 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_18 (1.174.2.15-2003-03-30-exp) Package: libc6.1 Version: 2.3.1-17 Severity: normal File: /lib/libpthread.so.0 Running this program should print nikita and victor, but on Alpha, I only get nikita: [EMAIL PROTECTED]:/tmp% gcc test.c -lpthread && ./a.out Starting thread Killing thread Cleaner name <nikita> End #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> void genericCleaner(void * name) { printf("Cleaner name <%s>\n",(char*)name); } void * myThreadMain(void * Data) { printf("Starting thread\n"); if (pthread_setcancelstate(PTHREAD_CANCEL_ENABLE,NULL)!=0) exit(-1); if (pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS,NULL)!=0) exit(-1); pthread_cleanup_push(genericCleaner,"victor"); pthread_cleanup_push(genericCleaner,"nikita"); while(1); pthread_cleanup_pop(1); //this point is never reached pthread_cleanup_pop(1); return NULL; } int main(void) { pthread_t thread[1]; if (pthread_create(&thread[0],NULL,myThreadMain,NULL)!=0) exit(-1); sleep(1); printf("Killing thread\n"); if (pthread_cancel(thread[0])!=0) exit(-1); if (pthread_join(thread[0],NULL)!=0) exit(-1); printf("End\n"); return 0; } -- System Information: Debian Release: testing/unstable Architecture: alpha Kernel: Linux juist 2.5.69 #3 Tue May 6 01:36:11 CEST 2003 alpha Locale: LANG=C, [EMAIL PROTECTED] Versions of packages libc6.1 depends on: ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl -- no debconf information --------------------------------------- Received: (at 197988-done) by bugs.debian.org; 25 Apr 2004 01:54:48 +0000 >From [EMAIL PROTECTED] Sat Apr 24 18:54:48 2004 Return-path: <[EMAIL PROTECTED]> Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BHYr2-0007Bu-00; Sat, 24 Apr 2004 18:54:48 -0700 Received: from omega.webmasters.gr.jp (localhost [127.0.0.1]) by webmasters.gr.jp (Postfix) with ESMTP id 67637DEB7C; Sun, 25 Apr 2004 10:54:47 +0900 (JST) Date: Sun, 25 Apr 2004 10:54:47 +0900 Message-ID: <[EMAIL PROTECTED]> From: GOTO Masanori <[EMAIL PROTECTED]> To: Falk Hueffner <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: Bug#197988: pthread_cleanup_push broken on Alpha In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 1 At Thu, 19 Jun 2003 00:48:21 +0200, Falk Hueffner wrote: > Running this program should print nikita and victor, but on Alpha, I > only get nikita: > > [EMAIL PROTECTED]:/tmp% gcc test.c -lpthread && ./a.out > Starting thread > Killing thread > Cleaner name <nikita> > End I confirmed this bug has been fixed in glibc 2.3.2.ds1-12. [EMAIL PROTECTED]> ./a.out Starting thread Killing thread Cleaner name <nikita> Cleaner name <victor> End [EMAIL PROTECTED]> env LD_ASSUME_KERNEL=2.4.1 ./a.out Starting thread Killing thread Cleaner name <nikita> Cleaner name <victor> End I close this bug. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]