ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel L. Kunkel" <>
Subject memset crash during bootstrap
Date Tue, 13 Apr 2004 22:39:19 GMT

Does "[Ljava.lang.String" mean anything to anyone?

I'm getting it when bootstraping what I believe to be the most recent 
nightly build of ant on a Sphera VDS Redhat Linux 2.1ES system.

I've tracked it down to the following piece of code in

     * Creates a process that runs a command.
     * @param project the Project, only used for logging purposes, 
may be null.
     * @param command the command to run
     * @param env the environment for the command
     * @param dir the working directory for the command
     * @param useVM use the built-in exec command for JDK 1.3 if 
     * @return the process started
     * @throws IOException forwarded from the particular launcher 
     * @since Ant 1.5
    public static Process launch(Project project, String[] command,
                                 String[] env, File dir, boolean useVM)
        throws IOException {
System.out.println("&&& 93");				
        CommandLauncher launcher
            = vmLauncher != null ? vmLauncher : shellLauncher;
        if (!useVM) {
            launcher = shellLauncher;
System.out.println("&&& 94 " + project + ":" + command + ":" + env 
+ ":" + dir );		
        return launcher.exec(project, command, env, dir);

Which outputs:

&&& 93
&&& 94 null:[Ljava.lang.String;@f7f540:null:null

An unexpected exception has been detected in native code outside 
the VM.
Unexpected Signal : 11 occurred at PC=0x400FBEF8

Current Java thread:
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess$

Dynamic libraries:
08048000-0804e000 r-xp 00000000 09:02 1655427    


4cd88000-4d264000 r--s 00000000 09:02 8766089    

Heap at VM Abort:
 def new generation   total 576K, used 425K [0x44790000, 
0x44830000, 0x44c70000)
  eden space 512K,  70% used [0x44790000, 0x447ea4e8, 
  from space 64K, 100% used [0x44810000, 0x44820000, 
  to   space 64K,   0% used [0x44820000, 0x44820000, 
 tenured generation   total 1408K, used 875K [0x44c70000, 
0x44dd0000, 0x48790000)
   the space 1408K,  62% used [0x44c70000, 0x44d4acb8, 
0x44d4ae00, 0x44dd0000)
 compacting perm gen  total 4096K, used 2103K [0x48790000, 
0x48b90000, 0x4c790000)
   the space 4096K,  51% used [0x48790000, 0x4899df28, 
0x4899e000, 0x48b90000)

Local Time = Tue Apr 13 17:12:39 2004
Elapsed Time = 1
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed 
# An error report file has been saved as hs_err_pid5792.log.
# Please refer to the file for further information.

Can anyone share any light on what's happening?  I'm a little new 
to Java and Linux, but this is weird.



Have a GREAT Day!

Daniel Kunkel
BioWaves, LLC
14150 NE 20th Street, Suite 121
Bellevue, WA  98007
800-734-3588    425-895-0050

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message