Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Communication Framework » TCF / Linux error signal 11 ? (TCF )
TCF / Linux error signal 11 ? [message #1799004] Wed, 28 November 2018 14:59 Go to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member

I am still troubleshooting the Zero TCF issue.
After adding -marm I get this error in "Debug" perspective.
Per my research it indicates incompatibility of code in TCF - so nothing new here, that has been identified as a main issue.
I am asking forum to help me find description of (Linux) "signal" in general and perhaps "signal 11" in particular.
I got as far as this link - but it is a dead end
https://www.tutorialspoint.com/unix/unix-signals-traps.htm

Debug output:
ZERO Debug (TCF Agent: Disconnected): All exited or detached, signal 11

I have also found a note about "hardware breakpoints are enabled by default "
To disable them this was suggested:

make CFLAGS=-DENABLE_HardwareBreakpoints=0 clean all

Now I need help with - where in Eclipse "settings" to add this option.
I did put it in "Gross G ++ compile -> Miscellaneous -> Other flags as
-DENABLE_HardwareBreakpoints=0 clean all

assuming I am already adding to CFLAGS , but it did not compile.


The basic issue still remains - the C++ code has to be complied to match TCF armv6 hardware - all of the above is not solving that and I do not expect it should.

So far this exercise is just learning process troubleshooting TCF in Eclipse IDE



Re: TCF / Linux error signal 11 ? [message #1799028 is a reply to message #1799004] Wed, 28 November 2018 23:37 Go to previous message
Eugene Tarassov is currently offline Eugene TarassovFriend
Messages: 17
Registered: July 2009
Junior Member
I've tested TCF on RPi Zero and not found any issues.
Everything appears working fine.

Here is how I build and run TCF agent on RPi Zero:

sudo apt install git libssl-dev uuid-dev
git clone https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git
cd org.eclipse.tcf.agent/agent
make CONF=Release
obj/GNU/Linux/arm/Release/agent

> ZERO Debug (TCF Agent: Disconnected): All exited or detached, signal 11

This does not really indicate an issue in TCF itself.
The signal is received by the application your are debugging.
And signal 11 is SIGSEGV - invalid pointer dereference.

> Now I need help with - where in Eclipse "settings" to add this option.

I'm not sure what you mean. -DENABLE_HardwareBreakpoints=0 is TCF agent option, and you don't need Eclipse to build and run the agent.
Previous Topic:Installing TCF on Raspberry Pi Zero
Next Topic:Debugger hang on _dl_debug_state on linux/i.MX7
Goto Forum:
  


Current Time: Thu Dec 03 11:11:33 GMT 2020

Powered by FUDForum. Page generated in 0.01394 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top