How to get user level stack trace of an application from system crash

Anupam Kapoor anupam.kapoor at gmail.com
Wed Oct 7 06:09:00 EDT 2015


>>>>> [2015-10-07T14:55:07+0530]: "Shailendra Rana" (shailendra.rana1982):
,----[ shailendra.rana1982 ]
| The application traps file events and send them over to other system
| via TCP. This other machine is running a third party solution which
| process these events and sends the verdict to the application which
| passes on the same to fanotify based on which decision of access to a
| file is made. I have seen this freeze issue in case of network
| failures but those are identifiable. There are couple of cases
| mentioned below which may lead to this.
| 
| 1) The event is received by third party solution but it did not send
| the verdict to the application. In that scenario need to notify this
| third party for fixing the issue.
| 2) Verdict is received by an application but could not pass on the
| same to fantiofy maybe it is stuck in an infinite loop. In this case I
| need to work towards fixing my application.
| 
| In order to identify the correct root cause I would want to have a
| user level stack trace of this application. Using crash tool I could
| not figure out the same.
| 
| I am using 3.13.0-24-generic #47-Ubuntu.
`----
one word: libunwind

also, this is not a kernel topic, afaik....
-- 
kind regards
anupam



More information about the Kernelnewbies mailing list