Bug 482618 - ARM Crawler issue and question
Summary: ARM Crawler issue and question
Status: NEW
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 13:08 EST by xavier pouyollon CLA
Modified: 2015-12-03 03:09 EST (History)
1 user (show)

See Also:


Attachments
Screenshot and dump (2.47 MB, application/zip)
2015-11-19 13:08 EST, xavier pouyollon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xavier pouyollon CLA 2015-11-19 13:08:22 EST
Created attachment 258164 [details]
Screenshot and dump

Hi Eugene,

In the attachement, you can find a backtrace that "repeats itself" forever.
We are stopped at 0xb6f55830 which is 0xce830 in dump.txt

ce830 is a jump to _exit.

When I look at _exit, there is no detectable epilogue. 
But the sp register has been changed, pc is seen unchanged, so we have a new level and so on.

This happens when we are stopped in a function that has been spawned by pthread_create (we have an agent running on wrLinux arm).

With the design of the arm crawler, I see no way to fix this.
Any ideas ?

PS : As you can see in the screenshot, the debugger seems not able to display the function names. libc-2.20.so has NO .symtab section, only .dynsym. Can TCF agent can take usage of .dynsym to retrieve the symbol name ?)

Thanks !
Xavier.
Comment 1 Eugene Tarassov CLA 2015-11-22 20:46:04 EST
At the moment, I don't see how to improve detection of end of stack.

> Can TCF agent can take usage of .dynsym to retrieve the symbol name ?

Maybe. I'll look into it.
Comment 2 xavier pouyollon CLA 2015-11-23 02:57:06 EST
Thanks ! This way, we could use the BOTTOM_STACK_HOOK.
Comment 3 Eugene Tarassov CLA 2015-12-01 17:45:51 EST
> Can TCF agent can take usage of .dynsym to retrieve the symbol name ?

I have changed the code to always add dynamic symbols to search results.
Comment 4 xavier pouyollon CLA 2015-12-03 03:09:13 EST
Thanks !