Debugging in eclipse causing system crash

Bug #1355182 reported by Padraig Looney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Debian
New
Undecided
Unassigned
eclipse (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm using ubuntu 14.04 with unity for work (On a Mac Pro and on a Lenovo Thinkpad). I've been debugging some Java code and every time I step inside a given method I have problems and have to restart my machine (4 times now).

The only functionality that remains is the show hide feature of the unity bar. Everything else is gone.

I have just tested this on a Windows machine and I can debug fine.

Tags: crash eclipse
Revision history for this message
Padraig Looney (padraig-looney) wrote :

I've just upgraded this to the latest version of eclipse and the problem remains

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1355182/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Padraig Looney (padraig-looney) wrote :

I've tested it on a different machine with Ubuntu 14.04 and the smae problem exists.

tags: added: eclipse
removed: bot-comment
Revision history for this message
Padraig Looney (padraig-looney) wrote :

Looking in /var/log/kern.log all I get in ten minutes prior to the crash is

Aug 11 16:58:28 padraig-ThinkPad-T520 kernel: [ 959.114260] SysRq : This sysrq operation is disabled.
Aug 11 16:58:28 padraig-ThinkPad-T520 kernel: [ 959.439232] SysRq : This sysrq operation is disabled.
Aug 11 16:58:28 padraig-ThinkPad-T520 kernel: [ 959.758096] SysRq : This sysrq operation is disabled.
Aug 11 16:58:29 padraig-ThinkPad-T520 kernel: [ 960.033616] SysRq : Emergency Sync
Aug 11 16:58:29 padraig-ThinkPad-T520 kernel: [ 960.200830] SysRq : Emergency Remount R/O

tags: added: crash
Revision history for this message
Padraig Looney (padraig-looney) wrote :

I've tested this in Debian on virtual box and it also crashes the system.

Revision history for this message
Padraig Looney (padraig-looney) wrote :

I've tested this on the version of eclipse using apt-get and the issue is there.

affects: ubuntu → eclipse (Ubuntu)
Revision history for this message
Padraig Looney (padraig-looney) wrote :

I'ce spent a few hours creating a short self contained example. To reproduce this bug. Run the following in debug in eclipse with a breakpoint as directed in the code.

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

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

public class WillCrash {

 public static void main(String[] args) {

  JComboBox<String> combo = new JComboBox<>();
  JFrame jf = new JFrame();
  jf.setExtendedState(JFrame.MAXIMIZED_BOTH);
  jf.getContentPane().add(combo);
  combo.addItem("Test 1");
  combo.addItem("Test 2");
  combo.addActionListener(new ActionListener() {

   @Override
   public void actionPerformed(ActionEvent e) {
    //Put break point here to crash your system
    System.out.println("Test");
   }
  });
  jf.setVisible(true);
  jf.pack();

 }

}

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.