hg: hsx/hotspot-rt/hotspot: 8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace

daniel.daugherty at oracle.com daniel.daugherty at oracle.com
Thu Jul 4 23:43:49 PDT 2013


Changeset: 59b052799158
Author:    dcubed
Date:      2013-07-04 21:10 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/59b052799158

8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Summary: Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp

! src/os/bsd/vm/os_bsd.cpp
! src/os/linux/vm/os_linux.cpp
! src/os/solaris/vm/os_solaris.cpp
! src/os/windows/vm/os_windows.cpp
! src/os/windows/vm/os_windows.hpp
! src/os/windows/vm/os_windows.inline.hpp
! src/share/vm/prims/jni.cpp
! src/share/vm/runtime/os.hpp
! src/share/vm/utilities/debug.cpp
! src/share/vm/utilities/debug.hpp
! test/runtime/6888954/vmerrors.sh



More information about the serviceability-dev mailing list