Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 85545 invoked from network); 23 Nov 2006 05:51:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2006 05:51:36 -0000 Received: (qmail 95635 invoked by uid 500); 23 Nov 2006 05:51:45 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 95010 invoked by uid 500); 23 Nov 2006 05:51:43 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 94999 invoked by uid 99); 23 Nov 2006 05:51:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2006 21:51:43 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 216.86.168.178 is neither permitted nor denied by domain of geir@pobox.com) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2006 21:51:30 -0800 Received: from [192.168.1.106] (unknown [67.86.14.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 460105194D for ; Thu, 23 Nov 2006 00:51:08 -0500 (EST) Message-ID: <456536D9.1070507@pobox.com> Date: Thu, 23 Nov 2006 00:51:21 -0500 From: "Geir Magnusson Jr." Reply-To: geir@pobox.com User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [classlib][drlvm][swing] test TEST-javax.swing.text.DefaultStyledDocumentRTest leads to VM crash References: <7273946b0611222142k18bf7005w15ab45ab29744217@mail.gmail.com> In-Reply-To: <7273946b0611222142k18bf7005w15ab45ab29744217@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org seems like the big problem is here : [exec] [junit] 1: ?? (??:-1) you are passing ?? and -1 to the ?? function. I think you need to pass ?? and 0. Time to go to bed, I think... geir Vladimir Ivanov wrote: > Could somebody look at the > TEST-javax.swing.text.DefaultStyledDocumentRTest.xml test crash (log > below)? > Seems, it is intermittent failure. > My configuration is SUSE 9 on 1*P4@3GHz CPU, 1Gb RAM: > vivanov> uname -a > Linux nstdrlxl5 2.6.5-7.191-bigsmp #1 SMP Tue Jun 28 14:58:56 UTC 2005 i686 > i686 i386 GNU/Linux > vivanov> > Thanks, Vladimir > > Log: > ........................ > [exec] [junit] Xlib: connection to "nstdrlxl5:4.0" refused by > server > [exec] [junit] Xlib: No protocol specified > > [exec] [junit] Uncaught exception in AWT-NativeEventThread: > [exec] [junit] java.lang.InternalError: Cannot open display '' > [exec] [junit] at > java.lang.reflect.VMReflection.newClassInstance(Native > Method) > [exec] [junit] at > java.lang.reflect.Constructor.newInstance(Unknown > Source) > [exec] [junit] at java.lang.Class.newInstance(Unknown Source) > [exec] [junit] at java.awt.Toolkit.createWTK(Toolkit.java:985) > [exec] [junit] at java.awt.Toolkit.access$1(Toolkit.java) > [exec] [junit] at java.awt.Toolkit$1.init(Toolkit.java) > [exec] [junit] at org.apache.harmony.awt.wtk.NativeEventThread.run > (NativeEventThread.java:45) > [exec] [junit] Uncaught exception in AWT-EventDispatchThread: > [exec] [junit] java.lang.NullPointerException > [exec] [junit] at java.awt.Toolkit.getNativeEventQueue( > Toolkit.java) > [exec] [junit] at java.awt.EventDispatchThread.run( > EventDispatchThread.java) > [exec] [junit] java: > /export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2288: > > void vm_gc_lock_enum(): Assertion `hythread_is_suspend_enabled()' failed. > [exec] [junit] SIGABRT in VM code. > [exec] [junit] Stack trace: > [exec] [junit] 1: ?? (??:-1) > [exec] [junit] 2: abort (??:-1) > [exec] [junit] 3: __assert_fail (??:-1) > [exec] [junit] 4: vm_gc_lock_enum > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2288) > > [exec] [junit] 5: gc_alloc > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/gc_cc/src/gc_for_vm.cpp:231) > [exec] [junit] 6: vm_alloc_and_report_ti(unsigned int, unsigned > int, void*, Class*) > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp:1208) > > [exec] [junit] 7: string_create > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/vm_strings.cpp:247) > > [exec] [junit] 8: string_create_from_utf8(char const*, unsigned > int) > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/vm_strings.cpp:295) > > [exec] [junit] 9: prepare_exc_creating > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:132) > > [exec] [junit] 10: prepare_exc_creating > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:162) > > [exec] [junit] 11: exn_throw_by_class_internal(Class*, char > const*, _jobject*) > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:308) > > [exec] [junit] 12: exn_rethrow() > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions.cpp:358) > > [exec] [junit] > [exec] [junit] Running javax.swing.text.DefaultStyledDocumentTest > [exec] [junit] Test > javax.swing.text.DefaultStyledDocumentRTestFAILED > [exec] [junit] Xlib: connection to "nstdrlxl5:4.0" refused by > server > [exec] [junit] Xlib: No protocol specified > > [exec] [junit] Uncaught exception in AWT-NativeEventThread: > [exec] [junit] java.lang.InternalError: Cannot open display '' > [exec] [junit] at > java.lang.reflect.VMReflection.newClassInstance(Native > Method) > [exec] [junit] at > java.lang.reflect.Constructor.newInstance(Unknown > Source) > [exec] [junit] at java.lang.Class.newInstance(Unknown Source) > [exec] [junit] at java.awt.Toolkit.createWTK(Toolkit.java:985) > [exec] [junit] at java.awt.Toolkit.access$1(Toolkit.java) > [exec] [junit] at java.awt.Toolkit$1.init(Toolkit.java) > [exec] [junit] at org.apache.harmony.awt.wtk.NativeEventThread.run > (NativeEventThread.java:45) > [exec] [junit] Uncaught exception in AWT-EventDispatchThread: > [exec] [junit] java.lang.NullPointerException > [exec] [junit] at java.awt.Toolkit.getNativeEventQueue( > Toolkit.java) > [exec] [junit] at java.awt.EventDispatchThread.run( > EventDispatchThread.java) > [exec] [junit] java: > /export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2288: > > void vm_gc_lock_enum(): Assertion `hythread_is_suspend_enabled()' failed. > [exec] [junit] SIGABRT in VM code. > [exec] [junit] Stack trace: > [exec] [junit] 1: ?? (??:-1) > [exec] [junit] 2: abort (??:-1) > [exec] [junit] 3: __assert_fail (??:-1) > [exec] [junit] 4: vm_gc_lock_enum > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2288) > > [exec] [junit] 5: gc_alloc > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/gc_cc/src/gc_for_vm.cpp:231) > [exec] [junit] 6: vm_alloc_and_report_ti(unsigned int, unsigned > int, void*, Class*) > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp:1208) > > [exec] [junit] 7: string_create > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/vm_strings.cpp:247) > > [exec] [junit] 8: string_create_from_utf8(char const*, unsigned > int) > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/vm_strings.cpp:295) > > [exec] [junit] 9: prepare_exc_creating > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:132) > > [exec] [junit] 10: prepare_exc_creating > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:162) > > [exec] [junit] 11: exn_throw_by_class_internal(Class*, char > const*, _jobject*) > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:308) > > [exec] [junit] 12: exn_rethrow() > (/export/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/exception/exceptions.cpp:358) > > [exec] [junit] > [exec] [junit] Running > javax.swing.text.DefaultStyledDocument_AttributeUndoableEditTest > [exec] [junit] Test > javax.swing.text.DefaultStyledDocumentTestFAILED > [exec] [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: > 0.486 sec >