harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject java -version crash on Ubuntu 9.10 with IBM VME
Date Mon, 04 Jan 2010 02:59:34 GMT
Hi,

I upgraded my workstation from Ubuntu 8.04 to 9.10, and I got crash when running 
java -version with IBM VME, drlvm works well, [1] is stack trace.

It crashed in zlib, and if I changed zlib optimization level from -O3 to -O2, 
the crash never happened, so it seems some gcc aggressive optimizations can't 
work with VME and cause the crash. So shall we change the default zlib 
optimization level to -O2 to make it work with this popular distrubition?

$ gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[1]

Thread: main (priority 5) (LOCATION OF ERROR)
  000000a7 java/util/zip/Inflater.inflateImpl([BIIJ)I  (@003D723B)
  00000053 java/util/zip/Inflater.inflate([BII)I
  0000007a java/util/zip/InflaterInputStream.read([BII)I
  00000004 java/util/zip/ZipFile$ZipInflaterInputStream.read([BII)I
  00000005 java/io/FilterInputStream.read([B)I
  0000004b 
org/apache/harmony/luni/util/InputStreamHelper.readFullyAndClose(Ljava/io/InputStream;)[B
  0000007a java/util/jar/JarFile.readMetaEntries()V
  0000001f java/util/jar/JarFile.<init>(Ljava/io/File;ZI)V
  0000002b 
org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnectionImpl.openJarFile()Ljava/util/jar/JarFile;
  00000030 
org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnectionImpl.findJarFile()V
  00000008 
org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnectionImpl.connect()V
  00000001 
org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnectionImpl.getJarFile()Ljava/util/jar/JarFile;
  0000006e 
java/net/URLClassLoader.createURLJarHandler(Ljava/net/URL;)Ljava/net/URLClassLoader$URLHandler;
  00000040 java/net/URLClassLoader.makeNewHandler()V
  00000018 java/net/URLClassLoader.getHandler(I)Ljava/net/URLClassLoader$URLHandler;
  00000045 
java/net/URLClassLoader.findClassImpl(Ljava/lang/String;)Ljava/lang/Class;
  00000008 java/net/URLClassLoader$4.run()Ljava/lang/Class;
  00000001 java/net/URLClassLoader$4.run()Ljava/lang/Object;
  00000003 
java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
  0000000d java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
  00000002 
com/ibm/oti/vm/URLSystemClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
  0000006a java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
  00000041 
com/ibm/oti/vm/URLSystemClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
  00000022 java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
  00000041 
com/ibm/oti/vm/URLSystemClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
  00000003 java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;


-- 
Best Regards,
Regis.

Mime
View raw message