Java SIGSEGV with extemely simple Swing test

Bug #1155237 reported by Sami Mäkinen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-7 (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Sami Mäkinen (sami-makinen-helsinki) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.