This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/14498] New: default /var/db/services.db triggers infinite CPU loop with getaddrinfo()
- From: "vapier at gentoo dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 20 Aug 2012 03:26:40 +0000
- Subject: [Bug network/14498] New: default /var/db/services.db triggers infinite CPU loop with getaddrinfo()
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14498
Bug #: 14498
Summary: default /var/db/services.db triggers infinite CPU loop
with getaddrinfo()
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: network
AssignedTo: unassigned@sourceware.org
ReportedBy: vapier@gentoo.org
CC: toolchain@gentoo.org
Classification: Unclassified
Host: x86_64-linux-gnu
using the default /var/db/Makefile provided by glibc:
cd /var/db
rm -f *.db
make
then running a simple getaddrinfo() request:
wget https://432020.bugs.gentoo.org/attachment.cgi?id=321736 -O test.c
gcc test.c
./a.out
<hang>
seems like we trigger an infinite cpu loop somewhere in the look up logic
(all details and example code provided by Maxim Kammerer)
reproduced with glibc-2.15 and 2.16
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.