Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 86497 invoked from network); 26 Mar 2008 06:47:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 06:47:32 -0000 Received: (qmail 91236 invoked by uid 500); 26 Mar 2008 06:47:31 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 91211 invoked by uid 500); 26 Mar 2008 06:47:31 -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 91102 invoked by uid 99); 26 Mar 2008 06:47:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 23:47:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 06:46:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B360234C0B4 for ; Tue, 25 Mar 2008 23:45:24 -0700 (PDT) Message-ID: <1428169514.1206513924634.JavaMail.jira@brutus> Date: Tue, 25 Mar 2008 23:45:24 -0700 (PDT) From: "Pavel Pervov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5172) [drlvm][thread] Failed assertion on realibility test in lock unreservation code In-Reply-To: <8969825.1195726843013.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-5172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Pervov updated HARMONY-5172: ---------------------------------- Patch Info: [Patch Available] > [drlvm][thread] Failed assertion on realibility test in lock unreservation code > ------------------------------------------------------------------------------- > > Key: HARMONY-5172 > URL: https://issues.apache.org/jira/browse/HARMONY-5172 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Windows ia32 > Reporter: Gregory Shimansky > Assignee: Pavel Pervov > Attachments: H5172-unreservation-lock-fix.patch > > > When running reliability test AddRmPropertiesHooksTest on debug VM I sometimes hit the following assertion on thread_native_thin_monitor.cpp:144 - assert (IS_RESERVED(lockword)). Native stack trace looks like this: > hythr.dll!_assert(const char * expr=0x1004ad58, const char * filename=0x1004ad00, unsigned int lineno=144) Line 295 C > > hythr.dll!unreserve_self_lock(unsigned int * lockword_ptr=0x120b3c44) Line 144 + 0x1f bytes C > hythr.dll!hythread_inflate_lock(unsigned int * lockword_ptr=0x120b3c44) Line 629 + 0x9 bytes C > harmonyvm.dll!jthread_monitor_timed_wait(_jobject * monitor=0x0013f024, __int64 millis=0, int nanos=0) Line 313 + 0x9 bytes C++ > harmonyvm.dll!Java_java_lang_VMThreadManager_wait(JNIEnv_External * env=0x023a8080, _jobject * clazz=0x0013f020, _jobject * monitor=0x0013f024, __int64 millis=0, int nanos=0) Line 205 + 0x15 bytes C++ > 03353334() > Java stack trace looks like this: > The stack trace of the 01339930 java thread: > [01339930] 00000000(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I > [01339930] 036D85D5(m): java/lang/Object.wait()V > [01339930] 033A737C(m): java/lang/Thread.join()V > org/apache/harmony/test/reliability/api/kernel/hooks/AddRmPropertiesHooksTest.waitForRunningThreads([Ljava/lang/Thread;)V > [01339930] 033A63B8(m): org/apache/harmony/test/reliability/api/kernel/hooks/AddRmPropertiesHooksTest.addRemoveBeingRunningHooks()Z > [01339930] 033A5663(m): org/apache/harmony/test/reliability/api/kernel/hooks/AddRmPropertiesHooksTest.playWithShutdownHooks()Z > [01339930] 033A2AF8(m): org/apache/harmony/test/reliability/api/kernel/hooks/AddRmPropertiesHooksTest.test([Ljava/lang/String;)I > [01339930] 033A10F7(m): org/apache/harmony/test/reliability/share/LongRunningTestStarter.test([Ljava/lang/String;)I > [01339930] 033A06E6(m): org/apache/harmony/test/reliability/share/ReliabilityTestStarter.test([Ljava/lang/String;)I > [01339930] 033A033F(m): org/apache/harmony/test/reliability/share/ReliabilityTestStarter.main([Ljava/lang/String;)V > To run the test from command line I used the following command line in reliability test suite: > $ ~/harmony/trunk/working_vm/build/win_ia32_msvc_debug/deploy/jdk/jre/bin/java -cp deploy/classes org.apache.harmony.test.reliability.share.ReliabilityTestStarter -testClassName org.apache.harmony.test.reliability.api.kernel.hooks.AddRmPropertiesHooksTest 1000 100 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.