e2Studio UI Freezes

I have been having this problem periodically and I don't know what triggers it, and the times it has happened I don't know what cures it.

e2Studio Version : 5.4.0.018

Processor : RX71N

OS : Windows 10

The problem seems to happen with no particular cause.

The symptom is that the UI can take a minute or more to respond when a breakpoint is hit or when a single step is requested.  When the breakpoint is hit I can see in the console that it has triggered, but the UI doesn't respond for a minute or more.

When I look at the Windows Task Manager it says e2Studio is running and using 15% of the CPU but nothing is happening.

Anybody got any ideas?

  • RX71N??
    Do you use simulator or emulator?

  • I suppose e2 studio is trying to contact either a network drive or to contact some remote PC via network or internet.
    No idea what to do about it.
    You could try later versions 6.3 or 7.2 from the Renesas homepage.
  • In reply to Okra:

    Hi Okra,
    Sorry, I'm using 62, 63, and now the 71 so I get the Ns and Ms nixed up sometimes.
    I am using an E1 emulator/JTAG connection to run on our board.
    I have re-installed e2Studio 3 times over the last couple of days. No change in behavior.
  • In reply to FrankL:

    Hi Frank,
    I installed version 7.2 and made the minor changes necessary to get it to build with my makefiles.
    After half a day of install and setup it exhibits the same behavior.
  • In reply to Jack:

    Hi Frank,
    I just ran it again and there is 0 network activity on the PC when the problem occurs. e2Studio is however using over a Gig of memory. That sure seems excessive.
  • Well I haven't found a solution but I do have this log entry. Does this mean anything to anyone? I am not an Eclipse internals guy so I don't know what it all means as far as the stack trace.
    -----------------------------------------------------------------------------------------------
    !ENTRY com.renesas.cdt.debug.ioview.dsf 1 0 2019-01-24 15:07:13.171
    !MESSAGE Creating new Model for gdb[0].proc[1].threadGroup[i1]

    !ENTRY com.renesas.cdt.debug.ioview.dsf 1 0 2019-01-24 15:07:13.171
    !MESSAGE Loading Io Map: C:\Renesas\e2_studio\internal\IoFiles\RX\RX71M.sfrx

    !ENTRY org.eclipse.ui.monitoring 2 0 2019-01-24 15:07:14.250
    !MESSAGE UI freeze of 0.59s at 15:07:13.656
    !SUBENTRY 1 org.eclipse.ui.monitoring 1 0 2019-01-24 15:07:14.250
    !MESSAGE Sample at 15:07:14.009 (+0.353s)
    Thread 'main' tid=1 (TIMED_WAITING)
    !STACK 0
    java.lang.Exception: Stack Trace
    at java.lang.Object.wait(Native Method)
    at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:128)
    at com.renesas.cdt.debug.eventpoints.actions.AbstractRulerAction.getEventpointManager(AbstractRulerAction.java:335)
    at com.renesas.cdt.debug.eventpoints.actions.EventpointEditActionDelegate$EventpointEditAction.update(EventpointEditActionDelegate.java:152)
    at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.update(AbstractRulerActionDelegate.java:132)
    at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.setActiveEditor(AbstractRulerActionDelegate.java:89)
    at org.eclipse.ui.internal.EditorPluginAction.editorChanged(EditorPluginAction.java:71)
    at org.eclipse.ui.internal.EditorPluginAction.<init>(EditorPluginAction.java:34)
    at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:262)
    at org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:176)
    at org.eclipse.ui.internal.ViewerActionBuilder.createActionDescriptor(ViewerActionBuilder.java:51)
    at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:161)
    at org.eclipse.ui.internal.ViewerActionBuilder.readElement(ViewerActionBuilder.java:82)
    at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:145)
    at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:134)
    at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144)
    at org.eclipse.ui.internal.ViewerActionBuilder.readElement(ViewerActionBuilder.java:82)
    at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:145)
    at org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader.java:156)
    at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:177)
    at org.eclipse.ui.internal.PluginActionBuilder.readContributions(PluginActionBuilder.java:114)
    at org.eclipse.ui.internal.ViewerActionBuilder.readViewerContributions(ViewerActionBuilder.java:100)
    at org.eclipse.ui.internal.PopupMenuExtender.readStaticActionsFor(PopupMenuExtender.java:529)
    at org.eclipse.ui.internal.PopupMenuExtender.addMenuId(PopupMenuExtender.java:237)
    at org.eclipse.ui.internal.PartSite.registerContextMenu(PartSite.java:123)
    at org.eclipse.ui.internal.EditorSite.registerContextMenu(EditorSite.java:160)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3561)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447)
    at org.eclipse.cdt.internal.ui.editor.asm.AsmTextEditor.createPartControl(AsmTextEditor.java:146)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:151)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:341)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
    at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.createElement(PartServiceImpl.java:1209)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1170)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:400)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3204)
    at org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3167)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3149)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3144)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3108)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)
    at org.eclipse.cdt.dsf.debug.ui.sourcelookup.DsfSourceDisplayAdapter$DisplayJob$3.run(DsfSourceDisplayAdapter.java:420)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.cdt.dsf.debug.ui.sourcelookup.DsfSourceDisplayAdapter$DisplayJob.openEditor(DsfSourceDisplayAdapter.java:425)
    at org.eclipse.cdt.dsf.debug.ui.sourcelookup.DsfSourceDisplayAdapter$DisplayJob.openEditor(DsfSourceDisplayAdapter.java:394)
    at org.eclipse.cdt.dsf.debug.ui.sourcelookup.DsfSourceDisplayAdapter$DisplayJob.runInUIThread(DsfSourceDisplayAdapter.java:330)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:172)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:387)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284)
    at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:997)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:1032)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:1007)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.launchInForeground(DebugUIPlugin.java:1137)
    at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:776)
    at org.eclipse.debug.ui.actions.LaunchAction.run(LaunchAction.java:80)
    at org.eclipse.debug.ui.actions.LaunchAction.runWithEvent(LaunchAction.java:125)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
  • In reply to Jack:

    Hello, Jack.

    I wonder why the EventPoint Manager is not responding, but "Loading Io Map ...sfrx" is normally seen in debugger launching process.
    Looks nothing is wrong about the IO map file.

    Strange behaviors might be from dirty workspace.
    Have you try creating a new folder as workspace and import the project into it?

  • In reply to Okra:

    Well I am COMPLETELY frustrated.I have been working with these toolsets from both KPIT and Renesas for over 6 years with hardly a problem. Now I'm pretty much dead in the water between random "disconnect from target debugger" on launch, and the UI freeze and hang when a breakpoint is hit. No one has seen this before? No one has any ideas?
  • In reply to Jack:

    Hello, Jack.

    The UI freeze message could be relevant to this issue, but not sure.
    I myself see UI freeze up to 13sec, but still looks working normally.

    Have you checked "gdb traces" console which tells more detailed information about debugger activity?
    By pinning console (the button is at up-right corner of console), you could see how debugger behaves while operation.

  • In reply to Okra:

    Okra,

    Have you resolved your issues?
    Is your Java runtime environment up to date?

    Mike Clements
    RenesasRulz Moderator
  • In reply to Jack:

    Hello, Jack.

    How things are going on now?
    Further comments or any issues?

  • In reply to Okra:

    Sorry, I forgot to come back.
    Yes I solved it. And the answer is...
    When GDB is called with the "-v" verbose output, which I tried to do to see more about my other problem, the debugger immediately disconnects from the emulator after the program is downloaded.
    Happens every time! Put in -v, fails. Take it out, works.
  • In reply to Jack:

    Hello, Jack.

    Good to work, anyway.

    Although -v GDB server option may not work (because it is for command operation), but GDB command "set verbose on" would still work.