-
Bug
-
Resolution: Fixed
-
P3
-
8u11, 9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142763 | emb-9 | Semyon Sadetsky | P3 | Resolved | Fixed | team |
JDK-8197295 | 8u192 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8195479 | 8u172 | Unassigned | P3 | Resolved | Fixed | b03 |
JDK-8190084 | 8u162 | Unassigned | P3 | Resolved | Fixed | b04 |
JDK-8173296 | 8u161 | Mikhail Cherkasov | P3 | Resolved | Fixed | b01 |
JDK-8178932 | 8u152 | Mikhail Cherkasov | P3 | Resolved | Fixed | b03 |
JDK-8182200 | 8u151 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8177187 | 8u141 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8174013 | 8u131 | Mikhail Cherkasov | P3 | Resolved | Fixed | b06 |
JDK-8192338 | emb-8u161 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8184544 | emb-8u151 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8178609 | emb-8u141 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8174188 | emb-8u131 | Mikhail Cherkasov | P3 | Resolved | Fixed | b06 |
JDK-8188511 | 7u171 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8173489 | 7u161 | Mikhail Cherkasov | P3 | Resolved | Fixed | b01 |
JDK-8177265 | 7u151 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8174006 | 7u141 | Mikhail Cherkasov | P3 | Resolved | Fixed | b06 |
JDK-8180981 | openjdk7u | Unassigned | P3 | Resolved | Fixed | master |
JDK-8188399 | 6u181 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8173590 | 6u171 | Mikhail Cherkasov | P3 | Resolved | Fixed | b01 |
JDK-8177229 | 6u161 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8173999 | 6u151 | Mikhail Cherkasov | P3 | Resolved | Fixed | b06 |
jdk1.8.0_40
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
JVM crashes with JDK1.8.0_11 + if you run the attached code and resize the dialog.
REGRESSION. Last worked in version 7u80
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached code, resize the dialog and the JVM will crash:
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JVM doesn't crash :)
ACTUAL -
Last stack I could see before the crash:
WARN 2015-05-04 15:21:21,707 - AWT-EventQueue-0, Id = 17, Priority = 6: RUNNABLE
sun.awt.windows.WWindowPeer.reshapeFrame(Native Method)
sun.awt.windows.WDialogPeer.reshape(Unknown Source)
sun.awt.windows.WComponentPeer.setBounds(Unknown Source)
sun.awt.windows.WWindowPeer.setBounds(Unknown Source)
java.awt.Component.reshapeNativePeer(Unknown Source)
java.awt.Component.reshape(Unknown Source)
java.awt.Window.reshape(Unknown Source)
java.awt.Component.setBounds(Unknown Source)
java.awt.Window.setBounds(Unknown Source)
java.awt.Component.resize(Unknown Source)
java.awt.Component.setSize(Unknown Source)
java.awt.Window.setSize(Unknown Source)
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Problem signature:
Problem Event Name: BEX64
Application Name: java.exe
Application Version: 8.0.60.13
Application Timestamp: 55404a69
Fault Module Name: StackHash_08b3
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 0000000300000002
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 08b3
Additional Information 2: 08b36dcca93c38acb7c92ef4a729e798
Additional Information 3: 5d68
Additional Information 4: 5d682eddcc7a5d6b5452fc95535d5ac9
second one:
Problem signature:
Problem Event Name: APPCRASH
Application Name: java.exe
Application Version: 8.0.60.13
Application Timestamp: 55404a69
Fault Module Name: StackHash_d693
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c000041d
Exception Offset: 0000000300000002
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: d693
Additional Information 2: d6933f192f50114566e03a88a59a6417
Additional Information 3: 9096
Additional Information 4: 9096dfe271c183defc2620e74bdaec28
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JWindow;
import javax.swing.SwingUtilities;
import javax.swing.Timer;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Main {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
final JDialog dialog = new JDialog();
dialog.add(new JPanel());
dialog.setVisible(true);
dialog.setBounds(100, 100, 100, 100);
final JWindow dependentWindow = getjWindow(dialog);
dependentWindow.setVisible(true);
dependentWindow.setBounds(100, 100, 100, 100);
Timer t = new Timer(300, new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
dependentWindow.setVisible(!dependentWindow.isVisible());
}
});
t.start();
}
});
}
private static JWindow getjWindow(JDialog dialog) {
JWindow w = new JWindow(dialog);
JPanel panel = new JPanel();
panel.add(new JButton("button"));
w.add(panel);
return w;
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Using an undecorated JDialog but that's not really the same...
- backported by
-
JDK-8142763 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8173296 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8173489 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8173590 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8173999 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8174006 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8174013 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8174188 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8177187 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8177229 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8177265 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8178609 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8178932 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8180981 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8182200 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8184544 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8188399 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8188511 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8190084 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8192338 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8195479 Resizing dialog which is JWindow parent makes JVM crash
- Resolved
-
JDK-8197295 Resizing dialog which is JWindow parent makes JVM crash
- Resolved