-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
None
-
None
This issue exists solely for documentary purposes of an Oracle/OpenJDK JVM bug Confluence's code (i.e. View File Macro) might be able to provoke. Causing this bug will lead to a JVM crash originating in the [libpthread.so.0+0xe242] sem_post+0x12 frame.
The issue will be fixed in an upcoming Java release. See below for details.
Requests to the PPTSlideServlet (View File Macro) can cause the JVM to crash. The problem is described here and the main bug report is JDK-8009402.
I was able to reproduce the problem on the 7u25 and 7u45 JVMs, and it appears to be fixed on 8b115. It will also be fixed in the upcoming 7u51 and 7u60 releases.
According to a mail on the jdk7u-dev, those releases should be expected early next year.
With 7u51 and 7u55 being planned as the January 2014 and April 2014 JDK releases, it makes sense for 7u60 to be released some time after April 2014. The current proposal is that 7u60 will GA in May 2014.
Below are the tests performed with the SemPostCrash.zip program.
uname -a
Linux heidschnucke 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
je 1.7.0 25;javac -version;javac -XDignore.symbol.file -d build/classes -sourcepath src src/semaphore/SemPostCrash.java;java -version;java -cp build/classes semaphore/SemPostCrash javac 1.7.0_25 java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) CMM: sun.java2d.cmm.kcms.CMM@3107eafc Count: 500 ... Count: 116000 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f19c1ba51f2, pid=25896, tid=139748245911296 # # JRE version: 7.0_25-b15 # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libpthread.so.0+0xe1f2] sem_post+0x12
je 1.7.0 45;javac -version;javac -XDignore.symbol.file -d build/classes -sourcepath src src/semaphore/SemPostCrash.java;java -version;java -cp build/classes semaphore/SemPostCrash javac 1.7.0_45 java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) CMM: sun.java2d.cmm.kcms.CMM@1970196d Count: 500 ... Count: 27500 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f5f1082b1f2, pid=12626, tid=140045113235200 # # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libpthread.so.0+0xe1f2] sem_post+0x12
je 1.8.0 b115;javac -version;javac -XDignore.symbol.file -d build/classes -sourcepath src src/semaphore/SemPostCrash.java;java -Xmx1g -version;java -cp build/classes semaphore/SemPostCrash javac 1.8.0-ea java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b115) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode) CMM: sun.java2d.cmm.kcms.CMM@7d4991ad Count: 500 ... Count: 673000
SIGSEGV in [libpthread.so.0+0xe242] sem_post+0x12 on Oracle JVM
-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
None
-
None
This issue exists solely for documentary purposes of an Oracle/OpenJDK JVM bug Confluence's code (i.e. View File Macro) might be able to provoke. Causing this bug will lead to a JVM crash originating in the [libpthread.so.0+0xe242] sem_post+0x12 frame.
The issue will be fixed in an upcoming Java release. See below for details.
Requests to the PPTSlideServlet (View File Macro) can cause the JVM to crash. The problem is described here and the main bug report is JDK-8009402.
I was able to reproduce the problem on the 7u25 and 7u45 JVMs, and it appears to be fixed on 8b115. It will also be fixed in the upcoming 7u51 and 7u60 releases.
According to a mail on the jdk7u-dev, those releases should be expected early next year.
With 7u51 and 7u55 being planned as the January 2014 and April 2014 JDK releases, it makes sense for 7u60 to be released some time after April 2014. The current proposal is that 7u60 will GA in May 2014.
Below are the tests performed with the SemPostCrash.zip program.
uname -a
Linux heidschnucke 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
je 1.7.0 25;javac -version;javac -XDignore.symbol.file -d build/classes -sourcepath src src/semaphore/SemPostCrash.java;java -version;java -cp build/classes semaphore/SemPostCrash javac 1.7.0_25 java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) CMM: sun.java2d.cmm.kcms.CMM@3107eafc Count: 500 ... Count: 116000 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f19c1ba51f2, pid=25896, tid=139748245911296 # # JRE version: 7.0_25-b15 # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libpthread.so.0+0xe1f2] sem_post+0x12
je 1.7.0 45;javac -version;javac -XDignore.symbol.file -d build/classes -sourcepath src src/semaphore/SemPostCrash.java;java -version;java -cp build/classes semaphore/SemPostCrash javac 1.7.0_45 java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) CMM: sun.java2d.cmm.kcms.CMM@1970196d Count: 500 ... Count: 27500 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f5f1082b1f2, pid=12626, tid=140045113235200 # # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libpthread.so.0+0xe1f2] sem_post+0x12
je 1.8.0 b115;javac -version;javac -XDignore.symbol.file -d build/classes -sourcepath src src/semaphore/SemPostCrash.java;java -Xmx1g -version;java -cp build/classes semaphore/SemPostCrash javac 1.8.0-ea java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b115) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode) CMM: sun.java2d.cmm.kcms.CMM@7d4991ad Count: 500 ... Count: 673000