gcore thread problem?

David Xu davidxu at freebsd.org
Thu Nov 23 00:01:53 UTC 2006


On Wednesday 22 November 2006 20:12, Vaidehi Shukla wrote:
> Hi All,
>
> 'gcore' doesn't display correct backtrace (info threads) for multi-threaded
> application. Is there any way to get correct backtrace (i.e. info threads)
> with gcore in freebsd?. Let me know if you can suggest some method to get
> correct backtrace.
>
> Thanks & Regards,
> Vaidehi

I think it becauses threaded application does not work correctly with
procfs, one problem is gcore is using files in /proc to get information,
if an application has thousands of thread, should kernel create so much
vnode for the application ? it seems to be overkill.

David Xu


More information about the freebsd-threads mailing list