Bug 401868 - Get incomplete stacktrace when interrupted in a thread
Summary: Get incomplete stacktrace when interrupted in a thread
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: 1.1   Edit
Hardware: PC Linux Qt
: P3 normal (vote)
Target Milestone: 1.1   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 05:14 EST by patrice guillemot CLA
Modified: 2013-06-05 04:40 EDT (History)
0 users

See Also:


Attachments
eclipse debug logs + screenshots (1.88 MB, application/x-zip-compressed)
2013-02-27 05:14 EST, patrice guillemot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description patrice guillemot CLA 2013-02-27 05:14:27 EST
Created attachment 227651 [details]
eclipse debug logs + screenshots

I am debugging a multi-threaded process. While the process is running, I interrupt the process. I get the stacktrace of the main thread that is interrupted. This stacktrace is incomplete. It has only the top frame that is in the libc.
If I re-build my tcf agent excluding the commit below, I get a complete stacktrace.

commit f9c62250f77d7c425db49cba34dbc8a14f3fb383
Author: Eugene Tarassov <eugene.tarassov@xilinx.com>
Date:   Thu Feb 21 20:37:59 2013 -0800

    TCF Agent: initial support for inlined stack frames
Comment 1 Eugene Tarassov CLA 2013-02-27 15:29:13 EST
It is a regression in handling of .eh_frame sections in shared libraries.
I have committed a fix.
Thanks.