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: [drlvm] none of kernel tests passed for the recent sources
Date Tue, 19 Sep 2006 12:14:28 GMT

On Sep 19, 2006, at 7:56 AM, Artem Aliev wrote:

>> is JAVA_HOME set to ..../deploy/jre
> this help, but the next is assert:
> #>java
> /export/ali/svn-harmony/trunk/vm/thread/src/ 
> thread_native_fat_monitor.c:183:
> monitor_wait_impl: Assertion `saved_recursion<1' failed.
>
> This bug is fixed in
> HARMONY-1340 issue

See my comment - can you defend that better?  Your suggestion is  
opposite of what the code has now.  "It makes it go away" doesn't  
work for me.  :)
>
>
> There are olso a problems with 2 hythread lib in classlib and drlvm.

Yes

> The java launcher is dynamicly linked with classlib libhysig.so, that
> was built with classlib hythread lib. At runtime the libhysig.so is
> dynamicly linked with the DRLVM hythread lib.

Ah!  I didn't think of that.

>
> It looks like these hythread libs is not fully compatible.

Yes, that is clear.  We *really* need to solve this.

> The first poroblem that was found is unimplemented hythread_exit()  
> fumnction.
> I will develop patch for DRLVM hythread lib

Thank you.

> .
>
> Thanks
> Artem
>
>
>
>
>
> On 9/19/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>> That's good news (that you can reproduce it...)
>>
>> Is JAVA_HOME set to ..../deploy/jre ?
>>
>> geir
>>
>> On Sep 19, 2006, at 6:42 AM, Dmitry Durnev wrote:
>>
>> > I observe vm crash with the similar stack trace on my SUSE Linux  
>> box,
>> > when trying to launch "Hello World" app on debug version of DRLVM:
>> >
>> > *** glibc detected *** free(): invalid pointer: 0xbfffbde8 ***
>> > SIGSEGV in VM code.
>> > Stack trace:
>> >       1: free (??:-1)
>> >       2: ?? (??:-1)
>> >       3: ?? (??:-1)
>> >       4: hymem_free_memory (??:-1)
>> >       5: find_call_JNI_OnLoad
>> > (/export/workspace/drlvm/vm/vmcore/src/util/natives_support.cpp: 
>> 117)
>> >       6: properties_free (??:-1)
>> >       7: find_call_JNI_OnLoad
>> > (/export/workspace/drlvm/vm/vmcore/src/util/natives_support.cpp: 
>> 117)
>> >       8: ?? (??:-1)
>> >       9: readClassPathFromPropertiesFile (??:-1)
>> >       10: ?? (??:-1)
>> >       11: ?? (??:-1)
>> >       12: ?? (??:-1)
>> >       13: ?? (??:-1)
>> >       14: ?? (??:-1)
>> >       15: _dl_runtime_resolve (??:-1)
>> >       16: ?? (??:-1)
>> >       17: JNI_OnLoad (??:-1)
>> >       18: ?? (??:-1)
>> > <end of stack trace>
>> >
>> >
>> > On 9/19/06, Vladimir Gorr <vvgorr@gmail.com> wrote:
>> >> On 9/19/06, Geir Magnusson Jr <geir@pobox.com> wrote:
>> >> >
>> >> >
>> >> >
>> >> > Vladimir Gorr wrote:
>> >> > > Geir,
>> >> > >
>> >> > > I found out none of the DRRVM kernel tests passed recently.
>> >> Although
>> >> > > all fine worked yet yesterday.
>> >> > >
>> >> > > *build.bat -Djunit.jar=%JUNIT_HOME% kernel.test*
>> >> > > ...
>> >> > >     [echo]
>> >> > >     [echo]             ==================================
>> >> > >     [echo]             Run kernel tests using jitrino.jet
>> >> > >     [echo]             ==================================
>> >> > >     [echo]
>> >> > >    [mkdir] Created dir:
>> >> > >
>> >> > C:\DrlSrc\drlvm\trunk\build\win_ia32_msvc_debug\semis
>> >> \kernel.tests\reports\jitrino.jet
>> >> > >
>> >> > >     [echo] RUNNING : java.lang.Class1_5Test
>> >> > >    [junit] Test java.lang.Class1_5Test FAILED
>> >> > >    [junit] Test java.lang.Class1_5Test FAILED
>> >> > >     [echo]    **** FAILED on reference JRE ****
>> >> > >     [echo] RUNNING : java.lang.Class5Test
>> >> > >    [junit] Test java.lang.Class5Test FAILED
>> >> > >    [junit] Test java.lang.Class5Test FAILED
>> >> > >     [echo]    **** FAILED on reference JRE ****
>> >> > >     [echo] RUNNING : java.lang.ClassAnnotationsTest
>> >> > >    [junit] Test java.lang.ClassAnnotationsTest FAILED
>> >> > >
>> >> > > ^C
>> >> > > ...
>> >> > >
>> >> > > I suspect you can know a clue for this issue. Probably I
>> >> missed anything
>> >> > > and didn't note what was modifed.
>> >> >
>> >> > Why are they failing?  AS of yesterday, I thought they were all
>> >> passing
>> >> > for me.  I wouldn't have checked anything in if I saw that they
>> >> were
>> >> > failing en-masse.  (We do need to have a "stop the world" as we
>> >> > stabilize DRLVM, figure out why tests fail apparently randomly,
>> >> etc...)
>> >>
>> >>
>> >> Agree. I also try to understand this.
>> >>
>> >> I'm running kernel tests now on Ubuntu 6, release build, and  
>> they are
>> >> > running fine.
>> >> >
>> >> > What platform?
>> >>
>> >>
>> >> debug version on Windows platforms. I have no success on SUSE
>> >> LINUX as well:
>> >>
>> >> ...
>> >> -run-kernel-test-batch:
>> >>    [mkdir] Created dir:
>> >> /nfs/ins/proj/drl/coreapi/vgorr/drlvm/trunk/build/
>> >> lnx_ia32_gcc_debug/semis/kernel.tests/reports/batch.mode
>> >>    [junit] Running  
>> org.apache.harmony.lang.generics.ClassLoaderTest
>> >>    [junit] SIGSEGV in VM code.
>> >>    [junit] Stack trace:
>> >>    [junit]     1: properties_free (??:-1)
>> >>    [junit]     2: ?? (??:-1)
>> >>    [junit]     3: readClassPathFromPropertiesFile (??:-1)
>> >>    [junit]     4: ?? (??:-1)
>> >>    [junit]     5: ?? (??:-1)
>> >>    [junit]     6: ?? (??:-1)
>> >>    [junit]     7: ?? (??:-1)
>> >>    [junit]     8: ?? (??:-1)
>> >>    [junit]     9: ?? (??:-1)
>> >>    [junit]     10: JNI_OnLoad (??:-1)
>> >>    [junit]     11: ?? (??:-1)
>> >>    [junit]     12: ?? (??:-1)
>> >>    [junit]     13: ?? (??:-1)
>> >>    [junit]     14: ?? (??:-1)
>> >>    [junit]     15: ?? (??:-1)
>> >>    [junit]     16: ?? (??:-1)
>> >>    [junit]     17: ?? (??:-1)
>> >>    [junit]     18: ?? (??:-1)
>> >>    [junit] <end of stack trace>
>> >>    [junit] Tests FAILED
>> >>
>> >>
>> >> Thanks,
>> >> Vladimir.
>> >>
>> >> geir
>> >> >
>> >> >
>> >> >
>> >> >
>> >>  
>> ---------------------------------------------------------------------
>> >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> >> > To unsubscribe, e-mail: harmony-dev-
>> >> unsubscribe@incubator.apache.org
>> >> > For additional commands, e-mail: harmony-dev-
>> >> help@incubator.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>> > --
>> >
>> > Dmitry A. Durnev,
>> > Intel Middleware Products Division
>> >
>> >  
>> ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: harmony-dev- 
>> unsubscribe@incubator.apache.org
>> > For additional commands, e-mail: harmony-dev- 
>> help@incubator.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev- 
>> help@incubator.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message