glibc crashes in getaddrinfo and gethostbyname_r on SMP machines

Bug #328124 reported by gcc
2
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

A bug was discovered in glibc on 2006/04/14:

  http://sourceware.org/bugzilla/show_bug.cgi?id=2571

where code using getaddrinfo and gethostbyname_r in threaded applications would sometimes crash due to a race condition. A patch was created by glibc maintainers:

  http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_helper.c.diff?r1=1.15&r2=1.16&cvsroot=glibc

and applied to Fedora in the same month. However it was not applied to Dapper Drake (not present in libc6_2.3.6-0ubuntu20.5 sources) and the problem still exists there.

chris@fen-apps(glibc-2.3.6)$ lsb_release -rd
Description: Ubuntu 6.06.2 LTS
Release: 6.06

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.