From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT; YComp 5.0.2.6) Description of problem: gethostbyname_r <gethostbyname_r> () from libc.so.6 gethostbyname_r@@GLIBC_2.1.2 <mailto:gethostbyname_r@@GLIBC_2.1.2> () from libc.so.6 __nss_hostname_digits_dots () from libc.so.6 __res_ninit () from libc.so.6 __res_vinit () from libc.so.6 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.try calling gethostbyname_r call in any test program 2. 3. Actual Results: dumps core Expected Results: ip addr Additional info: --i don't have much to say
What NSS modules you're using (cat /etc/nsswitch.conf at least), can you write a simple testcase which reproduces your problems? gethostbyname_r certainly works here, so we need more details.
Jakub, thanks for your attention, please let me know the glibc version which you are using. I will give test program, once I confirm on the glibc version.
Usually the latest (rawhide, taroon). ATM glibc-2.3.2-{78,80}.
Ping. What's the status of this? Did you try a newer release?
I was having problem glib-2.3.2-27.9. As per this url (https://rhn.redhat.com/errata/RHBA-2003-136.html) i don't see later version of glibc published R you suggesting me to use glibc from open source . We ideally won' t use open source glibc for our product. We would prefer one from RedHat itself
There is newer code at ftp://people.redhat.com/jakub/glibc/errata/2.3.2-27.9.4/ Alternatively use the rawhide code (soon in the official Fedora Core 1 release). Try it and let us know.
Problem had something to do with OS install on m/c. After re-install of OS problem is not reproducible. Thanks for you support
User problem. Closing.