Debugging problems [message #120155] |
Wed, 08 September 2004 15:57 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: skahlon.genband.com
I keep getting the following exception (from .log) when trying to debug by
attaching to the already running process. The shared libraries do not get
loaded. I do see 5 threads under GDB Debugger in the Debug perspective.
But do not know where these are in context with my code. Any clues to
what might be wrong here. Thanks for your help.
!MESSAGE Internal Error
!STACK 1
org.eclipse.debug.core.DebugException: Target request failed: Previous
frame identical to this frame (corrupt stack?).
at
org.eclipse.cdt.debug.internal.core.model.CDebugElement.thro wDebugException(CDebugElement.java:303)
at
org.eclipse.cdt.debug.internal.core.model.CDebugElement.requ estFailed(CDebugElement.java:272)
at
org.eclipse.cdt.debug.internal.core.model.CDebugElement.targ etRequestFailed(CDebugElement.java:259)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.setCu rrentThread(CDebugTarget.java:1926)
at
org.eclipse.cdt.debug.ui.CDebugUIPlugin.selectionChanged(CDe bugUIPlugin.java:256)
at
org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(A bstractPartSelectionTracker.java:115)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
at org.eclipse.core.runtime.Platform.run(Platform.java:521)
at
org.eclipse.ui.internal.AbstractPartSelectionTracker.fireSel ection(AbstractPartSelectionTracker.java:113)
at
org.eclipse.ui.internal.WindowPartSelectionTracker$1.selecti onChanged(WindowPartSelectionTracker.java:38)
at
org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(A bstractPartSelectionTracker.java:115)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
at org.eclipse.core.runtime.Platform.run(Platform.java:521)
at
org.eclipse.ui.internal.AbstractPartSelectionTracker.fireSel ection(AbstractPartSelectionTracker.java:113)
at
org.eclipse.ui.internal.PagePartSelectionTracker$1.selection Changed(PagePartSelectionTracker.java:46)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
at org.eclipse.core.runtime.Platform.run(Platform.java:521)
at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:157)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:1310)
at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.java:666)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:690)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:178)
at
org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:173)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:309)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:752)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:738)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:5 38)
at
org.eclipse.swt.widgets.SelectableItemWidget$3.run(Selectabl eItemWidget.java:1698)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2426)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2206)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1562)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
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.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
!SUBENTRY 1 org.eclipse.cdt.debug.core 4 5010 Sep 08, 2004 10:39:35.676
!MESSAGE Target request failed: Previous frame identical to this frame
(corrupt stack?).
|
|
|
Re: Debugging problems [message #120509 is a reply to message #120155] |
Thu, 09 September 2004 16:08 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mikhailk.qnx.com
The "Previous frame identical to this frame (corrupt stack?)." message comes
from gdb. Get the gdb trace (CDT Debugger FAQ #5), it can be helpful.
"S Kahlon" <skahlon@genband.com> wrote in message
news:chna5s$pkq$1@eclipse.org...
>I keep getting the following exception (from .log) when trying to debug by
> attaching to the already running process. The shared libraries do not get
> loaded. I do see 5 threads under GDB Debugger in the Debug perspective.
> But do not know where these are in context with my code. Any clues to
> what might be wrong here. Thanks for your help.
>
>
> !MESSAGE Internal Error
> !STACK 1
> org.eclipse.debug.core.DebugException: Target request failed: Previous
> frame identical to this frame (corrupt stack?).
> at
> org.eclipse.cdt.debug.internal.core.model.CDebugElement.thro wDebugException(CDebugElement.java:303)
> at
> org.eclipse.cdt.debug.internal.core.model.CDebugElement.requ estFailed(CDebugElement.java:272)
> at
> org.eclipse.cdt.debug.internal.core.model.CDebugElement.targ etRequestFailed(CDebugElement.java:259)
> at
> org.eclipse.cdt.debug.internal.core.model.CDebugTarget.setCu rrentThread(CDebugTarget.java:1926)
> at
> org.eclipse.cdt.debug.ui.CDebugUIPlugin.selectionChanged(CDe bugUIPlugin.java:256)
> at
> org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(A bstractPartSelectionTracker.java:115)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
> at org.eclipse.core.runtime.Platform.run(Platform.java:521)
> at
> org.eclipse.ui.internal.AbstractPartSelectionTracker.fireSel ection(AbstractPartSelectionTracker.java:113)
> at
> org.eclipse.ui.internal.WindowPartSelectionTracker$1.selecti onChanged(WindowPartSelectionTracker.java:38)
> at
> org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(A bstractPartSelectionTracker.java:115)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
> at org.eclipse.core.runtime.Platform.run(Platform.java:521)
> at
> org.eclipse.ui.internal.AbstractPartSelectionTracker.fireSel ection(AbstractPartSelectionTracker.java:113)
> at
> org.eclipse.ui.internal.PagePartSelectionTracker$1.selection Changed(PagePartSelectionTracker.java:46)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
> at org.eclipse.core.runtime.Platform.run(Platform.java:521)
> at
> org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:157)
> at
> org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:1310)
> at
> org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.java:666)
> at
> org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:690)
> at
> org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:178)
> at
> org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:173)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:309)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:752)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:738)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:5 38)
> at
> org.eclipse.swt.widgets.SelectableItemWidget$3.run(Selectabl eItemWidget.java:1698)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2426)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2206)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1562)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> 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.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> !SUBENTRY 1 org.eclipse.cdt.debug.core 4 5010 Sep 08, 2004 10:39:35.676
> !MESSAGE Target request failed: Previous frame identical to this frame
> (corrupt stack?).
>
>
|
|
|
Re: Debugging problems [message #120548 is a reply to message #120509] |
Thu, 09 September 2004 17:03 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: skahlon.genband.com
Thanks Mikhail!
For some reason I am not getting this problem any more. I had some
plugins which I did not need, so decided on cleaning up the eclipse
installation. I reinstalled Eclipse and then CDT. I am not getting this
problem any more - but am getting other exceptions (to post separately).
Mikhail Khodjaiants wrote:
> The "Previous frame identical to this frame (corrupt stack?)." message comes
> from gdb. Get the gdb trace (CDT Debugger FAQ #5), it can be helpful.
> "S Kahlon" <skahlon@genband.com> wrote in message
> news:chna5s$pkq$1@eclipse.org...
> >I keep getting the following exception (from .log) when trying to debug by
> > attaching to the already running process. The shared libraries do not get
> > loaded. I do see 5 threads under GDB Debugger in the Debug perspective.
> > But do not know where these are in context with my code. Any clues to
> > what might be wrong here. Thanks for your help.
> >
> >
> > !MESSAGE Internal Error
> > !STACK 1
> > org.eclipse.debug.core.DebugException: Target request failed: Previous
> > frame identical to this frame (corrupt stack?).
> > at
> >
org.eclipse.cdt.debug.internal.core.model.CDebugElement.thro wDebugException(CDebugElement.java:303)
> > at
> >
org.eclipse.cdt.debug.internal.core.model.CDebugElement.requ estFailed(CDebugElement.java:272)
> > at
> >
org.eclipse.cdt.debug.internal.core.model.CDebugElement.targ etRequestFailed(CDebugElement.java:259)
> > at
> >
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.setCu rrentThread(CDebugTarget.java:1926)
> > at
> >
org.eclipse.cdt.debug.ui.CDebugUIPlugin.selectionChanged(CDe bugUIPlugin.java:256)
> > at
> >
org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(A bstractPartSelectionTracker.java:115)
> > at
> >
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
> > at org.eclipse.core.runtime.Platform.run(Platform.java:521)
> > at
> >
org.eclipse.ui.internal.AbstractPartSelectionTracker.fireSel ection(AbstractPartSelectionTracker.java:113)
> > at
> >
org.eclipse.ui.internal.WindowPartSelectionTracker$1.selecti onChanged(WindowPartSelectionTracker.java:38)
> > at
> >
org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(A bstractPartSelectionTracker.java:115)
> > at
> >
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
> > at org.eclipse.core.runtime.Platform.run(Platform.java:521)
> > at
> >
org.eclipse.ui.internal.AbstractPartSelectionTracker.fireSel ection(AbstractPartSelectionTracker.java:113)
> > at
> >
org.eclipse.ui.internal.PagePartSelectionTracker$1.selection Changed(PagePartSelectionTracker.java:46)
> > at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
> > at
> >
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:610)
> > at org.eclipse.core.runtime.Platform.run(Platform.java:521)
> > at
> > org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:157)
> > at
> >
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:1310)
> > at
> >
org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.java:666)
> > at
> >
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:690)
> > at
> >
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:178)
> > at
> > org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:173)
> > at
> > org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:309)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:752)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:738)
> > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:5 38)
> > at
> >
org.eclipse.swt.widgets.SelectableItemWidget$3.run(Selectabl eItemWidget.java:1698)
> > at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> > at
> >
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
> > at
> > org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2426)
> > at
> > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2206)
> > at
> > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1562)
> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
> > at
> > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> > at
> > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
> > at
> > org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> > at
> >
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:277)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:239)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> > 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.core.launcher.Main.basicRun(Main.java:267)
> > at org.eclipse.core.launcher.Main.run(Main.java:692)
> > at org.eclipse.core.launcher.Main.main(Main.java:676)
> > !SUBENTRY 1 org.eclipse.cdt.debug.core 4 5010 Sep 08, 2004 10:39:35.676
> > !MESSAGE Target request failed: Previous frame identical to this frame
> > (corrupt stack?).
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03839 seconds