← Back to team overview

openjdk team mailing list archive

[Bug 1155237] [NEW] Java SIGSEGV with extemely simple Swing test

 

Public bug reported:

Java crashes when trying to launch this very simple test. The crash is
probably somehow related to hardware. OpenJDK 6 will also crash, and
Oracle Java 7 also crashes. Apparently also Oracle Java in Windows
crashes. However JRockit java on Ubuntu does not crash, but runs
perfectly. Clearly this is fixable in software, even if probably the
fault is related to unusual hardware.

This is 100% repeatable on the test hardware. Please do let me know what
kind of information is needed to debug this.

Test class:

import javax.swing.*;
public class Test {
	public static void main(String[] args) throws Exception {
		JFrame frame = new JFrame();
		frame.setVisible(true);
	}
}

lsb_release -rd
Description:	Ubuntu 12.04.2 LTS
Release:	12.04

OpenJDK is 7u15-2.3.7-0ubuntu1~12.04.1

Crash notice:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000008, pid=2042, tid=3025525568
#
# JRE version: 7.0_15-b20
# Java VM: OpenJDK Client VM (23.7-b01 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  0x00000008
[error occurred during error reporting (printing problematic frame), id 0xb]

# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/p3b/Documents/hs_err_pid2042.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
#
Aborted (core dumped)

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

** Attachment added: "hs_err_pid2042.log"
   https://bugs.launchpad.net/bugs/1155237/+attachment/3574341/+files/hs_err_pid2042.log

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

Title:
  Java SIGSEGV with extemely simple Swing test

Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  Java crashes when trying to launch this very simple test. The crash is
  probably somehow related to hardware. OpenJDK 6 will also crash, and
  Oracle Java 7 also crashes. Apparently also Oracle Java in Windows
  crashes. However JRockit java on Ubuntu does not crash, but runs
  perfectly. Clearly this is fixable in software, even if probably the
  fault is related to unusual hardware.

  This is 100% repeatable on the test hardware. Please do let me know
  what kind of information is needed to debug this.

  Test class:

  import javax.swing.*;
  public class Test {
  	public static void main(String[] args) throws Exception {
  		JFrame frame = new JFrame();
  		frame.setVisible(true);
  	}
  }

  lsb_release -rd
  Description:	Ubuntu 12.04.2 LTS
  Release:	12.04

  OpenJDK is 7u15-2.3.7-0ubuntu1~12.04.1

  Crash notice:
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00000008, pid=2042, tid=3025525568
  #
  # JRE version: 7.0_15-b20
  # Java VM: OpenJDK Client VM (23.7-b01 mixed mode, sharing linux-x86 )
  # Problematic frame:
  # C  0x00000008
  [error occurred during error reporting (printing problematic frame), id 0xb]

  # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
  #
  # An error report file with more information is saved as:
  # /home/p3b/Documents/hs_err_pid2042.log
  #
  # If you would like to submit a bug report, please include
  # instructions on how to reproduce the bug and visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
  #
  Aborted (core dumped)

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


Follow ups

References