Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1372

All JBDS threads are blocked during shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.CR1
    • 4.0.0.Beta1
    • integration-platform
    • None

      While working on JBDS-1112 - setting up automated way for perf tests - I've found that during test execution it quite often happens that JBDS freezes during shutting down the IDE.

      JBDS was started from hudson using:

      [java] Command line: [
      [java] /usr/lib/jvm/java-6-sun-1.6.0.21/jre/bin/java
      [java] -classpath
      [java] /home/lukas/latest/jbdevstudio-beta1/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
      [java] -Xmx512m
      [java] -Xms256m
      [java] -Dorg.eclipse.update.reconcile=false
      [java] -Dusage_reporting_enabled=false
      [java] -Declipse.perf.dbloc=/tmp/db;create=true;dbname=;dbuser=;dbpasswd=*
      [java] -Dorg.eclipse.ui.testsWaitForEarlyStartup=false
      [java] -Declipse.consoleLog=true
      [java] -Declipse.perf.config=build=3.2_201009170705_201010151457;host=localhost;jvm=sun
      [java] org.eclipse.core.launcher.Main
      [java] -install
      [java] /home/lukas/latest/jbdevstudio-beta1/eclipse/
      [java] -port
      [java] 38597
      [java] -vm
      [java] /usr/lib/jvm/java-6-sun-1.6.0.21/jre/bin/java
      [java] -os
      [java] linux
      [java] -testpluginname
      [java] org.eclipse.core.tests.runtime
      [java] -application
      [java] org.eclipse.pde.junit.runtime.uitestapplication
      [java] -arch
      [java] x86
      [java] -test
      [java] org.eclipse.core.tests.runtime.perf.UIStartupTest:testUIApplicationStartup
      [java] -data
      [java] /tmp/workspace
      [java] -ws
      [java] gtk
      [java] -version
      [java] 3
      [java] -configuration
      [java] file:/var/lib/hudson/.eclipse/com.jboss.jbds.product.product_2.0.0.GA_554602547/configuration/
      [java] -nl
      [java] en_US
      [java] ]

      blocked thread:
      Thread 19673: (state = BLOCKED)

      • java.lang.Object.wait(long) @bci=0 (Interpreted frame)
      • java.lang.Object.wait() @bci=2, line=485 (Interpreted frame)
      • org.eclipse.swt.widgets.Synchronizer.syncExec(java.lang.Runnable) @bci=138, line=186 (Interpreted frame)
      • org.eclipse.swt.widgets.Display.syncExec(java.lang.Runnable) @bci=108, line=4282 (Interpreted frame)
      • org.eclipse.draw2d.ColorConstants$SystemColorFactory.getColor(int) @bci=33, line=29 (Interpreted frame)
      • org.eclipse.draw2d.ColorConstants$SystemColorFactory.access$0(int) @bci=1, line=23 (Interpreted frame)
      • org.eclipse.draw2d.ColorConstants.<clinit>() @bci=2, line=46 (Interpreted frame)
      • com.metamatrix.modeler.diagram.ui.DiagramUiConstants$Colors.<clinit>() @bci=41, line=157 (Interpreted frame)
      • com.metamatrix.modeler.diagram.ui.DiagramUiPlugin.cleanUpWindowResources() @bci=0, line=212 (Interpreted frame)
      • com.metamatrix.modeler.diagram.ui.DiagramUiPlugin.stop(org.osgi.framework.BundleContext) @bci=1, line=207 (Interpreted frame)
      • org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run() @bci=29, line=843 (Interpreted frame)
      • java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) @bci=0 (Interpreted frame)
      • org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop() @bci=8, line=836 (Interpreted frame)
      • org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(int) @bci=129, line=501 (Interpreted frame)
      • org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(boolean) @bci=15, line=550 (Interpreted frame)
        ...

            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: