From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24262 invoked by alias); 17 Jun 2011 14:00:48 -0000 Received: (qmail 24237 invoked by uid 22791); 17 Jun 2011 14:00:47 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Jun 2011 14:00:29 +0000 From: "ro at gcc dot gnu.org" To: java-prs@gcc.gnu.org Subject: [Bug libgcj/49455] New: Thread_Interrupt Looper subtest FAILs on IRIX X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 17 Jun 2011 14:00:00 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2011-q2/txt/msg00074.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49455 Summary: Thread_Interrupt Looper subtest FAILs on IRIX Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: unassigned@gcc.gnu.org ReportedBy: ro@gcc.gnu.org CC: tromey@gcc.gnu.org, aph@gcc.gnu.org Host: mips-sgi-irix6.5 Target: mips-sgi-irix6.5 Build: mips-sgi-irix6.5 The Looper subtest of Thread_Interrupt FAILs on IRIX 6.5, as can be seen in the following diff between expected and found outputs: --- /vol/gcc/src/hg/trunk/local/libjava/testsuite/libjava.lang/Thread_Interrupt.out Mon Mar 1 20:33:06 2010 +++ Thread_Interrupt.out Fri Jun 10 17:14:23 2011 @@ -3,6 +3,6 @@ sleep() interrupted - ok Busy waiting -interrupted - ok +Error: Busy wait was not interrupted. join() interrupted - ok Unfortunately, if running the test under gdb, it just hangs in the first subtest, so the only hope was adding debug printfs. Strangely, when I added fprintf (stderr, ": \n") calls to all functions in posix-threads.cc, the test suddenly passes when ignoring the debug output. I'm somewhat at at loss how to further debug this.