← Back to team overview

openjdk team mailing list archive

[Bug 1040827] Re: SIGSEGV in __nss_hosts_lookup crashing OpenJDK when Java reads updated jar files

 

this has nothing todo with __nss_hosts_lookup

I had the same message with another JAVA-progrom
After installing libc6-dbg and examing the coredump, you'll see the real libc6-function

$ gdb $JAVA_HOME/bin/java core
#0  0x00007f22481e11e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f22481e4398 in __GI_abort () at abort.c:90
#2  0x00007f2247bcb865 in os::abort(bool) () from /media/vg0-work/java/jdk1.7.0_21/jre/lib/amd64/server/libjvm.so
#3  0x00007f2247d2bb77 in VMError::report_and_die() () from /media/vg0-work/java/jdk1.7.0_21/jre/lib/amd64/server/libjvm.so
#4  0x00007f2247bcf370 in JVM_handle_linux_signal () from /media/vg0-work/java/jdk1.7.0_21/jre/lib/amd64/server/libjvm.so
#5  <signal handler called>
#6  __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2513
#7  0x00007f22479fc6c5 in jni_SetByteArrayRegion () from /media/vg0-work/java/jdk1.7.0_21/jre/lib/amd64/server/libjvm.so

So the SIGSEGV signal is coming from __memmove_ssse3

Note: i've tried openjdk-6, openjdk-7 and jdk1.7.0_21. Getting the same
errror everytime.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1040827

Title:
  SIGSEGV in __nss_hosts_lookup crashing OpenJDK when Java reads updated
  jar files

Status in “openjdk-6” package in Ubuntu:
  Confirmed

Bug description:
  1) Ubuntu 12.04.1 LTS
  2) openjdk-6-jre 6b24-1.11.3-1ubuntu0.12.04.1
  openjdk-6-jdk 6b24-1.11.3-1ubuntu0.12.04.1
  3) The Java application NetBeans IDE to not crash from times to time
  4) The application crashes with a segmentation fault maybe two times per working day

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1040827/+subscriptions


References