SIGABORT on linux-sparc
Sébastien Bernard
seb at frankengul.org
Tue Apr 8 06:07:34 PDT 2008
Dennis Gilmore a écrit :
> On Tuesday 08 April 2008, Sébastien Bernard wrote:
>
>> Gary Benson a écrit :
>>
>>> Bernard Sébastien wrote:
>>>
>>>> 2nd: the sparc32 build goes all the way but any run led to a
>>>> SIGABORT. As show at the end.
>>>>
>>>> I'm putting the hs_err_pid1983.log in attachment produced by the
>>>> latest build of the jdk.
>>>>
>>> Ah, the code that produces the hs_err_pid*.log files calls abort(),
>>> so the SIGABORT is possibly a side-effect of that.
>>>
>>>
>>>> # Internal Error (os_linux_zero.cpp:144), pid=1983, tid=1887509392
>>>> # Error: caught unhandled signal 10
>>>>
>>> Is signal 10 USR1 on your machine?
>>>
>> No, signal 10 is SIGBUS.
>>
>
> Which means that memory access in not aligned
>
> Dennis
>
Hum, that is a plague on the sparc.
Caught from a ./java -version, here is the stack trace :
#0 0xf7d3f5ac in raise () from /lib/libc.so.6
#1 0xf7d410b8 in abort () from /lib/libc.so.6
#2 0xf7bd775c in os::abort (dump_core=true) at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:1473
#3 0xf7c77dd8 in VMError::report_and_die (this=0xf781c000)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/utilities/vmError.cpp:834
#4 0xf7a97340 in report_fatal (
file_name=0xf7caf010
"/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp",
line_no=144, message=0xf781c0a0 "caught unhandled signal 10")
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/utilities/debug.cpp:179
#5 0xf7bdae10 in JVM_handle_linux_signal (sig=10, info=0xf781c150,
ucVoid=0xf781c1d0, abort_if_unrecognized=1)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp:144
#6 <signal handler called>
#7 0xf7a96a9c in CppInterpreter::native_entry (method=0xf1645128,
__the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:356
#8 0xf7a96cac in CppInterpreter::normal_entry (method=0xf1645128,
__the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:89
#9 0xf7a96cac in CppInterpreter::normal_entry (method=0xf789aa5c,
__the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:89
#10 0xf7c2fdcc in StubGenerator::call_stub (call_wrapper=0xf789ab8c,
result=0xf789adb0, result_type=T_INT,
method=0xf16447b0, entry_point=0xf7a96b6c "\235�\220�\026 (/",
parameters=<value optimized out>, parameter_words=0,
__the_thread__=0x2ecb0) at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp:69
#11 0xf7af000c in JavaCalls::call_helper (result=0xf789ada8, m=<value
optimized out>, args=0xf789ad1c,
__the_thread__=0x2ecb0) at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/runtime/javaCalls.cpp:388
#12 0xf7bd3318 in os::os_exception_wrapper (
f=0xf7aefdc0 <JavaCalls::call_helper(JavaValue*, methodHandle*,
JavaCallArguments*, Thread*)>, value=0xf789ada8,
method=0xf789ad14, args=0xf789ad1c, thread=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:3798
#13 0xf7aef2a0 in JavaCalls::call (result=0xf789ada8, args=0xf789ad1c,
__the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/runtime/javaCalls.cpp:298
#14 0xf7ad713c in instanceKlass::call_class_initializer_impl (this_oop=
{<KlassHandle> = {<Handle> = {_handle = 0x1}, <No data fields>}, <No
data fields>}, __the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/oops/instanceKlass.cpp:626
#15 0xf7ad719c in instanceKlass::call_class_initializer (this=<value
optimized out>, __the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/oops/instanceKlass.cpp:606
#16 0xf7ad9304 in instanceKlass::initialize_impl (this_oop=
{<KlassHandle> = {<Handle> = {_handle = 0x2f490}, <No data fields>}, <No
data fields>}, __the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/oops/instanceKlass.cpp:356
#17 0xf7ad97cc in instanceKlass::initialize (this=<value optimized out>,
__the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/oops/instanceKlass.cpp:98
#18 0xf7c44994 in initialize_class (class_name={<Handle> = {_handle =
0xf789b0f4}, <No data fields>}, __the_thread__=0x2ecb0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/runtime/thread.cpp:832
#19 0xf7c49d0c in Threads::create_vm (args=<value optimized out>,
canTryAgain=<value optimized out>)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/runtime/thread.cpp:2930
#20 0xf7af9538 in JNI_CreateJavaVM (vm=0xf789b2f4, penv=0xf789b2f0,
args=0x0)
at
/home/seb/dev/icedtea6/openjdk-ecj/hotspot/src/share/vm/prims/jni.cpp:3260
#21 0x000125f8 in JavaMain (_args=<value optimized out>) at
../../../../src/share/bin/java.c:1255
#22 0xf7eaebfc in start_thread () from /lib/libpthread.so.0
#23 0xf7def6dc in __thread_start () from /lib/libc.so.6
#24 0xf7def6dc in __thread_start () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
More information about the distro-pkg-dev
mailing list