You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/12/07 15:11:33 UTC

Re: [drlvm][em64t] build is broken

Sorry, missed this thread...

I'm puzzled.  The diff of r482539:482540 looks pretty simple to me.
Sadly I don't have a x86_64 machine to test.

I'll take a close look but can anyone see what I missed?

Regards,
 Mark.

On 6 December 2006 at 12:45, "Geir Magnusson Jr." <ge...@pobox.com> wrote:
> Paging Dr. Mark... Paging Dr. Mark...
> 
> 
> 
> Alexey Varlamov wrote:
> > Guys,
> > 
> > em64t builds of classlib are dead since r482540. That is, DRLVM works
> > with classlib r482539 and fails with segfault on later revisions.
> > The rootcause is hysl_lookup_name returning bad pointers due to
> > incorrect size of UDATA, which become == 4 somehow.
> > I spent several hours trying to understand the reason of the wrong
> > definition, but still miss something. Correct DEFINES seems to be in
> > place...
> > Almighty classlib build gurus, we need to resolve this ASAP, please.
> > 
> > NB. Isn't using void* more portable than UDATA for pointers? E.g. for
> > below declaration:
> > hysl_lookup_name (struct HyPortLibrary * portLibrary, UDATA descriptor,
> >                  char *name, UDATA * func, const char *argSignature)
> > 
> > 
> > 2006/12/5, Vladimir Ivanov <iv...@gmail.com>:
> >> Today the run of classlib tests over the DRLVM leads to the crash 
> >> (below).
> >> Could somebody reproduce/fix it?
> >>
> >>  thanks, Vladimir
> >>
> >> vivanov1@nstdrlel1:/export/users/viv/trunk/cc>
> >> /export/users/viv/trunk/cc/projects/drlvm/trunk/build/lnx_em64t_gcc_debug/
> deploy/jre/bin/java 
> >>
> >> -version
> >> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> >> Foundation or its licensors, as applicable.
> >>
> >> An unhandled error (4) has occurred.
> >> HyGeneric_Signal_Number=00000004
> >> Signal_Number=0000000b
> >> Error_Value=00000000
> >> Signal_Code=00000001
> >> Handler1=00402D48
> >> Handler2=9568D018
> >> InaccessibleAddress=96B138D0
> >> RDI=BFFFD7E0
> >> RSI=BFFFD7E8
> >> RAX=00000000
> >> RBX=BFFFDB30
> >> RCX=BFFFDB30
> >> RDX=BFFFD800
> >> R8=0053A804
> >> R9=0053A940
> >> R10=732F0000
> >> R11=00000030
> >> R12=BFFFDB30
> >> R13=00010004
> >> R14=00000002
> >> R15=BFFFE378
> >> RIP=96B138D0
> >> GS=00000000
> >> FS=00000000
> >> RSP=BFFFD798
> >> EFlags=00010246
> >> CS=00000020
> >> RBP=00000001
> >> ERR=00000014
> >> TRAPNO=0000000E
> >> OLDMASK=00000000
> >> CR2=96B138D0
> >> Aborted
> >> vivanov1@nstdrlel1:/export/users/viv/trunk/cc>
> >>
> >>
> 



Re: [drlvm][em64t] build is broken

Posted by Vladimir Ivanov <iv...@gmail.com>.
Thanks, now it works !

 Thanks, Vladimir


On 12/8/06, Mark Hindess <ma...@googlemail.com> wrote:
>
>
> Fixed in r483702.  Trivial - but annoyingly hard-to-spot typo.  Sorry!
>
> -Mark.
>
> On 7 December 2006 at 14:11, Mark Hindess <ma...@googlemail.com>
> wrote:
> >
> > Sorry, missed this thread...
> >
> > I'm puzzled.  The diff of r482539:482540 looks pretty simple to me.
> > Sadly I don't have a x86_64 machine to test.
> >
> > I'll take a close look but can anyone see what I missed?
> >
> > Regards,
> >  Mark.
> >
> > On 6 December 2006 at 12:45, "Geir Magnusson Jr." <ge...@pobox.com>
> wrote:
> > > Paging Dr. Mark... Paging Dr. Mark...
> > >
> > >
> > >
> > > Alexey Varlamov wrote:
> > > > Guys,
> > > >
> > > > em64t builds of classlib are dead since r482540. That is, DRLVM
> works
> > > > with classlib r482539 and fails with segfault on later revisions.
> > > > The rootcause is hysl_lookup_name returning bad pointers due to
> > > > incorrect size of UDATA, which become == 4 somehow.
> > > > I spent several hours trying to understand the reason of the wrong
> > > > definition, but still miss something. Correct DEFINES seems to be in
> > > > place...
> > > > Almighty classlib build gurus, we need to resolve this ASAP, please.
> > > >
> > > > NB. Isn't using void* more portable than UDATA for pointers? E.g.
> for
> > > > below declaration:
> > > > hysl_lookup_name (struct HyPortLibrary * portLibrary, UDATA
> descriptor,
> > > >                  char *name, UDATA * func, const char *argSignature)
> > > >
> > > >
> > > > 2006/12/5, Vladimir Ivanov <iv...@gmail.com>:
> > > >> Today the run of classlib tests over the DRLVM leads to the crash
> > > >> (below).
> > > >> Could somebody reproduce/fix it?
> > > >>
> > > >>  thanks, Vladimir
> > > >>
> > > >> vivanov1@nstdrlel1:/export/users/viv/trunk/cc>
> > > >>
> /export/users/viv/trunk/cc/projects/drlvm/trunk/build/lnx_em64t_gcc_debu
> > g/
> > > deploy/jre/bin/java
> > > >>
> > > >> -version
> > > >> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache
> Software
> > > >> Foundation or its licensors, as applicable.
> > > >>
> > > >> An unhandled error (4) has occurred.
> > > >> HyGeneric_Signal_Number=00000004
> > > >> Signal_Number=0000000b
> > > >> Error_Value=00000000
> > > >> Signal_Code=00000001
> > > >> Handler1=00402D48
> > > >> Handler2=9568D018
> > > >> InaccessibleAddress=96B138D0
> > > >> RDI=BFFFD7E0
> > > >> RSI=BFFFD7E8
> > > >> RAX=00000000
> > > >> RBX=BFFFDB30
> > > >> RCX=BFFFDB30
> > > >> RDX=BFFFD800
> > > >> R8=0053A804
> > > >> R9=0053A940
> > > >> R10=732F0000
> > > >> R11=00000030
> > > >> R12=BFFFDB30
> > > >> R13=00010004
> > > >> R14=00000002
> > > >> R15=BFFFE378
> > > >> RIP=96B138D0
> > > >> GS=00000000
> > > >> FS=00000000
> > > >> RSP=BFFFD798
> > > >> EFlags=00010246
> > > >> CS=00000020
> > > >> RBP=00000001
> > > >> ERR=00000014
> > > >> TRAPNO=0000000E
> > > >> OLDMASK=00000000
> > > >> CR2=96B138D0
> > > >> Aborted
> > > >> vivanov1@nstdrlel1:/export/users/viv/trunk/cc>
> > > >>
> > > >>
> > >
> >
>
>
>

Re: [drlvm][em64t] build is broken

Posted by Mark Hindess <ma...@googlemail.com>.
Fixed in r483702.  Trivial - but annoyingly hard-to-spot typo.  Sorry!

-Mark.

On 7 December 2006 at 14:11, Mark Hindess <ma...@googlemail.com> wrote:
> 
> Sorry, missed this thread...
> 
> I'm puzzled.  The diff of r482539:482540 looks pretty simple to me.
> Sadly I don't have a x86_64 machine to test.
> 
> I'll take a close look but can anyone see what I missed?
> 
> Regards,
>  Mark.
> 
> On 6 December 2006 at 12:45, "Geir Magnusson Jr." <ge...@pobox.com> wrote:
> > Paging Dr. Mark... Paging Dr. Mark...
> > 
> > 
> > 
> > Alexey Varlamov wrote:
> > > Guys,
> > > 
> > > em64t builds of classlib are dead since r482540. That is, DRLVM works
> > > with classlib r482539 and fails with segfault on later revisions.
> > > The rootcause is hysl_lookup_name returning bad pointers due to
> > > incorrect size of UDATA, which become == 4 somehow.
> > > I spent several hours trying to understand the reason of the wrong
> > > definition, but still miss something. Correct DEFINES seems to be in
> > > place...
> > > Almighty classlib build gurus, we need to resolve this ASAP, please.
> > > 
> > > NB. Isn't using void* more portable than UDATA for pointers? E.g. for
> > > below declaration:
> > > hysl_lookup_name (struct HyPortLibrary * portLibrary, UDATA descriptor,
> > >                  char *name, UDATA * func, const char *argSignature)
> > > 
> > > 
> > > 2006/12/5, Vladimir Ivanov <iv...@gmail.com>:
> > >> Today the run of classlib tests over the DRLVM leads to the crash 
> > >> (below).
> > >> Could somebody reproduce/fix it?
> > >>
> > >>  thanks, Vladimir
> > >>
> > >> vivanov1@nstdrlel1:/export/users/viv/trunk/cc>
> > >> /export/users/viv/trunk/cc/projects/drlvm/trunk/build/lnx_em64t_gcc_debu
> g/
> > deploy/jre/bin/java 
> > >>
> > >> -version
> > >> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> > >> Foundation or its licensors, as applicable.
> > >>
> > >> An unhandled error (4) has occurred.
> > >> HyGeneric_Signal_Number=00000004
> > >> Signal_Number=0000000b
> > >> Error_Value=00000000
> > >> Signal_Code=00000001
> > >> Handler1=00402D48
> > >> Handler2=9568D018
> > >> InaccessibleAddress=96B138D0
> > >> RDI=BFFFD7E0
> > >> RSI=BFFFD7E8
> > >> RAX=00000000
> > >> RBX=BFFFDB30
> > >> RCX=BFFFDB30
> > >> RDX=BFFFD800
> > >> R8=0053A804
> > >> R9=0053A940
> > >> R10=732F0000
> > >> R11=00000030
> > >> R12=BFFFDB30
> > >> R13=00010004
> > >> R14=00000002
> > >> R15=BFFFE378
> > >> RIP=96B138D0
> > >> GS=00000000
> > >> FS=00000000
> > >> RSP=BFFFD798
> > >> EFlags=00010246
> > >> CS=00000020
> > >> RBP=00000001
> > >> ERR=00000014
> > >> TRAPNO=0000000E
> > >> OLDMASK=00000000
> > >> CR2=96B138D0
> > >> Aborted
> > >> vivanov1@nstdrlel1:/export/users/viv/trunk/cc>
> > >>
> > >>
> > 
>