Looks to me like this is a duplicate of Bug 739743. (the assert is in getaddrinfo(), and several other bugs have been filed against other packages with the same assert, eventually being marked as duplicates to the above.
*** This bug has been marked as a duplicate of bug 739743 ***