JDK-6798059 : AGAIN: IDE (Netbeans, Eclipse, JDeveloper) Debugger hangs Linux-Desktop
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2009-01-27
  • Updated: 2011-01-19
  • Resolved: 2009-03-17
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux ubuntu 2.6.27-11-generic #1 SMP Thu Jan 22 17:22:40 UTC 2009 i686 GNU/Linux

A DESCRIPTION OF THE PROBLEM :

same as bug 6714678 - gnome desktop does not respond anymore

it is possible to open a consle via alt-ctrl-fX and kill the java-process
then the desktop responds again

releasnotes of update 10 says the fix is included

but bug is again/still present


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
see bug 6714678

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no desktop freeze
ACTUAL -
desktop freeze


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
see bug 6714678
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
-Dsun.awt.disablegrab=true
Additional details from the submitter:

jstack also gave errors when invoked with "-F -m -l".

Following now 1) java-program (from original bug 6714678),
then 2) jstack-error and last 3) jstack-output.


1) java-program:
package client;

import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;

import javax.swing.JComboBox;
import javax.swing.JFrame;

public class Frame1
  extends JFrame
  implements ItemListener {
  private final JComboBox jComboBox1 =
    new JComboBox(new String[] { "Apples", "Oranges", "Mangoes" });

  public Frame1() {
    try {
      jbInit();
    } catch (final Exception e) {
      e.printStackTrace();
    }
  }

  private void jbInit()
    throws Exception {
    this.getContentPane().setLayout(null);
    this.setSize(new Dimension(400, 300));
    jComboBox1.setBounds(new Rectangle(45, 25, 235, 25));
    jComboBox1.addItemListener(this);
    this.getContentPane().add(jComboBox1, null);
    this.setVisible(true);
  }

  public void itemStateChanged(final ItemEvent e) {
    System.out.println("Entering ItemStateChanged");
    int x = 1;
    x++; // put a  customer  on that line and it will freeze
    System.out.println("Exiting ItemStateChanged");
  }

  public static void main(final String[] s) {
    new Frame1();
  }
}


2) jstack-error

Attaching to process ID 11542, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 11.0-b16
Finding object size using Printezis bits and skipping over...
sun.jvm.hotspot.debugger.UnmappedAddressException
	at sun.jvm.hotspot.debugger.PageCache.checkPage(PageCache.java:208)
	at sun.jvm.hotspot.debugger.PageCache.getData(PageCache.java:63)
	at sun.jvm.hotspot.debugger.DebuggerBase.readBytes(DebuggerBase.java:205)
	at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readCInteger(LinuxDebuggerLocal.java:471)
	at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:442)
	at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readAddress(LinuxDebuggerLocal.java:423)
	at sun.jvm.hotspot.debugger.linux.LinuxAddress.getAddressAt(LinuxAddress.java:74)
	at sun.jvm.hotspot.debugger.linux.x86.LinuxX86CFrame.sender(LinuxX86CFrame.java:60)
	at sun.jvm.hotspot.tools.PStack.run(PStack.java:161)
	at sun.jvm.hotspot.tools.PStack.run(PStack.java:53)
	at sun.jvm.hotspot.tools.PStack.run(PStack.java:48)
	at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
	at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
	at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.tools.jstack.JStack.runJStackTool(JStack.java:118)
	at sun.tools.jstack.JStack.main(JStack.java:84)
sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x497f6edf with alignment: 4
	at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1.checkAlignment(LinuxDebuggerLocal.java:181)
	at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readCInteger(LinuxDebuggerLocal.java:469)
	at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:442)
	at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readAddress(LinuxDebuggerLocal.java:423)
	at sun.jvm.hotspot.debugger.linux.LinuxAddress.getAddressAt(LinuxAddress.java:74)
	at sun.jvm.hotspot.debugger.linux.x86.LinuxX86CFrame.sender(LinuxX86CFrame.java:60)
	at sun.jvm.hotspot.tools.PStack.run(PStack.java:161)
	at sun.jvm.hotspot.tools.PStack.run(PStack.java:53)
	at sun.jvm.hotspot.tools.PStack.run(PStack.java:48)
	at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
	at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
	at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.tools.jstack.JStack.runJStackTool(JStack.java:118)
	at sun.tools.jstack.JStack.main(JStack.java:84)


3) jstack-output:

Deadlock Detection:

No deadlocks found.

----------------- 11544 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064edd01	_ZN7Monitor4waitEblb + 0xd1
0x065d20c7	_ZN7Threads10destroy_vmEv + 0x117
0x0639ece2	jni_DestroyJavaVM + 0xb2
0x08049b2b	JavaMain + 0x25b
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11548 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064ede51	_ZN7Monitor4waitEblb + 0x221
0x063270d6	_ZN13GCTaskManager8get_taskEj + 0x66
0x0632821b	_ZN12GCTaskThread3runEv + 0xdb
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
----------------- 11549 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064ede51	_ZN7Monitor4waitEblb + 0x221
0x063270d6	_ZN13GCTaskManager8get_taskEj + 0x66
0x0632821b	_ZN12GCTaskThread3runEv + 0xdb
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
----------------- 11550 -----------------
0xb806f430	????????
0x22df71c8	????????
----------------- 11551 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a1811	_ZN13ObjectMonitor4waitExbP6Thread + 0x571
0x0659f182	_ZN18ObjectSynchronizer4waitE6HandlexP6Thread + 0x42
0x063c812a	JVM_MonitorWait + 0x1da
0xb4c5ffe0	* java.lang.Object.wait(long) bci:0 (Interpreted frame)
0xb4c5410d	* java.lang.Object.wait() bci:2 line:485 (Interpreted frame)
0xb4c5410d	* java.lang.ref.Reference$ReferenceHandler.run() bci:46 line:116 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11552 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a1811	_ZN13ObjectMonitor4waitExbP6Thread + 0x571
0x0659f182	_ZN18ObjectSynchronizer4waitE6HandlexP6Thread + 0x42
0x063c812a	JVM_MonitorWait + 0x1da
0xb4c5ffe0	* java.lang.Object.wait(long) bci:0 (Interpreted frame)
0xb4c5410d	* java.lang.ref.ReferenceQueue.remove(long) bci:44 line:116 (Interpreted frame)
0xb4c53fa7	* java.lang.ref.ReferenceQueue.remove() bci:2 line:132 (Interpreted frame)
0xb4c53fa7	* java.lang.ref.Finalizer$FinalizerThread.run() bci:3 line:159 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11554 -----------------
0xb806f430	????????
0x065039ed	_ZN2os11signal_waitEv + 0xd
0x06500b08	_Z19signal_thread_entryP10JavaThreadP6Thread + 0x28
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11558 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a255f	_ZN13ObjectMonitor10SimpleWaitEP6Threadx + 0x24f
0x065a298e	_ZN13ObjectMonitor8raw_waitExbP6Thread + 0xce
0x06456a05	_ZN8JvmtiEnv14RawMonitorWaitEP15JvmtiRawMonitorx + 0x55
0x06406293	jvmti_RawMonitorWait + 0x73
0xb7dfea16	debugMonitorWait + 0x46
0xb7de5372	dequeue + 0x92
0xb7de4e18	debugLoop_run + 0x78
0xb7df9e65	connectionInitiated + 0x75
0xb7dfa163	attachThread + 0x33
0x0646988c	_ZN16JvmtiAgentThread22start_function_wrapperEP10JavaThreadP6Thread + 0x6c
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11559 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a255f	_ZN13ObjectMonitor10SimpleWaitEP6Threadx + 0x24f
0x065a298e	_ZN13ObjectMonitor8raw_waitExbP6Thread + 0xce
0x06456a05	_ZN8JvmtiEnv14RawMonitorWaitEP15JvmtiRawMonitorx + 0x55
0x06406293	jvmti_RawMonitorWait + 0x73
0xb7dfea16	debugMonitorWait + 0x46
0xb7dec9ae	dequeueCommand + 0x4e
0xb7dedb65	commandLoop + 0x65
0x0646988c	_ZN16JvmtiAgentThread22start_function_wrapperEP10JavaThreadP6Thread + 0x6c
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11560 -----------------
0xb806f430	????????
0x9153ef34	recv_fully + 0x54
0x9153ef92	socketTransport_readPacket + 0x42
0xb7dfa8df	transport_receivePacket + 0x2f
0xb7de5088	reader + 0x38
0x0646988c	_ZN16JvmtiAgentThread22start_function_wrapperEP10JavaThreadP6Thread + 0x6c
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11564 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064edd01	_ZN7Monitor4waitEblb + 0xd1
0x062ad98f	_ZN12CompileQueue3getEv + 0x5f
0x062af214	_ZN13CompileBroker20compiler_thread_loopEv + 0x184
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11565 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064edd01	_ZN7Monitor4waitEblb + 0xd1
0x062ad98f	_ZN12CompileQueue3getEv + 0x5f
0x062af214	_ZN13CompileBroker20compiler_thread_loopEv + 0x184
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11566 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064ede51	_ZN7Monitor4waitEblb + 0x221
0x064bc715	_ZN17LowMemoryDetector32low_memory_detector_thread_entryEP10JavaThreadP6Thread + 0x85
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11567 -----------------
0xb806f430	????????
0x3b7004c8	????????
----------------- 11569 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a1811	_ZN13ObjectMonitor4waitExbP6Thread + 0x571
0x0659f182	_ZN18ObjectSynchronizer4waitE6HandlexP6Thread + 0x42
0x063c812a	JVM_MonitorWait + 0x1da
0xb4c5ffe0	* java.lang.Object.wait(long) bci:0 (Interpreted frame)
0xb4c5410d	* java.lang.ref.ReferenceQueue.remove(long) bci:44 line:116 (Interpreted frame)
0xb4c53fa7	* java.lang.ref.ReferenceQueue.remove() bci:2 line:132 (Interpreted frame)
0xb4c53fa7	* sun.java2d.Disposer.run() bci:3 line:125 (Interpreted frame)
0xb4c545e9	* java.lang.Thread.run() bci:11 line:619 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11571 -----------------
0xb806f430	????????
0x9119488e	performPoll + 0xde
0x911946a3	waitForEvents + 0x33
0xb4c5ffe0	* sun.awt.X11.XToolkit.waitForEvents(long) bci:0 (Interpreted frame)
0xb4c5410d	* sun.awt.X11.XToolkit.run(boolean) bci:65 line:548 (Interpreted frame)
0xb4c5410d	* sun.awt.X11.XToolkit.run() bci:5 line:523 (Interpreted frame)
0xb4c545e9	* java.lang.Thread.run() bci:11 line:619 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11572 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a1811	_ZN13ObjectMonitor4waitExbP6Thread + 0x571
0x0659f182	_ZN18ObjectSynchronizer4waitE6HandlexP6Thread + 0x42
0x063c812a	JVM_MonitorWait + 0x1da
0xb4c5ffe0	* java.lang.Object.wait(long) bci:0 (Interpreted frame)
0xb4c5410d	* java.lang.Object.wait() bci:2 line:485 (Interpreted frame)
0xb4c5410d	* sun.awt.AWTAutoShutdown.run() bci:32 line:259 (Interpreted frame)
0xb4c545e9	* java.lang.Thread.run() bci:11 line:619 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
And last part:

----------------- 11573 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x064ed70d	_ZN7Monitor5IWaitEP6Threadx + 0xcd
0x064ede51	_ZN7Monitor4waitEblb + 0x221
0x065cf1df	_ZN10JavaThread17java_suspend_selfEv + 0x12f
0x065a2a20	_ZN13ObjectMonitor8raw_waitExbP6Thread + 0x160
0x06456a05	_ZN8JvmtiEnv14RawMonitorWaitEP15JvmtiRawMonitorx + 0x55
0x06406293	jvmti_RawMonitorWait + 0x73
0xb7dfea16	debugMonitorWait + 0x46
0xb7dec826	enqueueCommand + 0x136
0xb7dee2e1	eventHelper_reportEvents + 0x121
0xb7de7eed	reportEvents + 0x16d
0xb7de831a	event_callback + 0x1fa
0xb7de8b55	cbBreakpoint + 0x125
0x0645ec53	_ZN11JvmtiExport19post_raw_breakpointEP10JavaThreadP13methodOopDescPh + 0x3f3
0x0636fead	_ZN18InterpreterRuntime11_breakpointEP10JavaThreadP13methodOopDescPh + 0x2d
0xb4c6e54f	* client.Frame1.itemStateChanged(java.awt.event.ItemEvent) bci:8 line:37 (Interpreted frame)
0xb4c545e9	* javax.swing.JComboBox.fireItemStateChanged(java.awt.event.ItemEvent) bci:35 line:1205 (Interpreted frame)
0xb4c5410d	* javax.swing.JComboBox.selectedItemChanged() bci:24 line:1253 (Interpreted frame)
0xb4c5410d	* javax.swing.JComboBox.contentsChanged(javax.swing.event.ListDataEvent) bci:28 line:1309 (Interpreted frame)
0xb4c545e9	* javax.swing.AbstractListModel.fireContentsChanged(java.lang.Object, int, int) bci:65 line:100 (Interpreted frame)
0xb4c5410d	* javax.swing.DefaultComboBoxModel.setSelectedItem(java.lang.Object) bci:38 line:88 (Interpreted frame)
0xb4c545e9	* javax.swing.JComboBox.setSelectedItem(java.lang.Object) bci:103 line:557 (Interpreted frame)
0xb4c5410d	* javax.swing.JComboBox.setSelectedIndex(int) bci:76 line:603 (Interpreted frame)
0xb4c5410d	* javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(java.awt.event.MouseEvent) bci:97 line:816 (Interpreted frame)
0xb4c545e9	* java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent) bci:21 line:273 (Interpreted frame)
0xb4c545e9	* java.awt.Component.processMouseEvent(java.awt.event.MouseEvent) bci:64 line:6134 (Interpreted frame)
0xb4c5410d	* javax.swing.JComponent.processMouseEvent(java.awt.event.MouseEvent) bci:23 line:3265 (Interpreted frame)
0xb4c5410d	* javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(java.awt.event.MouseEvent) bci:63 line:480 (Interpreted frame)
0xb4c5410d	* java.awt.Component.processEvent(java.awt.AWTEvent) bci:81 line:5899 (Interpreted frame)
0xb4c5410d	* java.awt.Container.processEvent(java.awt.AWTEvent) bci:18 line:2023 (Interpreted frame)
0xb4c5410d	* java.awt.Component.dispatchEventImpl(java.awt.AWTEvent) bci:562 line:4501 (Interpreted frame)
0xb4c5410d	* java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) bci:42 line:2081 (Interpreted frame)
0xb4c5410d	* java.awt.Component.dispatchEvent(java.awt.AWTEvent) bci:2 line:4331 (Interpreted frame)
0xb4c5410d	* java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent) bci:320 line:4301 (Interpreted frame)
0xb4c5410d	* java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent) bci:139 line:3965 (Interpreted frame)
0xb4c53ee1	* java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent) bci:50 line:3895 (Interpreted frame)
0xb4c53ee1	* java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) bci:12 line:2067 (Interpreted frame)
0xb4c5410d	* java.awt.Window.dispatchEventImpl(java.awt.AWTEvent) bci:19 line:2458 (Interpreted frame)
0xb4c5410d	* java.awt.Component.dispatchEvent(java.awt.AWTEvent) bci:2 line:4331 (Interpreted frame)
0xb4c5410d	* java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) bci:46 line:599 (Interpreted frame)
0xb4c5410d	* java.awt.EventDispatchThread.pumpOneEventForFilters(int) bci:204 line:269 (Interpreted frame)
0xb4c53ee1	* java.awt.EventDispatchThread.pumpEventsForFilter(int, java.awt.Conditional, java.awt.EventFilter) bci:30 line:184 (Interpreted frame)
0xb4c5410d	* java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) bci:11 line:174 (Interpreted frame)
0xb4c5410d	* java.awt.EventDispatchThread.pumpEvents(int, java.awt.Conditional) bci:4 line:169 (Interpreted frame)
0xb4c5410d	* java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) bci:3 line:161 (Interpreted frame)
0xb4c5410d	* java.awt.EventDispatchThread.run() bci:9 line:122 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11574 -----------------
0xb806f430	????????
0x06505ea9	_ZN2os13PlatformEvent4parkEv + 0xb9
0x065a1811	_ZN13ObjectMonitor4waitExbP6Thread + 0x571
0x0659f182	_ZN18ObjectSynchronizer4waitE6HandlexP6Thread + 0x42
0x063c812a	JVM_MonitorWait + 0x1da
0xb4c5ffe0	* java.lang.Object.wait(long) bci:0 (Interpreted frame)
0xb4c5410d	* javax.swing.TimerQueue.run() bci:14 line:236 (Interpreted frame)
0xb4c545e9	* java.lang.Thread.run() bci:11 line:619 (Interpreted frame)
0xb4c5134c	<StubRoutines>
0x06375a7d	_ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x15d
0x065055d8	_ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ + 0x18
0x06375390	_ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandle12symbolHandleS3_P17JavaCallArgumentsP6Thread + 0xa0
0x0637541d	_ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandle12symbolHandleS4_P6Thread + 0x5d
0x063e5a85	_Z12thread_entryP10JavaThreadP6Thread + 0x75
0x065cdc3d	_ZN10JavaThread3runEv + 0xfd
0x06506709	_Z10java_startP6Thread + 0x139
0xb802c50f	start_thread + 0xbf
Locked ownable synchronizers:
    - None
----------------- 11542 -----------------
0xb806f430	????????
0x0804dd78	ContinueInNewThread + 0x88
0x080497f6	main + 0x276
0xb7ed0685	????????

Comments
EVALUATION It seems the answer to the previous comment is "yes", so I'm closing this CR as duplicate of 6714678. Again, the reason is: we can't fix this problem in other way than to provide a means to turn off the native grab. At the same time, we can't make the grab turned off by default, which is what this new CR is about.
17-03-2009

EVALUATION This issue is addressed with the fix for 6714678. That fix introduced a new system property sun.awt.disablegrab, which should be used when debugging GUI applications if grab is used. This system property is not turned on by default, so the hang can still be easily reproduced - is this what this new CR is about?
16-03-2009