hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Burlison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12720) Misuse of sun.misc.Unsafe by org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo causes misaligned memory access coredumps
Date Mon, 18 Jan 2016 16:14:39 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Burlison updated HADOOP-12720:
-----------------------------------
    Description: 
Core dump details below:

{noformat}
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.85-b07 mixed mode solaris-sparc compressed
oops)
# Problematic frame:
# J 86 C2 org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I
(273 bytes) @ 0xffffffff6fc9b150 [0xffffffff6fc9b0e0+0x70]

Stack: [0xffffffff7e200000,0xffffffff7e300000],  sp=0xffffffff7e2fce50,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 86 C2 org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I
(273 bytes) @ 0xffffffff6fc9b150 [0xffffffff6fc9b0e0+0x70]
j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(Ljava/lang/Object;IILjava/lang/Object;II)I+16
j  org.apache.hadoop.io.FastByteComparisons.compareTo([BII[BII)I+11
j  org.apache.hadoop.io.WritableComparator.compareBytes([BII[BII)I+8
j  org.apache.hadoop.io.Text$Comparator.compare([BII[BII)I+39
j  org.apache.hadoop.io.TestText.testCompare()V+167
v  ~StubRoutines::call_stub
{noformat}

{noformat}
# Problematic frame:
# V  [libjvm.so+0xc7fa40]  Unsafe_GetLong+0x158

Stack: [0xffffffff7e200000,0xffffffff7e300000],  sp=0xffffffff7e2fc9b0,  free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xc7fa40]  Unsafe_GetLong+0x158
j  sun.misc.Unsafe.getLong(Ljava/lang/Object;J)J+-292148
j  sun.misc.Unsafe.getLong(Ljava/lang/Object;J)J+0
j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I+91
j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(Ljava/lang/Object;IILjava/lang/Object;II)I+16
j  org.apache.hadoop.io.FastByteComparisons.compareTo([BII[BII)I+11
j  org.apache.hadoop.io.WritableComparator.compareBytes([BII[BII)I+8
j  org.apache.hadoop.mapred.gridmix.GridmixRecord$Comparator.compare([BII[BII)I+61
j  org.apache.hadoop.mapred.gridmix.TestGridmixRecord.binSortTest(Lorg/apache/hadoop/mapred/gridmix/GridmixRecord;Lorg/apache/hadoop/mapred/gridmix/GridmixRecord;IILorg/apache/hadoop/io/WritableComparator;)V+280
j  org.apache.hadoop.mapred.gridmix.TestGridmixRecord.testBaseRecord()V+57
v  ~StubRoutines::call_stub
{noformat}


  was:
Core dump details below:

{noformat}
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.85-b07 mixed mode solaris-sparc compressed
oops)
# Problematic frame:
# J 86 C2 org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I
(273 bytes) @ 0xffffffff6fc9b150 [0xffffffff6fc9b0e0+0x70]

Stack: [0xffffffff7e200000,0xffffffff7e300000],  sp=0xffffffff7e2fce50,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 86 C2 org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I
(273 bytes) @ 0xffffffff6fc9b150 [0xffffffff6fc9b0e0+0x70]
j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(Ljava/lang/Object;IILjava/lang/Object;II)I+16
j  org.apache.hadoop.io.FastByteComparisons.compareTo([BII[BII)I+11
j  org.apache.hadoop.io.WritableComparator.compareBytes([BII[BII)I+8
j  org.apache.hadoop.io.Text$Comparator.compare([BII[BII)I+39
j  org.apache.hadoop.io.TestText.testCompare()V+167
v  ~StubRoutines::call_stub
{noformat}

{noformat}
# Problematic frame:
# V  [libjvm.so+0xc7fa40]  Unsafe_GetLong+0x158


{noformat}



> Misuse of sun.misc.Unsafe by org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo
causes misaligned memory access coredumps
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12720
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12720
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: io
>    Affects Versions: 2.7.1
>         Environment: Solaeis SPARC
>            Reporter: Alan Burlison
>
> Core dump details below:
> {noformat}
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.85-b07 mixed mode solaris-sparc compressed
oops)
> # Problematic frame:
> # J 86 C2 org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I
(273 bytes) @ 0xffffffff6fc9b150 [0xffffffff6fc9b0e0+0x70]
> Stack: [0xffffffff7e200000,0xffffffff7e300000],  sp=0xffffffff7e2fce50,  free space=1011k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> J 86 C2 org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I
(273 bytes) @ 0xffffffff6fc9b150 [0xffffffff6fc9b0e0+0x70]
> j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(Ljava/lang/Object;IILjava/lang/Object;II)I+16
> j  org.apache.hadoop.io.FastByteComparisons.compareTo([BII[BII)I+11
> j  org.apache.hadoop.io.WritableComparator.compareBytes([BII[BII)I+8
> j  org.apache.hadoop.io.Text$Comparator.compare([BII[BII)I+39
> j  org.apache.hadoop.io.TestText.testCompare()V+167
> v  ~StubRoutines::call_stub
> {noformat}
> {noformat}
> # Problematic frame:
> # V  [libjvm.so+0xc7fa40]  Unsafe_GetLong+0x158
> Stack: [0xffffffff7e200000,0xffffffff7e300000],  sp=0xffffffff7e2fc9b0,  free space=1010k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> V  [libjvm.so+0xc7fa40]  Unsafe_GetLong+0x158
> j  sun.misc.Unsafe.getLong(Ljava/lang/Object;J)J+-292148
> j  sun.misc.Unsafe.getLong(Ljava/lang/Object;J)J+0
> j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo([BII[BII)I+91
> j  org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(Ljava/lang/Object;IILjava/lang/Object;II)I+16
> j  org.apache.hadoop.io.FastByteComparisons.compareTo([BII[BII)I+11
> j  org.apache.hadoop.io.WritableComparator.compareBytes([BII[BII)I+8
> j  org.apache.hadoop.mapred.gridmix.GridmixRecord$Comparator.compare([BII[BII)I+61
> j  org.apache.hadoop.mapred.gridmix.TestGridmixRecord.binSortTest(Lorg/apache/hadoop/mapred/gridmix/GridmixRecord;Lorg/apache/hadoop/mapred/gridmix/GridmixRecord;IILorg/apache/hadoop/io/WritableComparator;)V+280
> j  org.apache.hadoop.mapred.gridmix.TestGridmixRecord.testBaseRecord()V+57
> v  ~StubRoutines::call_stub
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message