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

=========================
[EMAIL PROTECTED]:/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]

=========================
[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/export/users/viv/buildtest/trunk>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to