You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2006/09/15 12:58:20 UTC

IBM VM (?) crash

I see the following message when don't specified additional args to run vm.
I think that some 'help' message will be more appropriate in this case.

 Thanks, Vladimir

=========================
vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
cc/projects/classlib/trunk/deploy/jdk/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]

=========================
vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
cc/projects/classlib/trunk/deploy/jdk/jre/bin/java -vmdir:default
Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000
Signal_Code=00000001
Handler1=403524A4 Handler2=402F4343 InaccessibleAddress=0000006A
EDI=BFFFDFE0 ESI=0000006A EAX=0000006A EBX=00000000
ECX=08050A84 EDX=FFFFFFFF
EIP=61252C41 ES=0000007B DS=0000007B ESP=BFFFCFC4
EFlags=00210206 CS=00000073 SS=0000007B EBP=BFFFCFDC
Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so
Module_base_address=61235000
Target=2_30_20060727_07300_lHdSMR (Linux 2.6.5-7.191-bigsmp)
CPU=x86 (4 logical CPUs) (0xf280c000 RAM)

JavaVMInitArgs.nOptions=10:
    -
Dcom.ibm.oti.vm.vmdir=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/
    -
Dcom.ibm.oti.vm.exe=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/java
    -
Dcom.ibm.oti.vm.bootstrap.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default

-Xbootclasspath/p:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/luni-
kernel.jar:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/security-kernel.jar
    -Djava.home=/usr/jdk1.5.0_06/jdk
    -
Djava.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/:.:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default
    -
Djava.class.path=/nfs/site/proj/drl/share/binaries/externals/junit/junit.jar
    _org.apache.harmony.vmi.portlib (extra info: BFFFDFE0)
    -Xjcl:jclclear_23
    _j2se_j9=136448
Note: dump may be truncated if "ulimit -c" is set too low

Generated system dump: {default OS core name}

(no Thread object associated with thread)

(no Thread object associated with thread)

An unhandled error (4) has occurred.
HyGeneric_Signal_Number=00000004
Signal_Number=0000000b
Error_Value=00000000
Signal_Code=00000001
Handler1=0804A930
Handler2=40026651
InaccessibleAddress=0000006A
EDI=BFFFDFE0
ESI=0000006A
EAX=0000006A
EBX=00000000
ECX=08050A84
EDX=FFFFFFFF
EIP=61252C41
ES=0000007B
DS=0000007B
ESP=BFFFCFC4
EFlags=00210206
CS=00000073
SS=0000007B
EBP=BFFFCFDC
Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so
Module_base_address=61235000
Aborted
vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>

Re: IBM VM (?) crash

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

Tim Ellison wrote:
> Geir Magnusson Jr. wrote:
>> Tim Ellison wrote:
>>> Geir Magnusson Jr. wrote:
>>>> Ignore me.  There is a crash below.  I only thought you were complaining
>>>> about the output of the launcher.
>>>>
>>>> (I do think my point still stands re the output of "java" :)
>>> I don't get it?  How do you tell the VM that it should print its help?
>>>
>>> The launcher does a JNI_CreateJavaVM followed by a CallStaticVoidMethod
>>> on the arg.  What are you going to do if there is no command-line arg?
>>> In that case the launcher prints 'you goofed...' not the VM, right?
>> You didn't goof.
>>
>> Go type "java" with the RI and see what happens.
>>
>> If the exe is named "java" and it can find
>> default/libharmonyvm.[so|dll], then I think it needs to just let the VM
>> print out something useful.
> 
> Sorry for being slow, but this is the bit I don't understand.  How do
> you "just let the VM print out something useful"?

Can you please clarify the question?  The simple answer is "printf()", 
but I don't think that's the thrust of your question.

geir

> 
> Regards,
> Tim
> 
>> If it can't find a VM to run, then yes, it should print out it's help.
>>
>> 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
>>
>>
> 

---------------------------------------------------------------------
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


Re: IBM VM (?) crash

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
I understand what you are asking.

Why not just have launcher pass -help to VM...

geir


Tim Ellison wrote:
> Geir Magnusson Jr. wrote:
>> Tim Ellison wrote:
>>> Geir Magnusson Jr. wrote:
>>>> Ignore me.  There is a crash below.  I only thought you were complaining
>>>> about the output of the launcher.
>>>>
>>>> (I do think my point still stands re the output of "java" :)
>>> I don't get it?  How do you tell the VM that it should print its help?
>>>
>>> The launcher does a JNI_CreateJavaVM followed by a CallStaticVoidMethod
>>> on the arg.  What are you going to do if there is no command-line arg?
>>> In that case the launcher prints 'you goofed...' not the VM, right?
>> You didn't goof.
>>
>> Go type "java" with the RI and see what happens.
>>
>> If the exe is named "java" and it can find
>> default/libharmonyvm.[so|dll], then I think it needs to just let the VM
>> print out something useful.
> 
> Sorry for being slow, but this is the bit I don't understand.  How do
> you "just let the VM print out something useful"?
> 
> Regards,
> Tim
> 
>> If it can't find a VM to run, then yes, it should print out it's help.
>>
>> 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
>>
>>
> 

---------------------------------------------------------------------
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


Re: IBM VM (?) crash

Posted by Tim Ellison <t....@gmail.com>.
Geir Magnusson Jr. wrote:
> Tim Ellison wrote:
>> Geir Magnusson Jr. wrote:
>>> Ignore me.  There is a crash below.  I only thought you were complaining
>>> about the output of the launcher.
>>>
>>> (I do think my point still stands re the output of "java" :)
>>
>> I don't get it?  How do you tell the VM that it should print its help?
>>
>> The launcher does a JNI_CreateJavaVM followed by a CallStaticVoidMethod
>> on the arg.  What are you going to do if there is no command-line arg?
>> In that case the launcher prints 'you goofed...' not the VM, right?
> 
> You didn't goof.
> 
> Go type "java" with the RI and see what happens.
> 
> If the exe is named "java" and it can find
> default/libharmonyvm.[so|dll], then I think it needs to just let the VM
> print out something useful.

Sorry for being slow, but this is the bit I don't understand.  How do
you "just let the VM print out something useful"?

Regards,
Tim

> If it can't find a VM to run, then yes, it should print out it's help.
> 
> 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
> 
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
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


Re: IBM VM (?) crash

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

Tim Ellison wrote:
> Geir Magnusson Jr. wrote:
>> Ignore me.  There is a crash below.  I only thought you were complaining
>> about the output of the launcher.
>>
>> (I do think my point still stands re the output of "java" :)
> 
> I don't get it?  How do you tell the VM that it should print its help?
> 
> The launcher does a JNI_CreateJavaVM followed by a CallStaticVoidMethod
> on the arg.  What are you going to do if there is no command-line arg?
> In that case the launcher prints 'you goofed...' not the VM, right?

You didn't goof.

Go type "java" with the RI and see what happens.

If the exe is named "java" and it can find 
default/libharmonyvm.[so|dll], then I think it needs to just let the VM 
print out something useful.

If it can't find a VM to run, then yes, it should print out it's help.

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


Re: IBM VM (?) crash

Posted by Tim Ellison <t....@gmail.com>.
Geir Magnusson Jr. wrote:
> Ignore me.  There is a crash below.  I only thought you were complaining
> about the output of the launcher.
> 
> (I do think my point still stands re the output of "java" :)

I don't get it?  How do you tell the VM that it should print its help?

The launcher does a JNI_CreateJavaVM followed by a CallStaticVoidMethod
on the arg.  What are you going to do if there is no command-line arg?
In that case the launcher prints 'you goofed...' not the VM, right?

Regards,
Tim

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
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


Re: IBM VM (?) crash

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
Ignore me.  There is a crash below.  I only thought you were complaining 
about the output of the launcher.

(I do think my point still stands re the output of "java" :)

Geir Magnusson Jr. wrote:
> That's not a crash but the default behavior of the launcher.
> 
> I think that if the launcher is named "java", and is invoked with no 
> args, it should just simply invoke the VM, which should w/o args print 
> it's help.
> 
> Given that only the clueful and advanced users would want to know the 
> two params to launcher (-vmdir: and -vm:) I see no benefit of having 
> those as command line help output...
> 
> geir
> 
> 
> Vladimir Ivanov wrote:
>> I see the following message when don't specified additional args to 
>> run vm.
>> I think that some 'help' message will be more appropriate in this case.
>>
>> Thanks, Vladimir
>>
>> =========================
>> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
>> cc/projects/classlib/trunk/deploy/jdk/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]
>>
>> =========================
>> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
>> cc/projects/classlib/trunk/deploy/jdk/jre/bin/java -vmdir:default
>> Unhandled exception
>> Type=Segmentation error vmState=0x00000000
>> J9Generic_Signal_Number=00000004 Signal_Number=0000000b 
>> Error_Value=00000000
>> Signal_Code=00000001
>> Handler1=403524A4 Handler2=402F4343 InaccessibleAddress=0000006A
>> EDI=BFFFDFE0 ESI=0000006A EAX=0000006A EBX=00000000
>> ECX=08050A84 EDX=FFFFFFFF
>> EIP=61252C41 ES=0000007B DS=0000007B ESP=BFFFCFC4
>> EFlags=00210206 CS=00000073 SS=0000007B EBP=BFFFCFDC
>> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so 
>>
>> Module_base_address=61235000
>> Target=2_30_20060727_07300_lHdSMR (Linux 2.6.5-7.191-bigsmp)
>> CPU=x86 (4 logical CPUs) (0xf280c000 RAM)
>>
>> JavaVMInitArgs.nOptions=10:
>>    -
>> Dcom.ibm.oti.vm.vmdir=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/ 
>>
>>    -
>> Dcom.ibm.oti.vm.exe=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/java 
>>
>>    -
>> Dcom.ibm.oti.vm.bootstrap.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default 
>>
>>
>> -Xbootclasspath/p:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/luni- 
>>
>> kernel.jar:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/security-kernel.jar 
>>
>>    -Djava.home=/usr/jdk1.5.0_06/jdk
>>    -
>> Djava.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/:.:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default 
>>
>>    -
>> Djava.class.path=/nfs/site/proj/drl/share/binaries/externals/junit/junit.jar 
>>
>>    _org.apache.harmony.vmi.portlib (extra info: BFFFDFE0)
>>    -Xjcl:jclclear_23
>>    _j2se_j9=136448
>> Note: dump may be truncated if "ulimit -c" is set too low
>>
>> Generated system dump: {default OS core name}
>>
>> (no Thread object associated with thread)
>>
>> (no Thread object associated with thread)
>>
>> An unhandled error (4) has occurred.
>> HyGeneric_Signal_Number=00000004
>> Signal_Number=0000000b
>> Error_Value=00000000
>> Signal_Code=00000001
>> Handler1=0804A930
>> Handler2=40026651
>> InaccessibleAddress=0000006A
>> EDI=BFFFDFE0
>> ESI=0000006A
>> EAX=0000006A
>> EBX=00000000
>> ECX=08050A84
>> EDX=FFFFFFFF
>> EIP=61252C41
>> ES=0000007B
>> DS=0000007B
>> ESP=BFFFCFC4
>> EFlags=00210206
>> CS=00000073
>> SS=0000007B
>> EBP=BFFFCFDC
>> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so 
>>
>> Module_base_address=61235000
>> Aborted
>> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
>>
> 
> ---------------------------------------------------------------------
> 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


Re: IBM VM (?) crash

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
That's not a crash but the default behavior of the launcher.

I think that if the launcher is named "java", and is invoked with no 
args, it should just simply invoke the VM, which should w/o args print 
it's help.

Given that only the clueful and advanced users would want to know the 
two params to launcher (-vmdir: and -vm:) I see no benefit of having 
those as command line help output...

geir


Vladimir Ivanov wrote:
> I see the following message when don't specified additional args to run vm.
> I think that some 'help' message will be more appropriate in this case.
> 
> Thanks, Vladimir
> 
> =========================
> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> cc/projects/classlib/trunk/deploy/jdk/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]
> 
> =========================
> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> cc/projects/classlib/trunk/deploy/jdk/jre/bin/java -vmdir:default
> Unhandled exception
> Type=Segmentation error vmState=0x00000000
> J9Generic_Signal_Number=00000004 Signal_Number=0000000b 
> Error_Value=00000000
> Signal_Code=00000001
> Handler1=403524A4 Handler2=402F4343 InaccessibleAddress=0000006A
> EDI=BFFFDFE0 ESI=0000006A EAX=0000006A EBX=00000000
> ECX=08050A84 EDX=FFFFFFFF
> EIP=61252C41 ES=0000007B DS=0000007B ESP=BFFFCFC4
> EFlags=00210206 CS=00000073 SS=0000007B EBP=BFFFCFDC
> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so 
> 
> Module_base_address=61235000
> Target=2_30_20060727_07300_lHdSMR (Linux 2.6.5-7.191-bigsmp)
> CPU=x86 (4 logical CPUs) (0xf280c000 RAM)
> 
> JavaVMInitArgs.nOptions=10:
>    -
> Dcom.ibm.oti.vm.vmdir=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/ 
> 
>    -
> Dcom.ibm.oti.vm.exe=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/java 
> 
>    -
> Dcom.ibm.oti.vm.bootstrap.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default 
> 
> 
> -Xbootclasspath/p:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/luni- 
> 
> kernel.jar:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/security-kernel.jar 
> 
>    -Djava.home=/usr/jdk1.5.0_06/jdk
>    -
> Djava.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/:.:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default 
> 
>    -
> Djava.class.path=/nfs/site/proj/drl/share/binaries/externals/junit/junit.jar 
> 
>    _org.apache.harmony.vmi.portlib (extra info: BFFFDFE0)
>    -Xjcl:jclclear_23
>    _j2se_j9=136448
> Note: dump may be truncated if "ulimit -c" is set too low
> 
> Generated system dump: {default OS core name}
> 
> (no Thread object associated with thread)
> 
> (no Thread object associated with thread)
> 
> An unhandled error (4) has occurred.
> HyGeneric_Signal_Number=00000004
> Signal_Number=0000000b
> Error_Value=00000000
> Signal_Code=00000001
> Handler1=0804A930
> Handler2=40026651
> InaccessibleAddress=0000006A
> EDI=BFFFDFE0
> ESI=0000006A
> EAX=0000006A
> EBX=00000000
> ECX=08050A84
> EDX=FFFFFFFF
> EIP=61252C41
> ES=0000007B
> DS=0000007B
> ESP=BFFFCFC4
> EFlags=00210206
> CS=00000073
> SS=0000007B
> EBP=BFFFCFDC
> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so 
> 
> Module_base_address=61235000
> Aborted
> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> 

---------------------------------------------------------------------
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


Re: [testing] Re: IBM VM (?) crash

Posted by Vladimir Ivanov <iv...@gmail.com>.
issue HARMONY-1474 <http://issues.apache.org/jira/browse/HARMONY-1474> was
created.
 thanks, Vladimir


On 9/15/06, Tim Ellison <t....@gmail.com> wrote:
>
> It trapped in libhyluni.so so not sure why you think it is a VM problem.
>
> If you don't specify a main class (or jar argument) to run it should be
> handled solely within the launcher.  I suggest you raise a JIRA.
>
> Regards,
> Tim
>
> Vladimir Ivanov wrote:
> > I see the following message when don't specified additional args to run
> vm.
> > I think that some 'help' message will be more appropriate in this case.
> >
> > Thanks, Vladimir
> >
> > =========================
> > vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> > cc/projects/classlib/trunk/deploy/jdk/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]
> >
> > =========================
> > vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> > cc/projects/classlib/trunk/deploy/jdk/jre/bin/java -vmdir:default
> > Unhandled exception
> > Type=Segmentation error vmState=0x00000000
> > J9Generic_Signal_Number=00000004 Signal_Number=0000000b
> > Error_Value=00000000
> > Signal_Code=00000001
> > Handler1=403524A4 Handler2=402F4343 InaccessibleAddress=0000006A
> > EDI=BFFFDFE0 ESI=0000006A EAX=0000006A EBX=00000000
> > ECX=08050A84 EDX=FFFFFFFF
> > EIP=61252C41 ES=0000007B DS=0000007B ESP=BFFFCFC4
> > EFlags=00210206 CS=00000073 SS=0000007B EBP=BFFFCFDC
> >
> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so
> >
> > Module_base_address=61235000
> > Target=2_30_20060727_07300_lHdSMR (Linux 2.6.5-7.191-bigsmp)
> > CPU=x86 (4 logical CPUs) (0xf280c000 RAM)
> >
> > JavaVMInitArgs.nOptions=10:
> >    -
> >
> Dcom.ibm.oti.vm.vmdir=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/
> >
> >    -
> >
> Dcom.ibm.oti.vm.exe=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/java
> >
> >    -
> >
> Dcom.ibm.oti.vm.bootstrap.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default
> >
> >
> >
> -Xbootclasspath/p:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/luni-
> >
> >
> kernel.jar:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/security-kernel.jar
> >
> >    -Djava.home=/usr/jdk1.5.0_06/jdk
> >    -
> >
> Djava.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/:.:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default
> >
> >    -
> >
> Djava.class.path=/nfs/site/proj/drl/share/binaries/externals/junit/junit.jar
> >
> >    _org.apache.harmony.vmi.portlib (extra info: BFFFDFE0)
> >    -Xjcl:jclclear_23
> >    _j2se_j9=136448
> > Note: dump may be truncated if "ulimit -c" is set too low
> >
> > Generated system dump: {default OS core name}
> >
> > (no Thread object associated with thread)
> >
> > (no Thread object associated with thread)
> >
> > An unhandled error (4) has occurred.
> > HyGeneric_Signal_Number=00000004
> > Signal_Number=0000000b
> > Error_Value=00000000
> > Signal_Code=00000001
> > Handler1=0804A930
> > Handler2=40026651
> > InaccessibleAddress=0000006A
> > EDI=BFFFDFE0
> > ESI=0000006A
> > EAX=0000006A
> > EBX=00000000
> > ECX=08050A84
> > EDX=FFFFFFFF
> > EIP=61252C41
> > ES=0000007B
> > DS=0000007B
> > ESP=BFFFCFC4
> > EFlags=00210206
> > CS=00000073
> > SS=0000007B
> > EBP=BFFFCFDC
> >
> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so
> >
> > Module_base_address=61235000
> > Aborted
> > vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> >
>
> --
>
> Tim Ellison (t.p.ellison@gmail.com)
> IBM Java technology centre, UK.
>
> ---------------------------------------------------------------------
> 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
>
>

[testing] Re: IBM VM (?) crash

Posted by Tim Ellison <t....@gmail.com>.
It trapped in libhyluni.so so not sure why you think it is a VM problem.

If you don't specify a main class (or jar argument) to run it should be
handled solely within the launcher.  I suggest you raise a JIRA.

Regards,
Tim

Vladimir Ivanov wrote:
> I see the following message when don't specified additional args to run vm.
> I think that some 'help' message will be more appropriate in this case.
> 
> Thanks, Vladimir
> 
> =========================
> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> cc/projects/classlib/trunk/deploy/jdk/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]
> 
> =========================
> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> cc/projects/classlib/trunk/deploy/jdk/jre/bin/java -vmdir:default
> Unhandled exception
> Type=Segmentation error vmState=0x00000000
> J9Generic_Signal_Number=00000004 Signal_Number=0000000b
> Error_Value=00000000
> Signal_Code=00000001
> Handler1=403524A4 Handler2=402F4343 InaccessibleAddress=0000006A
> EDI=BFFFDFE0 ESI=0000006A EAX=0000006A EBX=00000000
> ECX=08050A84 EDX=FFFFFFFF
> EIP=61252C41 ES=0000007B DS=0000007B ESP=BFFFCFC4
> EFlags=00210206 CS=00000073 SS=0000007B EBP=BFFFCFDC
> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so
> 
> Module_base_address=61235000
> Target=2_30_20060727_07300_lHdSMR (Linux 2.6.5-7.191-bigsmp)
> CPU=x86 (4 logical CPUs) (0xf280c000 RAM)
> 
> JavaVMInitArgs.nOptions=10:
>    -
> Dcom.ibm.oti.vm.vmdir=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/
> 
>    -
> Dcom.ibm.oti.vm.exe=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/java
> 
>    -
> Dcom.ibm.oti.vm.bootstrap.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default
> 
> 
> -Xbootclasspath/p:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/luni-
> 
> kernel.jar:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default/security-kernel.jar
> 
>    -Djava.home=/usr/jdk1.5.0_06/jdk
>    -
> Djava.library.path=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/:.:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin:/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/default
> 
>    -
> Djava.class.path=/nfs/site/proj/drl/share/binaries/externals/junit/junit.jar
> 
>    _org.apache.harmony.vmi.portlib (extra info: BFFFDFE0)
>    -Xjcl:jclclear_23
>    _j2se_j9=136448
> Note: dump may be truncated if "ulimit -c" is set too low
> 
> Generated system dump: {default OS core name}
> 
> (no Thread object associated with thread)
> 
> (no Thread object associated with thread)
> 
> An unhandled error (4) has occurred.
> HyGeneric_Signal_Number=00000004
> Signal_Number=0000000b
> Error_Value=00000000
> Signal_Code=00000001
> Handler1=0804A930
> Handler2=40026651
> InaccessibleAddress=0000006A
> EDI=BFFFDFE0
> ESI=0000006A
> EAX=0000006A
> EBX=00000000
> ECX=08050A84
> EDX=FFFFFFFF
> EIP=61252C41
> ES=0000007B
> DS=0000007B
> ESP=BFFFCFC4
> EFlags=00210206
> CS=00000073
> SS=0000007B
> EBP=BFFFCFDC
> Module=/export/users/viv/buildtest/trunk/cc/projects/classlib/trunk/deploy/jdk/jre/bin/libhyluni.so
> 
> Module_base_address=61235000
> Aborted
> vivanov1@nstdrlxl2:/export/users/viv/buildtest/trunk>
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
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