[Bug 1233] java.net.Inet4AddressImpl.getLocalHostName() causes SIGBUS error

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Nov 27 21:46:27 PST 2012


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1233

--- Comment #4 from sato <yoshiki at sendme.email.ne.jp> ---
(In reply to comment #2)
> I don't know of any IcedTea maintainers who have sparc systems so you'll
> have to do some investigating.  I suggest you run this program in GDB and
> get a backtrace from there.

I've got a backtrace from a crashing JVM.  Any further suggestions?  


(gdb) cont
Continuing.

Program received signal SIGBUS, Bus error.
[Switching to Thread 0xfffff801001e1950 (LWP 16980)]
0xffffffff117bc7f8 in internal_getent () from /lib64/libnss_files.so.2
(gdb) bt
#0  0xffffffff117bc7f8 in internal_getent () from /lib64/libnss_files.so.2
#1  0xffffffff117bcd1c in _nss_files_gethostbyaddr_r () from
/lib64/libnss_files.so.2
#2  0xffffffff005b1878 in gethostbyaddr_r@@GLIBC_2.2 () from /lib64/libc.so.6
#3  0xffffffff119f99f8 in Java_java_net_Inet4AddressImpl_getLocalHostName
(env=0x214040, this=0xfffff801001dfd18)
    at ../../../src/solaris/native/java/net/Inet4AddressImpl.c:95
#4  0xffffffff011c55b4 in ffi_call_v9 () at src/sparc/v9.S:83
#5  0xffffffff011c4a28 in ffi_call (cif=0xfffff801001f9570,
fn=0xffffffff119f9940 <Java_java_net_Inet4AddressImpl_getLocalHostName>, 
    rvalue=0xfffff80100127bd8, avalue=0xfffff801001dfc70) at
src/sparc/ffi.c:405
#6  0xffffffff008e82d0 in CppInterpreter::native_entry
(method=0xfffff801001dfd10, UNUSED=17632, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:323
#7  0xffffffff008e7c6c in invoke (recurse=<value optimized out>,
__the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/entry_zero.hpp:59
#8  invoke_method (recurse=<value optimized out>, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:31
#9  CppInterpreter::main_loop (recurse=<value optimized out>,
__the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:120
#10 0xffffffff008e8894 in CppInterpreter::normal_entry
(method=0xfffff8012250f760, UNUSED=-8791796022880, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:73
#11 0xffffffff008e7c6c in invoke (recurse=<value optimized out>,
__the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/entry_zero.hpp:59
#12 invoke_method (recurse=<value optimized out>, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:31
#13 CppInterpreter::main_loop (recurse=<value optimized out>,
__the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:120
#14 0xffffffff008e8894 in CppInterpreter::normal_entry
(method=0xfffff80122508a40, UNUSED=-8791796022880, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:73
#15 0xffffffff00b970e0 in invoke (call_wrapper=0xfffff801001dffb0,
result=0xfffff801001e0440, result_type=T_INT, method=0xfffff80122508a40, 
    entry_point=0xfffff801001f01a0 "\377\377\377\377",
parameters=0xfffff801001e0268, parameter_words=1, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/entry_zero.hpp:59
#16 invoke_method (call_wrapper=0xfffff801001dffb0, result=0xfffff801001e0440,
result_type=T_INT, method=0xfffff80122508a40, 
    entry_point=0xfffff801001f01a0 "\377\377\377\377",
parameters=0xfffff801001e0268, parameter_words=1, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:31
#17 StubGenerator::call_stub (call_wrapper=0xfffff801001dffb0,
result=0xfffff801001e0440, result_type=T_INT, method=0xfffff80122508a40, 
    entry_point=0xfffff801001f01a0 "\377\377\377\377",
parameters=0xfffff801001e0268, parameter_words=1, __the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp:89
#18 0xffffffff009a8a94 in JavaCalls::call_helper (result=<value optimized out>,
m=<value optimized out>, args=0xfffff801001e0260, 
    __the_thread__=0x213e70) at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/share/vm/runtime/javaCalls.cpp:412
#19 0xffffffff00b1de58 in os::os_exception_wrapper (
    f=0xffffffff009a88a0 <JavaCalls::call_helper(JavaValue*, methodHandle*,
JavaCallArguments*, Thread*)>, value=0xfffff801001e0438, 
    method=0xfffff801001e0238, args=0xfffff801001e0260, thread=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/os/linux/vm/os_linux.cpp:4360
#20 0xffffffff009a7934 in JavaCalls::call (result=0xfffff801001e0438,
method=<value optimized out>, args=0xfffff801001e0260, 
    __the_thread__=0x213e70) at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/share/vm/runtime/javaCalls.cpp:317
#21 0xffffffff009bb5ec in jni_invoke_static (env=0x214040,
result=0xfffff801001e0438, receiver=0x0, call_type=<value optimized out>, 
    method_id=<value optimized out>, args=0xfffff801001e03e8,
__the_thread__=0x213e70)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/share/vm/prims/jni.cpp:1081
#22 0xffffffff009d2590 in jni_CallStaticVoidMethod (env=0x214040, cls=0x215fa8,
methodID=0x2c7e50)
    at
/home/c83001/icedtea/icedtea6-1.11.5/openjdk/hotspot/src/share/vm/prims/jni.cpp:1653
#23 0x000000000010383c in JavaMain (_args=<value optimized out>) at
../../../../src/share/bin/java.c:587
#24 0xffffffff00150478 in start_thread () from /lib64/libpthread.so.0
#25 0xffffffff005999bc in __thread_start () from /lib64/libc.so.6
#26 0xffffffff005999bc in __thread_start () from /lib64/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121128/cc3047ff/attachment.html 


More information about the distro-pkg-dev mailing list