You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Stefano Mazzocchi <st...@apache.org> on 2006/11/14 23:27:52 UTC

[x86_64] problem running DRLVM

I've tried to run the VM launcher and I get:

[stefano@harmony-em64t]
~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/bin $ ./java
Harmony Java launcher
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundation or its licensors, as applicable.
java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
*** glibc detected *** free(): invalid pointer: 0x00007fffffe8aff0 ***
Aborted

any idea?

-- 
Stefano.


Re: [x86_64] problem running DRLVM

Posted by Gregory Shimansky <gs...@gmail.com>.
Geir Magnusson Jr. wrote:
> 
> 
> Stefano Mazzocchi wrote:
>> Gregory Shimansky wrote:
>>> Stefano Mazzocchi wrote:
>>>> I've tried to run the VM launcher and I get:
>>>>
>>>> [stefano@harmony-em64t]
>>>> ~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/bin $ ./java
>>>> Harmony Java launcher
>>>> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
>>>> Foundation or its licensors, as applicable.
>>>> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
>>>> *** glibc detected *** free(): invalid pointer: 0x00007fffffe8aff0 ***
>>>> Aborted
>>>>
>>>> any idea?
>>> I've reproduced the crash. It is not exactly drlvm fault. It looks like
>>> harmony launcher crashes when it is ran without arguments. If you run it
>>> with some arguments it should work, at least it does work for me.
>>
>> yeah, it works. <scratch-head/>
>>
>> you mean I'm the first one to run the launcher without parameters...
>> bizarre.
> 
> On 64-bit? :)  Probably.

I fixed the crash at 475483. It happened because of an uninitialized 
variable which happened to be non-NULL on x86_64.

-- 
Gregory


Re: [x86_64] problem running DRLVM

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.

Stefano Mazzocchi wrote:
> Gregory Shimansky wrote:
>> Stefano Mazzocchi wrote:
>>> I've tried to run the VM launcher and I get:
>>>
>>> [stefano@harmony-em64t]
>>> ~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/bin $ ./java
>>> Harmony Java launcher
>>> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
>>> Foundation or its licensors, as applicable.
>>> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
>>> *** glibc detected *** free(): invalid pointer: 0x00007fffffe8aff0 ***
>>> Aborted
>>>
>>> any idea?
>> I've reproduced the crash. It is not exactly drlvm fault. It looks like
>> harmony launcher crashes when it is ran without arguments. If you run it
>> with some arguments it should work, at least it does work for me.
> 
> yeah, it works. <scratch-head/>
> 
> you mean I'm the first one to run the launcher without parameters...
> bizarre.

On 64-bit? :)  Probably.

geir

> 
> ok, now on to trying gump :-)
> 


Re: [x86_64] problem running DRLVM

Posted by Gregory Shimansky <gs...@gmail.com>.
On Wednesday 15 November 2006 02:11 Stefano Mazzocchi wrote:
> Gregory Shimansky wrote:
> > Stefano Mazzocchi wrote:
> >> I've tried to run the VM launcher and I get:
> >>
> >> [stefano@harmony-em64t]
> >> ~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/bin $ ./java
> >> Harmony Java launcher
> >> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> >> Foundation or its licensors, as applicable.
> >> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
> >> *** glibc detected *** free(): invalid pointer: 0x00007fffffe8aff0 ***
> >> Aborted
> >>
> >> any idea?
> >
> > I've reproduced the crash. It is not exactly drlvm fault. It looks like
> > harmony launcher crashes when it is ran without arguments. If you run it
> > with some arguments it should work, at least it does work for me.
>
> yeah, it works. <scratch-head/>
>
> you mean I'm the first one to run the launcher without parameters...
> bizarre.

No, you're the first to do it on x86_64 it seems :) It has kind of started to 
work just recently as has suffered several periods when build was broken even 
on old SuSE9. The more modern installations started to build it only today.

> ok, now on to trying gump :-)

-- 
Gregory Shimansky, Intel Middleware Products Division

Re: [x86_64] problem running DRLVM

Posted by Stefano Mazzocchi <st...@apache.org>.
Gregory Shimansky wrote:
> Stefano Mazzocchi wrote:
>> I've tried to run the VM launcher and I get:
>>
>> [stefano@harmony-em64t]
>> ~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/bin $ ./java
>> Harmony Java launcher
>> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
>> Foundation or its licensors, as applicable.
>> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
>> *** glibc detected *** free(): invalid pointer: 0x00007fffffe8aff0 ***
>> Aborted
>>
>> any idea?
> 
> I've reproduced the crash. It is not exactly drlvm fault. It looks like
> harmony launcher crashes when it is ran without arguments. If you run it
> with some arguments it should work, at least it does work for me.

yeah, it works. <scratch-head/>

you mean I'm the first one to run the launcher without parameters...
bizarre.

ok, now on to trying gump :-)

-- 
Stefano.


Re: [x86_64] problem running DRLVM

Posted by Gregory Shimansky <gs...@gmail.com>.
Stefano Mazzocchi wrote:
> I've tried to run the VM launcher and I get:
> 
> [stefano@harmony-em64t]
> ~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/bin $ ./java
> Harmony Java launcher
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundation or its licensors, as applicable.
> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
> *** glibc detected *** free(): invalid pointer: 0x00007fffffe8aff0 ***
> Aborted
> 
> any idea?

I've reproduced the crash. It is not exactly drlvm fault. It looks like 
harmony launcher crashes when it is ran without arguments. If you run it 
with some arguments it should work, at least it does work for me.

-- 
Gregory