This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FCatch


Mike Cvet wrote:
I just committed a new tool in /bindir called fcatch. Its purpose was to
originally detect an exit (abnormal or otherwise) of a process and
generate a stack trace at that point before the exit.

Due to some current limitations with the TerminatingObserver and
libunwind, fcatch at this point intercepts all signals and prints a
stack trace from the receiving thread. Hopefully multithreaded support
will come soon.
The limitation is coming from the kernel.

The kernel revokes access to /proc (esp /proc/mem, and /proc/maps) prior to notifying frysk of the process terminating event. This leaves frysk with only ptrace access, lame.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]