ant-user mailing list archives

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

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 Execute.java:

   /**
     * 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 
available.
     * @return the process started
     * @throws IOException forwarded from the particular launcher 
used
     *
     * @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
Function=memset+0x48
Library=/lib/i686/libc.so.6

Current Java thread:
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at 
java.lang.UNIXProcess.access$900(UNIXProcess.java:20)
	at java.lang.UNIXProcess$2.run(UNIXProcess.java:108)

Dynamic libraries:
08048000-0804e000 r-xp 00000000 09:02 1655427    
/usr/local/j2sdk1.4.2_04/bin/java

...

4cd88000-4d264000 r--s 00000000 09:02 8766089    
/usr/local/j2sdk1.4.2_04/lib/tools.jar

Heap at VM Abort:
Heap
 def new generation   total 576K, used 425K [0x44790000, 
0x44830000, 0x44c70000)
  eden space 512K,  70% used [0x44790000, 0x447ea4e8, 
0x44810000)
  from space 64K, 100% used [0x44810000, 0x44820000, 
0x44820000)
  to   space 64K,   0% used [0x44820000, 0x44820000, 
0x44830000)
 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 
mode)
#
# 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.

Thanks

Daniel

*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-
Have a GREAT Day!

Daniel Kunkel		DanielKunkel@BioWaves.com
BioWaves, LLC
14150 NE 20th Street, Suite 121
Bellevue, WA  98007
800-734-3588    425-895-0050
http://www.BioWaves.com
*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message