Bug 89026
Summary: | getifaddrs segfaults with moderate number of ipv6 secondary addresses | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mark McCallister <rhbugs> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED UPSTREAM | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | drepper, fweimer, howard |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-04-17 02:12:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark McCallister
2003-04-16 18:01:21 UTC
I assume you meant you have 40 addresses associated with an interface (and not 40 DNS entries). I set up my test machine like this and a test program crashed indeed. So I cleaned up the file a bit more and added a few checks and now it's working nicely. The result is in the official CVS glibc archive and will be in the next binary release we make. I have downloaded the rawhide release of glibc (2.3.2-57) June 24 2003 - 19:49 and tried this out on a Redhat 9 system. The system freezes inside the su/sudo suite with this library installed. I have then retrofitted the ifaddrs.c code to the release 9 update glibc-2.3.2-27.9 and again see the same problem. Before I go away and bash this code to death, any suggestions as to where I look for what is wrong. Note, I am running systems with 60+ addresses allocated to their interfaces and thus the getifaddrs function cores on me. I have observed that the new code does work with wire-test, which bashes this area of the glibc, but cannot test on an example system with lots of addresses at present. So problem is a side effect - library incompatibility after build? There is a RHL9 errata test release at ftp://people.redhat.com/jakub/glibc/errata/2.3.2-27.9.4/ Try that. You should mix and match rawhide glibc and RHL9 userland. Oh, and reopen the bug if you still have problems. If you don't change the state I won't see the bug. |