Re: debugging syntasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/04/2013 03:30 AM, Anand Avati wrote:
> Summarizing some steps which might help others who are debugging
> synctask related issues. Since synctasks uses swapcontext() to switch
> among themselves, the pthread stack would only be representing the
> current executing tasks stack alone (which usually would be the
> syncenv_processor() scheduler.) To inspect the "stack backtrace" of
> other synctasks:
> 
> 0. Attach gdb to the live running (possibly deadlocked or hung) process.
> This approach does not work on a core dump (there might be a way to
> apply the same principles on a core dump, any suggestions welcome)
> 
> ...


Is there any reasonable way to get such listings for *all* synctasks?
That would probably be pretty handy.  I suppose I should put my
collection of Gluster-related gdb macros on the forge or something, and
I could include this.  Thanks!



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux