Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 40053 invoked from network); 30 Nov 2007 16:19:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2007 16:19:05 -0000 Received: (qmail 45795 invoked by uid 500); 30 Nov 2007 16:18:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 45697 invoked by uid 500); 30 Nov 2007 16:18:54 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 45681 invoked by uid 99); 30 Nov 2007 16:18:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 08:18:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 16:18:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 77E2C71420A for ; Fri, 30 Nov 2007 08:18:44 -0800 (PST) Message-ID: <5157755.1196439524488.JavaMail.jira@brutus> Date: Fri, 30 Nov 2007 08:18:44 -0800 (PST) From: "Ilya Berezhniuk (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5234) [drlvm][init] end_waiting_num for ref enqueue threads is never initialized In-Reply-To: <16720655.1196439524176.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ilya Berezhniuk updated HARMONY-5234: ------------------------------------- Attachment: H-5234.patch > [drlvm][init] end_waiting_num for ref enqueue threads is never initialized > -------------------------------------------------------------------------- > > Key: HARMONY-5234 > URL: https://issues.apache.org/jira/browse/HARMONY-5234 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Ilya Berezhniuk > Priority: Minor > Attachments: H-5234.patch > > > ref_thread_info->end_waiting_num is used for counting, and is changed by atomic operations. > But this field is never initialized. > The message from Valgrind: > ------------------------------------------------- > ==18838== Conditional jump or move depends on uninitialised value(s) > ==18838== at 0x4844CDE: ref_enqueue_thread_func(void**) (ref_enqueue_thread.cpp:161) > ==18838== by 0x404D979: hythread_wrapper_start_proc (thread_native_basic.c:734) > ==18838== by 0x443A34A: start_thread (in /lib/libpthread-2.4.so) > ==18838== by 0x42BF65D: clone (in /lib/libc-2.4.so) > ------------------------------------------------- > The patch is trivial. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.