← Back to team overview

openjdk team mailing list archive

[Bug 894470] Re: eclipse36 hangs, keyboard disabled EXCEPT for the SUPER key, mouse movable but no clicks processed

 

FYI: I'm using a lot of Eclipse plugins.

I was able to avoid this behaviour by increasing the max memory available to eclipse to 1124 MB
See last line of my  eclipse.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.2.R36x_v20101019_1345
-product
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Djava.library.path=/usr/lib/jni
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx1124m

I don't know what all these options do exactly. I found out by trial and
error, and by researching the net. For example, there is a large
discussion about these settings on stackoverflow.com:
http://stackoverflow.com/questions/142357/what-are-the-best-jvm-
settings-for-eclipse

Recently I have reduced the Xmx param (because I only have 4 GB available, and 1124 MB just for Eclipse was just too much.)
and the hanging behaviour reappeared. I think I'll go back to 1124 MB (it's actually 1024 MB plus some extra Memory for something else, for some reason)

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/894470

Title:
  eclipse36 hangs, keyboard disabled EXCEPT for the SUPER key, mouse
  movable but no clicks processed

Status in “openjdk-6” package in Ubuntu:
  Confirmed

Bug description:
  I have an old (German) (Windows)  PS-2 keyboard.  
  My oneiric is a fresh install, but I have restored a lot of my data files (and some config files in /etc) from a backup which was from an older oneiric, upgraded from natty. 

  When I work with eclipse36 for a while in oneiric under unity,
  eclipse 36 helios (from 2010) suddenly hangs.

  Then, all keys on my keyboard are disabled EXCEPT for the SUPER (Windows) key. When I press it, the Dash shows up and gets the focus. 
  When I press SUPER again, eclipse gets the focus (the frame-colors of some panel in the IDE briefly flashes)

  The mouse is movable but no clicks are getting processed.

  Ctrl Alt-F2 does not work. Removing the keyboard and plugging it back
  in does not work.

  I have to go to another computer, login to the hanging computer with
  ssh (works fine), then kill eclipse. Then, mouse and keyboard are
  usable again.

  Besides, and maybe unrelated to the above-mentioned- bug, sometimes
  eclipse crashes. There is no Eclipse crash dialog box with  process
  metadata.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: openjdk-6-jre-headless 6b23~pre11-0ubuntu1.11.10
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Thu Nov 24 18:20:08 2011
  ExecutablePath: /usr/lib/jvm/java-6-openjdk/jre/bin/java
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  LocalLibraries: /opt/eclipse/eclipse36/configuration/org.eclipse.osgi/bundles/917/1/.cp/libswt-pi-gtk-3659.so /opt/eclipse/eclipse36/configuration/org.eclipse.osgi/bundles/917/1/.cp/libswt-cairo-gtk-3659.so /opt/eclipse/eclipse36/configuration/org.eclipse.osgi/bundles/917/1/.cp/libswt-gnome-gtk-3659.so /opt/eclipse/eclipse36/configuration/org.eclipse.osgi/bundles/917/1/.cp/libswt-gtk-3659.so /opt/eclipse/eclipse36/configuration/org.eclipse.osgi/bundles/48/1/.cp/os/linux/x86_64/libunixfile_1_0_0.so /opt/eclipse/eclipse36/configuration/org.eclipse.osgi/bundles/917/1/.cp/libswt-atk-gtk-3659.so /opt/eclipse/eclipse36/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.2.R36x_v20101019_1345/eclipse_1310.so
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_US.UTF-8
   LANGUAGE=en_US.UTF-8
  SourcePackage: openjdk-6
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/894470/+subscriptions



References