As per the asterisk issue, there is a double-close bug in the asterisk http manager code. This can cause a massive number of random failures throughout the entirety of asterisk on pretty much any dynamically opened fd and can explain quite a number of the issues I've seen over the last month or so. I've rolled a patch I'm about to attach. I suggest this gets added to the patch set for <=1.8.7.0, but will need to be removed again for >=1.8.7.0 as I suspect the fix will go into 1.8.7.0 (unconfirmed). Reproducible: Always
Created attachment 289439 [details, diff] ast_manager.patch Ok, my mistake, been out of the loop for more than a week, I note 1.8.7.0 has already been released, so will probably only go into 1.8.8 :(.
+*asterisk-1.8.7.0-r1 (12 Oct 2011) + + 12 Oct 2011; Tony Vroon <chainsaw@gentoo.org> -asterisk-1.8.7.0_rc2.ebuild, + +asterisk-1.8.7.0-r1.ebuild: + Install the provided radius dictionary, closes bug #383911 by Oleg Gawriloff. + Close manager file descriptors once, not twice as per Jaco Kroon in bug + #386633. Remove release candidate now that the final release is available.