Hi Nick,
According to the stack trace, offending code in not part of Eclipse TCF. It is Xilinx extension, owned by Xilinx SDK team. You have to contact them through Xilinx customer
support channels, for example, using Xilinx Community Forums. Also, I suggest to try latest SDK version, 2016.3. BTW, cross-platform development for Ubuntu on 32-bit ARM is possible with plain vanilla Eclipse, Xilinx SDK is not really needed for that.
Regards,
Eugene
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx]
On Behalf Of tcf-dev.1.orinc@xxxxxxxxxxxxxxx
Sent: Wednesday, November 30, 2016 3:24 PM
To: tcf-dev@xxxxxxxxxxx
Subject: [tcf-dev] Stack overflow when launching debug session
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