Hi All.
In brief - I’ve encountered a fatal error while attempting to launch a TCF remote debugging session. I get a stack overflow from Eclipse. The .log file contains this error, which explains the stack overflow:
!ENTRY org.eclipse.core.jobs 4 2 2016-11-29 16:38:36.504
!MESSAGE An internal error occurred during: "Launching XXXXXXXX".
!STACK 0
java.lang.StackOverflowError
at org.eclipse.core.internal.dtree.DeltaDataTree.lookup(DeltaDataTree.java:682)
at org.eclipse.core.internal.watson.ElementTree.includes(ElementTree.java:529)
at org.eclipse.core.internal.resources.Workspace.getResourceInfo(Workspace.java:1698)
at org.eclipse.core.internal.resources.Resource.getResourceInfo(Resource.java:1201)
at org.eclipse.core.internal.resources.Project.getReferencedProjects(Project.java:468)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:247)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:249)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:249)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:249)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:249)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:249)
at com.xilinx.sdk.tcf.debug.launch.XilinxTCFLaunchDelegate.addToBuildOrder(XilinxTCFLaunchDelegate.java:249)
[1000+ identical lines skipped]
followed by this error:
!ENTRY org.eclipse.tcf 4 0 2016-11-30 12:48:32.182
!MESSAGE TCF channel terminated
!STACK 0
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:209)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at org.eclipse.tcf.core.ChannelTCP.get(ChannelTCP.java:162)
at org.eclipse.tcf.core.StreamChannel.read(StreamChannel.java:84)
at org.eclipse.tcf.core.AbstractChannel$1.run(AbstractChannel.java:254)
and finally a dialog suggesting that it’s time to exit Eclipse.
This setup has been working for many months. It worked earlier in the day. I move a couple of files between projects (not suggesting that’s significant, though), and now one of the two executable projects fails like this – the other is still working fine.
I’m using the Xilinx SDK 2016.1 (Eclipse 4.5, CDT 8.8) on Windows 10, doing cross-platform development for Ubuntu 14.4 on 32-bit ARM. I’ve been using the TCF agent pulled from git on 24 June.
Help?
-Nick