From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27165 invoked by alias); 21 Jun 2006 20:09:36 -0000 Received: (qmail 27151 invoked by uid 48); 21 Jun 2006 20:09:36 -0000 Date: Wed, 21 Jun 2006 20:09:00 -0000 Message-ID: <20060621200936.27150.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/21524] Cancelling a TimerTask puts Timer binary heap in inconsistent state In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "tromey at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q2/txt/msg00428.txt.bz2 List-Id: ------- Comment #4 from tromey at gcc dot gnu dot org 2006-06-21 20:09 ------- I looked at this a little today. The code does look wrong, but I couldn't write a simple test case to make it fail. Do you have one? One problem I see is that serve() uses the task's 'scheduled' field without checking to see if it is == -1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21524