2017-06-24 16:25:24 |
Kim Nguyễn |
bug |
|
|
added bug |
2017-06-24 16:25:24 |
Kim Nguyễn |
attachment added |
|
C program initializing the JVM https://bugs.launchpad.net/bugs/1700270/+attachment/4902302/+files/test.c |
|
2017-06-24 16:25:58 |
Kim Nguyễn |
attachment added |
|
Java class loaded by the C program https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1700270/+attachment/4902303/+files/foo.java |
|
2017-06-24 16:26:13 |
Kim Nguyễn |
attachment added |
|
Makefile to ease building https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1700270/+attachment/4902304/+files/Makefile |
|
2017-06-24 16:30:14 |
Joseph Salisbury |
linux (Ubuntu): status |
New |
Incomplete |
|
2017-06-24 16:30:16 |
Joseph Salisbury |
tags |
|
zesty |
|
2017-06-24 18:10:59 |
Kim Nguyễn |
tags |
zesty |
apport-collected zesty |
|
2017-06-24 18:11:01 |
Kim Nguyễn |
description |
I have tested only with linux 4.10.0-24-generic on amd64. The attached repro case:
- compiles a java class
- compiles a C program that initialise the JVM and calls a static method from the java class
- launch the compile C program.
Expected result:
the c program should launch the Java method and print some numbers in the terminal
Actual result:
the c program segfault while initializing the JVM
reverting to linux 4.10.0-22-generic amd64 fixes the problem. Since the only change in the changelog is the Stack Clash fix and since I remember reading that the JVM does tricky stuff with the stack, this is a natural culprit.
It touches any program that initialises a JVM (so for instance Java bindings in Postgresql or Java applets in firefox although the latter have been deprecated and are only supported in firefox ESR now).
I attach the repro-case.
The issue happens with both openjdk-8-jdk from the repository and the standard jdk 8 from oracle. |
I have tested only with linux 4.10.0-24-generic on amd64. The attached repro case:
- compiles a java class
- compiles a C program that initialise the JVM and calls a static method from the java class
- launch the compile C program.
Expected result:
the c program should launch the Java method and print some numbers in the terminal
Actual result:
the c program segfault while initializing the JVM
reverting to linux 4.10.0-22-generic amd64 fixes the problem. Since the only change in the changelog is the Stack Clash fix and since I remember reading that the JVM does tricky stuff with the stack, this is a natural culprit.
It touches any program that initialises a JVM (so for instance Java bindings in Postgresql or Java applets in firefox although the latter have been deprecated and are only supported in firefox ESR now).
I attach the repro-case.
The issue happens with both openjdk-8-jdk from the repository and the standard jdk 8 from oracle.
---
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: kim 1928 F.... pulseaudio
/dev/snd/controlC1: kim 1928 F.... pulseaudio
CurrentDesktop: Unity:Unity7
DistroRelease: Ubuntu 17.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=4d246142-b56c-4cc6-b9cf-dad9c592bca0
InstallationDate: Installed on 2016-10-19 (248 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
MachineType: Hewlett-Packard HP EliteBook 820 G2
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic.efi.signed root=UUID=de40f805-aa69-464b-8c59-022276f8b381 ro resume=UUID=4d246142-b56c-4cc6-b9cf-dad9c592bca0 i915.enable_rc6=7 i915.enable_dc=2 i915.enable_psr=1 quiet splash
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
RelatedPackageVersions:
linux-restricted-modules-4.10.0-22-generic N/A
linux-backports-modules-4.10.0-22-generic N/A
linux-firmware 1.164.1
Tags: zesty
Uname: Linux 4.10.0-22-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: Upgraded to zesty on 2017-06-23 (1 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare src sudo vboxusers
_MarkForUpload: False
dmi.bios.date: 04/10/2017
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M71 Ver. 01.19
dmi.board.name: 225A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.5B
dmi.chassis.asset.tag: 5CG52931PR
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrM71Ver.01.19:bd04/10/2017:svnHewlett-Packard:pnHPEliteBook820G2:pvrA3008E510003:rvnHewlett-Packard:rn225A:rvrKBCVersion96.5B:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 820 G2
dmi.product.version: A3008E510003
dmi.sys.vendor: Hewlett-Packard |
|
2017-06-24 18:11:03 |
Kim Nguyễn |
attachment added |
|
AlsaInfo.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902370/+files/AlsaInfo.txt |
|
2017-06-24 18:11:05 |
Kim Nguyễn |
attachment added |
|
CRDA.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902371/+files/CRDA.txt |
|
2017-06-24 18:11:08 |
Kim Nguyễn |
attachment added |
|
CurrentDmesg.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902372/+files/CurrentDmesg.txt |
|
2017-06-24 18:11:10 |
Kim Nguyễn |
attachment added |
|
IwConfig.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902373/+files/IwConfig.txt |
|
2017-06-24 18:11:12 |
Kim Nguyễn |
attachment added |
|
JournalErrors.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902374/+files/JournalErrors.txt |
|
2017-06-24 18:11:14 |
Kim Nguyễn |
attachment added |
|
Lspci.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902375/+files/Lspci.txt |
|
2017-06-24 18:11:16 |
Kim Nguyễn |
attachment added |
|
Lsusb.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902376/+files/Lsusb.txt |
|
2017-06-24 18:11:18 |
Kim Nguyễn |
attachment added |
|
ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902377/+files/ProcCpuinfoMinimal.txt |
|
2017-06-24 18:11:20 |
Kim Nguyễn |
attachment added |
|
ProcEnviron.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902378/+files/ProcEnviron.txt |
|
2017-06-24 18:11:21 |
Kim Nguyễn |
attachment added |
|
ProcInterrupts.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902379/+files/ProcInterrupts.txt |
|
2017-06-24 18:11:24 |
Kim Nguyễn |
attachment added |
|
ProcModules.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902380/+files/ProcModules.txt |
|
2017-06-24 18:11:26 |
Kim Nguyễn |
attachment added |
|
PulseList.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902381/+files/PulseList.txt |
|
2017-06-24 18:11:28 |
Kim Nguyễn |
attachment added |
|
RfKill.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902382/+files/RfKill.txt |
|
2017-06-24 18:11:32 |
Kim Nguyễn |
attachment added |
|
UdevDb.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902383/+files/UdevDb.txt |
|
2017-06-24 18:11:36 |
Kim Nguyễn |
attachment added |
|
WifiSyslog.txt https://bugs.launchpad.net/bugs/1700270/+attachment/4902384/+files/WifiSyslog.txt |
|
2017-06-25 06:32:33 |
Kim Nguyễn |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2017-06-25 06:35:13 |
Kim Nguyễn |
description |
I have tested only with linux 4.10.0-24-generic on amd64. The attached repro case:
- compiles a java class
- compiles a C program that initialise the JVM and calls a static method from the java class
- launch the compile C program.
Expected result:
the c program should launch the Java method and print some numbers in the terminal
Actual result:
the c program segfault while initializing the JVM
reverting to linux 4.10.0-22-generic amd64 fixes the problem. Since the only change in the changelog is the Stack Clash fix and since I remember reading that the JVM does tricky stuff with the stack, this is a natural culprit.
It touches any program that initialises a JVM (so for instance Java bindings in Postgresql or Java applets in firefox although the latter have been deprecated and are only supported in firefox ESR now).
I attach the repro-case.
The issue happens with both openjdk-8-jdk from the repository and the standard jdk 8 from oracle.
---
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: kim 1928 F.... pulseaudio
/dev/snd/controlC1: kim 1928 F.... pulseaudio
CurrentDesktop: Unity:Unity7
DistroRelease: Ubuntu 17.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=4d246142-b56c-4cc6-b9cf-dad9c592bca0
InstallationDate: Installed on 2016-10-19 (248 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
MachineType: Hewlett-Packard HP EliteBook 820 G2
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic.efi.signed root=UUID=de40f805-aa69-464b-8c59-022276f8b381 ro resume=UUID=4d246142-b56c-4cc6-b9cf-dad9c592bca0 i915.enable_rc6=7 i915.enable_dc=2 i915.enable_psr=1 quiet splash
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
RelatedPackageVersions:
linux-restricted-modules-4.10.0-22-generic N/A
linux-backports-modules-4.10.0-22-generic N/A
linux-firmware 1.164.1
Tags: zesty
Uname: Linux 4.10.0-22-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: Upgraded to zesty on 2017-06-23 (1 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare src sudo vboxusers
_MarkForUpload: False
dmi.bios.date: 04/10/2017
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M71 Ver. 01.19
dmi.board.name: 225A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.5B
dmi.chassis.asset.tag: 5CG52931PR
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrM71Ver.01.19:bd04/10/2017:svnHewlett-Packard:pnHPEliteBook820G2:pvrA3008E510003:rvnHewlett-Packard:rn225A:rvrKBCVersion96.5B:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 820 G2
dmi.product.version: A3008E510003
dmi.sys.vendor: Hewlett-Packard |
I have tested only with linux 4.10.0-24-generic on amd64. The attached repro case:
- compiles a java class
- compiles a C program that initialises the JVM and calls a static method from the java class
- launch the compiled C program.
Expected result:
the c program should execute the Java method and print some numbers in the terminal
Actual result:
the c program segfaults while initialising the JVM
reverting to linux 4.10.0-22-generic amd64 fixes the problem. Since the only change in the changelog is the Stack Clash fix and since I remember reading that the JVM does tricky stuff with the stack, this is a natural culprit.
It touches any program that initialises a JVM (so for instance Java bindings in Postgresql or Java applets in firefox although the latter have been deprecated and are only supported in firefox ESR now).
I attach the repro-case.
The issue happens with both openjdk-8-jdk from the repository and the standard jdk 8 from oracle.
[note: edited after initial submission to fix some typos]
---
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: kim 1928 F.... pulseaudio
/dev/snd/controlC1: kim 1928 F.... pulseaudio
CurrentDesktop: Unity:Unity7
DistroRelease: Ubuntu 17.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=4d246142-b56c-4cc6-b9cf-dad9c592bca0
InstallationDate: Installed on 2016-10-19 (248 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
MachineType: Hewlett-Packard HP EliteBook 820 G2
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic.efi.signed root=UUID=de40f805-aa69-464b-8c59-022276f8b381 ro resume=UUID=4d246142-b56c-4cc6-b9cf-dad9c592bca0 i915.enable_rc6=7 i915.enable_dc=2 i915.enable_psr=1 quiet splash
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
RelatedPackageVersions:
linux-restricted-modules-4.10.0-22-generic N/A
linux-backports-modules-4.10.0-22-generic N/A
linux-firmware 1.164.1
Tags: zesty
Uname: Linux 4.10.0-22-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: Upgraded to zesty on 2017-06-23 (1 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare src sudo vboxusers
_MarkForUpload: False
dmi.bios.date: 04/10/2017
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M71 Ver. 01.19
dmi.board.name: 225A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.5B
dmi.chassis.asset.tag: 5CG52931PR
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrM71Ver.01.19:bd04/10/2017:svnHewlett-Packard:pnHPEliteBook820G2:pvrA3008E510003:rvnHewlett-Packard:rn225A:rvrKBCVersion96.5B:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 820 G2
dmi.product.version: A3008E510003
dmi.sys.vendor: Hewlett-Packard |
|
2017-06-25 06:38:18 |
Kim Nguyễn |
cve linked |
|
2017-1000364 |
|
2017-06-26 14:49:21 |
Postmaster FNWI |
bug |
|
|
added subscriber Postmaster FNWI |
2017-06-29 20:36:08 |
Norbert |
marked as duplicate |
|
1699772 |
|
2017-07-11 11:57:46 |
Rostislav Stříbrný |
attachment added |
|
Bug1699772_i386_jvm_segfault_problem.tgz - Test case source code for running JVM launched from C compiled with 32-bit and 64-bit and different JVM stack size. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1700270/+attachment/4912778/+files/Bug1699772_i386_jvm_segfault_problem.tgz |
|
2017-09-29 17:43:10 |
Francis Ginther |
tags |
apport-collected zesty |
apport-collected id-599af6610f9a304e95fd9796 zesty |
|