libthr question

Paul Khavkine paul.khavkine at distributel.ca
Tue Jan 31 12:58:32 PST 2006



Hi guys.


I'm having a weird problem. I have an application (FreeRADIUS) that
seems to behave very strangly:

1) Compiled against libpthread it simply crashed during a stress test.
Always with Signal 6, mostly with "free(): chunk is already free" error.

2) Compiled against libthr, after processing a certain number of
requests, the process simply hangs and stops responding. When it does
that all threads that were active stay running. When i do top
i see ALOT of threads in "lthr" state, and a few in "umtx" state, like
this:


72201 root      96    0  5708K  3968K lthr   1   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K lthr   0   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K umtx   1   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K umtx   0   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K lthr   0   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K lthr   1   0:01  0.00%  0.00%
radiusd


Any pointers on hoe to debug it ? Where to start ?



Thanx
Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20060131/11a80e88/attachment.bin


More information about the freebsd-threads mailing list