Red Hat Bugzilla – Bug 423741
resolver library causes segfaults in bind-utils such as dig,ping
Last modified: 2013-04-30 19:37:53 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:22.214.171.124) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/126.96.36.199
Description of problem:
Using 'dig +trace' can cause random segfaults.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. yum update to rhel 5.1
3. as root, 'while true; do dig +trace redhat.com >/dev/null; done'
Random segmentation faults.
Nothing, successful dig sent to /dev/null.
Ran gdb against core dump produced by dig:-
#0 0x00bc0d7a in bind9_getaddresses@plt () from /usr/bin/dig
#1 0x00d8f4e2 in isc_taskmgr_create () from /usr/lib/libisc.so.11
#2 0x0038e45b in start_thread () from /lib/libpthread.so.0
#3 0x004ee24e in clone () from /lib/libc.so.6
Download bind-9.4.2.tar.gz from isc.org
untar to /usr/local/src/
./configure && make && make install
add 'usr/local/lib' to /etc/ld.so.conf
rpm -e bind-utils-9.3.3-10.el5
rpm -e bind-libs-9.3.3-10.el5
as root, 'while true; do dig +trace redhat.com >/dev/null; done'
No more segfaults.
Created attachment 287681 [details]
console screenshot of segfaults
Attached console screenshot for clarity.
Would it be possible attach core dump? Please try
$ulimit -c unlimited
$'while true; do dig +trace redhat.com >/dev/null; done'
and then attach core file, please.
Created attachment 289061 [details]
core from segfault of dig +trace on rhel5.1
I think this problem is also fixed in 9.3.4-P1 which will be in 5.2. Would it be
possible test proposed update?
Thankyou - this update works fine.
Thanks for your feedback. Will be fixed in 5.2
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
I experience the same problem. Can you please make the src.rpm available again?
The segfault is affects our monitoring scripts. Thanks.
You can download it from http://people.redhat.com/atkac/bind/ (currently
9.3.4-6.P1.el5). That version should same as final 5.2 version
Thanks, I've figured that out right after I submitted the comment as well ;-) As
Any chance to push this out as an update?
(In reply to comment #14)
> Thanks, I've figured that out right after I submitted the comment as well ;-) As
> Any chance to push this out as an update?
Will be available in official RHEL 5.2 which is scheduled on 21st May 2008, not
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.