shark + assertions + llvm2.6
Xerxes RĂ„nby
xerxes at zafena.se
Tue Apr 14 05:03:25 PDT 2009
Hi Gary!
I tested building a debuggable shark with assertions enabled using the
current llvm 2.6 svn trunk on X86.
I have one assertion that fails when running trivial stuff like java
-version
I wanted to know your opinion if this IA32_ONLY assertion in
/openjdk-ecj/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp:424
are valid for shark or should i simply ignore it?
Cheers
Xerxes
================================================= assertion block around
bytecodeInterpreter.cpp:424
#ifdef ASSERT
if (istate->_msg != initialize) {
assert(abs(istate->_stack_base - istate->_stack_limit) ==
(istate->_method->max_stack() + 1), "bad stack limit");
IA32_ONLY(assert(istate->_stack_limit ==
istate->_thread->last_Java_sp() + 1, "wrong"));
}
// Verify linkages.
interpreterState l = istate;
do {
assert(l == l->_self_link, "bad link");
l = l->_prev_link;
} while (l != NULL);
// Screwups with stack management usually cause us to overwrite istate
// save a copy so we can verify it.
interpreterState orig = istate;
#endif
================================================================== error
java -version
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/bytecodeInterpreter.cpp:424
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error
(/home/xerxes/icedtea6/openjdk-ecj/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp:424),
pid=15040, tid=1093299088
# Error: assert(istate->_stack_limit == istate->_thread->last_Java_sp()
+ 1,"wrong")
#
# JRE version: 6.0-b14
# Java VM: OpenJDK Shark VM (14.0-b10-product mixed mode linux-i386 )
# An error report file with more information is saved as:
# /home/xerxes/icedtea6/hs_err_pid15040.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
Current thread is 1093299088
Dumping core ...
/bin/sh: line 6: 15040 Avbruten (SIGABRT)
bootstrap/jdk1.6.0/bin/java -version
More information about the zero-dev
mailing list