This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 197220 - total crash of system when a breakpoint is hit.
Summary: total crash of system when a breakpoint is hit.
Status: RESOLVED DUPLICATE of bug 93076
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 08:53 UTC by ilantal
Modified: 2011-03-30 09:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilantal 2011-03-30 08:53:28 UTC
I have a repeatable bug which results in the total crash of the system. I am using Ubuntu 10.10 and when it crashes, the mouse is still active but you can choose no other window (Gmail or anything else). Netbeans also fails to respond. The only way out is to press the power off button and restart the computer.

It is easy to duplicate the bug and it is 100% reproducible. Choose New Project, Java Desktop Application. I am aware that the desktop application is no longer in development, but this is the easiest way to duplicate the bug and I don't think it is connected to the desktop application as such.
Give it a name like "crash", or anything else.

Once you see the CrashView, drag over a Combo box and put it on the form. Right click on it and add Event -> Action -> Action performed. It will switch to the source view. Put any code you like in the event:

	private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {                                           
		int i = 0;
		i++;
	}                                          

Put a breakpoint on the first line. Click on the combo box to activate the debugger. CRASH! You are dead. Hit the power button and reboot.
Comment 1 Jiri Kovalsky 2011-03-30 09:28:13 UTC
Reproduced on Linux Mint 10 (Julia) with JDK 6 Update 24. Both in 6.9.1 and 7.0 RC. Martine, can you do something about it?
Comment 2 Martin Entlicher 2011-03-30 09:36:40 UTC
This is a duplicate of issue #93076.
The workaround is to use -Dsun.awt.disablegrab=true option or debug the application from a remote machine.

*** This bug has been marked as a duplicate of bug 93076 ***
Comment 3 Martin Entlicher 2011-03-30 09:39:28 UTC
BTW: The system does not crash at all. It's enough to use CTRL-ALT-F1 to do to terminal, kill NetBeans and ALT-F7 to go back.