← Back to team overview

openjdk team mailing list archive

[Bug 1710674] [NEW] Segmentation fault in os::write_memory_serialize_page

 

Public bug reported:

uname -a
Linux securecluster 4.9.8-moby #1 SMP Wed Feb 8 09:56:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

I was troubleshooting HBASE-18541 on docker VM.

Here was stack trace provided by gdb:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fb387315dc8 in os::write_memory_serialize_page (thread=0x2af3000) at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/os.hpp:419
419	/build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/os.hpp: No such file or directory.
[Current thread is 1 (Thread 0x7fb387dbe840 (LWP 9221))]
Installing openjdk unwinder
(gdb) bt
#0  0x00007fb387315dc8 in ThreadStateTransition::transition_and_fence(JavaThread*, JavaThreadState, JavaThreadState) (thread=0x2af3000)
    at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/os.hpp:419
#1  0x00007fb387315dc8 in ThreadStateTransition::transition_and_fence(JavaThread*, JavaThreadState, JavaThreadState) (thread=0x2af3000)
    at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/os/linux/vm/interfaceSupport_linux.hpp:31
#2  0x00007fb387315dc8 in ThreadStateTransition::transition_and_fence(JavaThread*, JavaThreadState, JavaThreadState) (thread=thread@entry=0x2af3000, to=_thread_in_native, from=_thread_in_vm) at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/interfaceSupport.hpp:179
#3  0x00007fb38731719f in JVM_FillInStackTrace(JNIEnv*, jobject) (to=_thread_in_native, from=_thread_in_vm, this=<synthetic pointer>)
    at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/interfaceSupport.hpp:232
#4  0x00007fb38731719f in JVM_FillInStackTrace(JNIEnv*, jobject) (this=<synthetic pointer>, __in_chrg=<optimized out>)
    at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/interfaceSupport.hpp:281
#5  0x00007fb38731719f in JVM_FillInStackTrace(JNIEnv*, jobject) (env=<optimized out>, receiver=receiver@entry=0x7ffde93448a0)
    at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/prims/jvm.cpp:516
#6  0x00007fb38395e851 in Java_java_lang_Throwable_fillInStackTrace (env=<optimized out>, throwable=0x7ffde93448a0, dummy=<optimized out>)
    at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/jdk/src/share/native/java/lang/Throwable.c:49
#7  0x00007fb373eb9a28 in [native offset=0xa8] java.lang.Throwable.fillInStackTrace(int) () at java/lang/Throwable.java
#8  0x00007fb3743472a4 in [compiled offset=0x84] java.lang.Throwable.fillInStackTrace() () at java/lang/Throwable.java:781
#9  0x00007fb3743bc914 in [compiled offset=0x194] java.lang.Throwable.<init>() () at java/lang/Throwable.java:249
#10 0x00007fb37421a0d4 in [compiled offset=0x1b4] org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(org.apache.log4j.spi.LoggingEvent) ()
    at org/apache/log4j/helpers/PatternParser.java:500
#11 0x00007fb37417eab4 in [compiled offset=0x114] org.apache.log4j.helpers.PatternConverter.format(java.lang.StringBuffer,org.apache.log4j.spi.LoggingEvent) ()
    at org/apache/log4j/helpers/PatternConverter.java:65
#12 0x00007fb37426315c in [inlined] java.lang.StringBuffer.setLength(int) () at java/lang/StringBuffer.java:193
0x00007fb37426315c in [compiled offset=0x71c] org.apache.log4j.PatternLayout.format(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/PatternLayout.java:503
#13 0x00007fb37454484c in [compiled offset=0x12c] org.apache.log4j.WriterAppender.subAppend(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/WriterAppender.java:310
#14 0x00007fb374538aac in [compiled offset=0x1ec] org.apache.log4j.WriterAppender.append(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/WriterAppender.java:160
#15 0x00007fb37454793c in [compiled offset=0x113c] org.apache.log4j.AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) ()
    at org/apache/log4j/AppenderSkeleton.java:251
#16 0x00007fb374074204 in [compiled offset=0x4c4] org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(org.apache.log4j.spi.LoggingEvent) ()
    at org/apache/log4j/helpers/AppenderAttachableImpl.java:66
#17 0x00007fb3742b5f24 in [compiled offset=0x1e4] org.apache.log4j.Category.callAppenders(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/Category.java:200
#18 0x00007fb374208d5c in [inlined] org.apache.log4j.Category.forcedLog(java.lang.String,org.apache.log4j.Priority,java.lang.Object,java.lang.Throwable) ()
    at org/apache/log4j/Category.java:392
0x00007fb374208d5c in [compiled offset=0x67c] org.apache.log4j.Category.log(java.lang.String,org.apache.log4j.Priority,java.lang.Object,java.lang.Throwable) ()
    at org/apache/log4j/Category.java:858
#19 0x00007fb37454b374 in [compiled offset=0x154] org.apache.commons.logging.impl.Log4JLogger.info(java.lang.Object) () at org/apache/commons/logging/impl/Log4JLogger.java:177
#20 0x00007fb373cee042 in [interpreted: bc = 50] org.apache.hadoop.hbase.regionserver.HRegionServer.stop(java.lang.String) ()
    at org/apache/hadoop/hbase/regionserver/HRegionServer.java:1925

** Affects: openjdk-8 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Segmentation fault in os::write_memory_serialize_page

Status in openjdk-8 package in Ubuntu:
  New

Bug description:
  uname -a
  Linux securecluster 4.9.8-moby #1 SMP Wed Feb 8 09:56:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  I was troubleshooting HBASE-18541 on docker VM.

  Here was stack trace provided by gdb:

  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00007fb387315dc8 in os::write_memory_serialize_page (thread=0x2af3000) at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/os.hpp:419
  419	/build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/os.hpp: No such file or directory.
  [Current thread is 1 (Thread 0x7fb387dbe840 (LWP 9221))]
  Installing openjdk unwinder
  (gdb) bt
  #0  0x00007fb387315dc8 in ThreadStateTransition::transition_and_fence(JavaThread*, JavaThreadState, JavaThreadState) (thread=0x2af3000)
      at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/os.hpp:419
  #1  0x00007fb387315dc8 in ThreadStateTransition::transition_and_fence(JavaThread*, JavaThreadState, JavaThreadState) (thread=0x2af3000)
      at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/os/linux/vm/interfaceSupport_linux.hpp:31
  #2  0x00007fb387315dc8 in ThreadStateTransition::transition_and_fence(JavaThread*, JavaThreadState, JavaThreadState) (thread=thread@entry=0x2af3000, to=_thread_in_native, from=_thread_in_vm) at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/interfaceSupport.hpp:179
  #3  0x00007fb38731719f in JVM_FillInStackTrace(JNIEnv*, jobject) (to=_thread_in_native, from=_thread_in_vm, this=<synthetic pointer>)
      at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/interfaceSupport.hpp:232
  #4  0x00007fb38731719f in JVM_FillInStackTrace(JNIEnv*, jobject) (this=<synthetic pointer>, __in_chrg=<optimized out>)
      at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/runtime/interfaceSupport.hpp:281
  #5  0x00007fb38731719f in JVM_FillInStackTrace(JNIEnv*, jobject) (env=<optimized out>, receiver=receiver@entry=0x7ffde93448a0)
      at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/hotspot/src/share/vm/prims/jvm.cpp:516
  #6  0x00007fb38395e851 in Java_java_lang_Throwable_fillInStackTrace (env=<optimized out>, throwable=0x7ffde93448a0, dummy=<optimized out>)
      at /build/openjdk-8-pZyJp3/openjdk-8-8u131-b11/src/jdk/src/share/native/java/lang/Throwable.c:49
  #7  0x00007fb373eb9a28 in [native offset=0xa8] java.lang.Throwable.fillInStackTrace(int) () at java/lang/Throwable.java
  #8  0x00007fb3743472a4 in [compiled offset=0x84] java.lang.Throwable.fillInStackTrace() () at java/lang/Throwable.java:781
  #9  0x00007fb3743bc914 in [compiled offset=0x194] java.lang.Throwable.<init>() () at java/lang/Throwable.java:249
  #10 0x00007fb37421a0d4 in [compiled offset=0x1b4] org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(org.apache.log4j.spi.LoggingEvent) ()
      at org/apache/log4j/helpers/PatternParser.java:500
  #11 0x00007fb37417eab4 in [compiled offset=0x114] org.apache.log4j.helpers.PatternConverter.format(java.lang.StringBuffer,org.apache.log4j.spi.LoggingEvent) ()
      at org/apache/log4j/helpers/PatternConverter.java:65
  #12 0x00007fb37426315c in [inlined] java.lang.StringBuffer.setLength(int) () at java/lang/StringBuffer.java:193
  0x00007fb37426315c in [compiled offset=0x71c] org.apache.log4j.PatternLayout.format(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/PatternLayout.java:503
  #13 0x00007fb37454484c in [compiled offset=0x12c] org.apache.log4j.WriterAppender.subAppend(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/WriterAppender.java:310
  #14 0x00007fb374538aac in [compiled offset=0x1ec] org.apache.log4j.WriterAppender.append(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/WriterAppender.java:160
  #15 0x00007fb37454793c in [compiled offset=0x113c] org.apache.log4j.AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) ()
      at org/apache/log4j/AppenderSkeleton.java:251
  #16 0x00007fb374074204 in [compiled offset=0x4c4] org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(org.apache.log4j.spi.LoggingEvent) ()
      at org/apache/log4j/helpers/AppenderAttachableImpl.java:66
  #17 0x00007fb3742b5f24 in [compiled offset=0x1e4] org.apache.log4j.Category.callAppenders(org.apache.log4j.spi.LoggingEvent) () at org/apache/log4j/Category.java:200
  #18 0x00007fb374208d5c in [inlined] org.apache.log4j.Category.forcedLog(java.lang.String,org.apache.log4j.Priority,java.lang.Object,java.lang.Throwable) ()
      at org/apache/log4j/Category.java:392
  0x00007fb374208d5c in [compiled offset=0x67c] org.apache.log4j.Category.log(java.lang.String,org.apache.log4j.Priority,java.lang.Object,java.lang.Throwable) ()
      at org/apache/log4j/Category.java:858
  #19 0x00007fb37454b374 in [compiled offset=0x154] org.apache.commons.logging.impl.Log4JLogger.info(java.lang.Object) () at org/apache/commons/logging/impl/Log4JLogger.java:177
  #20 0x00007fb373cee042 in [interpreted: bc = 50] org.apache.hadoop.hbase.regionserver.HRegionServer.stop(java.lang.String) ()
      at org/apache/hadoop/hbase/regionserver/HRegionServer.java:1925

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


Follow ups