[Bug 481] New: Shark assert(pc == __null, "should be") / Sigsegv bombs without assertions - Deoptimizer issue
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Mon May 3 01:03:44 PDT 2010
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=481
Summary: Shark assert(pc == __null,"should be") / Sigsegv bombs
without assertions - Deoptimizer issue
Product: IcedTea
Version: 6-hg
Platform: all
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Shark
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: xerxes at zafena.se
Testcase:
cd openjdk/jdk/test/com/sun/media/sound/SoftReceiver
javac Send_NoteOn_AllChannels.java
java -Xcomp Send_NoteOn_AllChannels
Result with enabled assertions:
with extra jvm option: -XX:+SharkTraceInstalls -XX:+TraceDeoptimization
...
[0x57ec60-0x57ed11): sun.net.www.protocol.jar.JarURLConnection::<clinit> (177
bytes code)
Uncommon trap occurred in sun.net.www.protocol.jar.JarURLConnection::<clinit>
(@0x0172cb10) thread=-1216132240 reason=unloaded action=reinterpret
unloaded_class_index=27 unresolved class:
sun/net/www/protocol/jar/JarFileFactory
DEOPT PACKING thread 0x0985beb0 Compiled frame (sp=0xb7833ab8 unextended
sp=0xb7833a9c, fp=0xb7833aa4, pc=0x0172cb10)
305 nmethod sun.net.www.protocol.jar.JarURLConnection::<clinit> (11
bytes)
Virtual frames (innermost first):
0 - frame( sp=0xb7833ab8, unextended_sp=0xb7833a9c, fp=0xb7833aa4,
pc=0x0172cb10)
sun.net.www.protocol.jar.JarURLConnection.<clinit>(JarURLConnection.java:54) -
new @ bci 0
Created vframeArray 0x92e2af50
DEOPT UNPACKING thread 0x0985beb0 vframeArray 0x92e2af50 mode 2
{method} '<clinit>' '()V' in 'sun/net/www/protocol/jar/JarURLConnection' -
new @ bci 0 sp = 0xb7833ab8
[0x57ed70-0x57ee21): sun.net.www.protocol.jar.JarFileFactory::<clinit> (177
bytes code)
Uncommon trap occurred in sun.net.www.protocol.jar.JarFileFactory::<clinit>
(@0x0172c9d0) thread=-1216132240 reason=unloaded action=reinterpret
unloaded_class_index=13 unresolved class: java/util/HashMap
DEOPT PACKING thread 0x0985beb0 Compiled frame (sp=0xb7833a54 unextended
sp=0xb7833a38, fp=0xb7833a40, pc=0x0172c9d0)
306 nmethod sun.net.www.protocol.jar.JarFileFactory::<clinit> (21 bytes)
Virtual frames (innermost first):
0 - frame( sp=0xb7833a54, unextended_sp=0xb7833a38, fp=0xb7833a40,
pc=0x0172c9d0)
sun.net.www.protocol.jar.JarFileFactory.<clinit>(JarFileFactory.java:44) - new
@ bci 0
Created vframeArray 0x92e3f5d0
DEOPT UNPACKING thread 0x0985beb0 vframeArray 0x92e3f5d0 mode 2
{method} '<clinit>' '()V' in 'sun/net/www/protocol/jar/JarFileFactory' -
new @ bci 0 sp = 0xb7833a54
[0x57ee80-0x57ef79): sun.net.www.protocol.jar.JarFileFactory::<init> (249
bytes code)
[0x57efd0-0x57f240): sun.net.www.protocol.jar.JarURLConnection::<init> (624
bytes code)
[0x57f2a0-0x57f55a): java.net.JarURLConnection::parseSpecs (698 bytes code)
Uncommon trap occurred in java.net.JarURLConnection::parseSpecs (@0x0172c561)
thread=-1216132240 reason=unloaded action=reinterpret unloaded_class_index=28
unresolved class: java/net/URL
DEOPT PACKING thread 0x0985beb0 Compiled frame (sp=0xb7833a44 unextended
sp=0xb7833a18, fp=0xb7833a2c, pc=0x0172c561)
309 nmethod java.net.JarURLConnection::parseSpecs (102 bytes)
Virtual frames (innermost first):
0 - frame( sp=0xb7833a44, unextended_sp=0xb7833a18, fp=0xb7833a2c,
pc=0x0172c561)
java.net.JarURLConnection.parseSpecs(JarURLConnection.java:179) - new @ bci 42
Created vframeArray 0x92e2af50
DEOPT UNPACKING thread 0x0985beb0 vframeArray 0x92e2af50 mode 2
{method} 'parseSpecs' '(Ljava/net/URL;)V' in 'java/net/JarURLConnection' -
new @ bci 42 sp = 0xb7833a44
[0x57f5b0-0x57f6c2): java.net.URL::<init> (274 bytes code)
[0x57f720-0x57fcf3): java.net.URL::isValidProtocol (1491 bytes code)
[0x57fd50-0x57fe9c): java.lang.Character::isLetter (332 bytes code)
[0x57fef0-0x58001a): java.lang.CharacterDataLatin1::getType (298 bytes code)
[0x580070-0x5801bc): java.lang.Character::isLetterOrDigit (332 bytes code)
[0x580210-0x580b30): sun.net.www.protocol.jar.JarURLConnection::connect (2336
bytes code)
[0x580b90-0x580cb6): java.net.URLConnection::getUseCaches (294 bytes code)
[0x580d10-0x58111e): sun.net.www.protocol.jar.JarFileFactory::getCachedJarFile
(1038 bytes code)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/frame_zero.cpp:85
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error
(/home/xerxes/icedtea6-1.8-shark/openjdk-ecj/hotspot/src/cpu/zero/vm/frame_zero.cpp:85),
pid=11530, tid=2471279472
# Error: assert(pc == __null,"should be")
Result without assertions:
With extra jvm option:-XX:+SharkTraceInstalls
...
[0x77f7c0-0x7800c2): sun.net.www.protocol.jar.JarURLConnection::connect (2306
bytes code)
[0x780120-0x78023d): java.net.URLConnection::getUseCaches (285 bytes code)
[0x7802a0-0x7806a2): sun.net.www.protocol.jar.JarFileFactory::getCachedJarFile
(1026 bytes code)
[0x780700-0x78081e): sun.net.www.protocol.jar.URLJarFile::<clinit> (286 bytes
code)
[0x780880-0x780a65): sun.net.www.protocol.jar.URLJarFile::getJarFile (485
bytes code)
[0x780ac0-0x780d12): sun.net.www.protocol.jar.URLJarFile::<init> (594 bytes
code)
[0x780d70-0x780ef9): java.util.zip.ZipFile::ensureOpen (393 bytes code)
[0x780f50-0x781100): java.util.zip.ZipFile::getEntry (432 bytes code)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (os_linux_zero.cpp:236), pid=2998, tid=3078462320
# Error: caught unhandled signal 11
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the distro-pkg-dev
mailing list