SIGSEGV in __nss_hosts_lookup crashing OpenJDK when Java reads updated jar files

Bug #1040827 reported by Markus Kilås
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

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

Revision history for this message
Markus Kilås (markuskilas) wrote :
Revision history for this message
Markus Kilås (markuskilas) wrote :
Revision history for this message
Markus Kilås (markuskilas) wrote :

Notice that this is not only related to NetBeans IDE but also affects other applications that reads JAR files such as JBoss application server when doing an hot redeploy of an Java EE application.

summary: - SIGSEGV in __nss_hosts_lookup crashing OpenJDK when running NetBeans IDE
- from times to time
+ SIGSEGV in __nss_hosts_lookup crashing OpenJDK when Java reads updated
+ jar files
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
boecko (andy-boeckler) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.