Project

General

Profile

Actions

Bug #4979

closed

[vhdl][parser] Исключение при запуске VhdlParser

Added by Alexander Kamkin over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
06/10/2014
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

java.nio.channels.OverlappingFileLockException
    at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
    at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
    at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
    at java.nio.channels.FileChannel.tryLock(Unknown Source)
    at org.zamia.zdb.ZDB.doLock(ZDB.java:928)
    at org.zamia.zdb.ZDB.start(ZDB.java:152)
    at org.zamia.zdb.ZDB.<init>(ZDB.java:141)
    at org.zamia.ZamiaProject.<init>(ZamiaProject.java:112)
    at org.zamia.ZamiaProject.<init>(ZamiaProject.java:97)
    at org.zamia.ZamiaProject.<init>(ZamiaProject.java:167)
    at ru.ispras.retrascope.parser.vhdl.VhdlParser.start(Unknown Source)
    at ru.ispras.retrascope.basis.ToolChain.start(Unknown Source)
    at ru.ispras.retrascope.Retrascope$Run.start(Unknown Source)
    at ru.ispras.retrascope.Retrascope.main(Unknown Source)
    at ru.ispras.retrascope.ide.dialogs.ToolLaunchDialog.okPressed(ToolLaunchDialog.java:39)
    at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:476)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
    at org.eclipse.jface.window.Window.open(Window.java:802)
    at ru.ispras.retrascope.ide.actions.RetrascopeAction.run(RetrascopeAction.java:35)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Actions #1

Updated by Sergey Smolov over 10 years ago

  • Status changed from New to Open
Actions #2

Updated by Sergey Smolov over 10 years ago

  • Status changed from Open to Resolved
  • Assignee changed from Sergey Smolov to Alexander Kamkin

Существует простой способ устранения этой ошибки. Он заключается в создании системной переменной ZAMIA_LOCKING со значением disabled. Если таковую создать, то ошибка исчезает.

Пока реализовал инициализацию переменной в VHDL-парсере. Ошибка не проявляется. Необходимо протестировать работу инструмента в ОС, где переменная ранее не создавалась для исключения повторения ошибки.

Actions #3

Updated by Sergey Smolov over 10 years ago

  • Status changed from Resolved to Open
  • Assignee changed from Alexander Kamkin to Sergey Smolov

Проверил работу инструмента в виртуальной машине. Ошибка по-прежнему возникает.

Actions #4

Updated by Sergey Smolov over 10 years ago

  • Status changed from Open to Resolved
  • Assignee changed from Sergey Smolov to Alexander Kamkin

Для служебной структуры ZamiaProject не делалось завершение (shutdown) по окончании построения IG и извлечения из него CFG.
Сейчас ошибка не воспроизводится.

Actions #5

Updated by Alexander Kamkin over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF