[Bug 5954] res_nclose never returns

bugzilla at busybox.net bugzilla at busybox.net
Tue Feb 19 18:02:44 UTC 2013


--- Comment #2 from Bernhard Reutner-Fischer <aldot at uclibc.org> 2013-02-19 18:03:07 UTC ---
(In reply to comment #0)
> Created attachment 4760 [details]
> demo program
> The connman 1.10 package in buildroot uses the res_nclose function as part of
> shutting down it's internal resolver representation. Since commit
> 1f9808dbf74fb771f6a631a4f37a2f2c3b9e4643 this function has a noreturn
> attribute, and a while(1)..; at the end of it, causing it to spin forever and
> use 100% cpu when res_nclose is called.
> This doesn't seem correct and the noreturn attribute and the loop should
> probably be removed.

yes, looks like.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the uClibc-cvs mailing list