Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4738

[drlvm][verifier] Eclipse 3.3 fails on recent Harmony with verify error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • Windows/Linux, release/debug

    Description

      Eclipse 3.3 fails on recent Harmony in the very beginning with verify error.

      The crash happens both on Windows and Linux and both release and debug builds of Classlib/DRLVM.
      The investigation shown that the failure happens in verifier (stack trace is below). DRLVM rebuild with "-Duse_original_verifier=true" helps.
      So this looks like a verifier regression.

      Stack trace:
      Uncaught exception in Thread-14:
      java.lang.VerifyError:
      com/ibm/icu/impl/ICUResourceBundleImpl/getBundle()Lcom/ibm/icu/impl/ICUResourceBundle;,
      pass: 2, instr: 32, reason: incompartible argument
      at java.lang.ClassLoader.defineClass0(ClassLoader.java)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
      at
      org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
      at
      org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
      at
      org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
      at
      org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
      at
      org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
      at
      org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
      at
      org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
      at
      org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
      at
      org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
      at
      org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
      at
      org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
      at
      com.ibm.icu.impl.ICUResourceBundle.instantiateBundle(ICUResourceBundle.java:1195)
      at
      com.ibm.icu.impl.ICUResourceBundle.getBundleInstance(ICUResourceBundle.java:1163)
      at
      com.ibm.icu.util.UResourceBundle.getRootType(UResourceBundle.java:418)
      at
      com.ibm.icu.util.UResourceBundle.instantiateBundle(UResourceBundle.java:466)
      at
      com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.java:123)
      at
      com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.java:105)
      at
      com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.java:186)
      at
      com.ibm.icu.text.RuleBasedCollator.<clinit>(RuleBasedCollator.java:1764)
      at
      com.ibm.icu.text.CollatorServiceShim$1$CollatorFactory.handleCreate(CollatorServiceShim.java:114)
      at
      com.ibm.icu.impl.ICULocaleService$LocaleKeyFactory.create(ICULocaleService.java:378)
      at com.ibm.icu.impl.ICUService.getKey(ICUService.java:463)
      at com.ibm.icu.impl.ICUService.getKey(ICUService.java:383)
      at com.ibm.icu.impl.ICULocaleService.get(ICULocaleService.java:72)
      at com.ibm.icu.impl.ICULocaleService.get(ICULocaleService.java:56)
      at
      com.ibm.icu.text.CollatorServiceShim.getInstance(CollatorServiceShim.java:34)
      at com.ibm.icu.text.Collator.getInstance(Collator.java:483)
      at com.ibm.icu.text.Collator.getInstance(Collator.java:315)
      at
      org.eclipse.ui.actions.PerspectiveMenu$2.<init>(PerspectiveMenu.java:76)
      at
      org.eclipse.ui.actions.PerspectiveMenu.<init>(PerspectiveMenu.java:75)
      at
      org.eclipse.ui.internal.ChangeToPerspectiveMenu.<init>(ChangeToPerspectiveMenu.java:36)
      at
      org.eclipse.ui.actions.ContributionItemFactory$6.create(ContributionItemFactory.java:189)
      at
      org.eclipse.ui.internal.ide.WorkbenchActionBuilder.addPerspectiveActions(WorkbenchActionBuilder.java:688)
      at
      org.eclipse.ui.internal.ide.WorkbenchActionBuilder.createWindowMenu(WorkbenchActionBuilder.java:665)
      at
      org.eclipse.ui.internal.ide.WorkbenchActionBuilder.fillMenuBar(WorkbenchActionBuilder.java:453)
      at
      org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:150)
      at
      org.eclipse.ui.internal.ide.WorkbenchActionBuilder.fillActionBars(WorkbenchActionBuilder.java:360)
      at
      org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3294)
      at
      org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:380)
      at
      org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1725)
      at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1724)
      at
      org.eclipse.ui.internal.Workbench$18.runWithException(Workbench.java:1001)
      at
      org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at
      org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      at
      org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
      at
      org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
      at
      org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:797)
      at
      org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
      at
      org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at
      org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      at
      org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
      at
      org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      at
      org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      at
      org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      at
      org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at
      org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      at
      org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
      at
      org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      at
      org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      at
      org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      at
      org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      at java.lang.reflect.Method.invoke(Method.java:317)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
      at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      at java.lang.reflect.Method.invoke(Method.java:317)
      at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

      Attachments

        1. inheritance_fix.patch
          3 kB
          Alexei Fedotov

        Activity

          People

            gshimansky Gregory Shimansky
            cap Alexey Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: