harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][drlvm][swing] test TEST-javax.swing.text.DefaultStyledDocumentRTest leads to VM crash
Date Thu, 23 Nov 2006 05:51:21 GMT
<joke>
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.
</joke>

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] <end of stack trace>
>     [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] <end of stack trace>
>     [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
> 

Mime
View raw message