Bug 1032225

Summary: [abrt] bind-utils-9.9.4-8.fc20: getaddresses: Process /usr/bin/dig was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Juan Orti <jorti>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jorti, psimerda, thozza, vonsch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d28937b4fe78368fc2bf021fcb4580d071383c31
Whiteboard: abrt_hash:b73deb911aae1090423dba5bb956e29df7a7cd48
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-16 09:11:03 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:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
Full abrt dump
none
rpm -qa
none
dig -d -q -m MX gmail.com
none
dig -d MX gmail.com none

Description Juan Orti 2013-11-19 18:12:38 UTC
Description of problem:
dig MX example.com @8.8.8.8

Version-Release number of selected component:
bind-utils-9.9.4-8.fc20

Additional info:
reporter:       libreport-2.1.9
backtrace_rating: 4
cmdline:        dig MX @8.8.8.8 miceliux.com
crash_function: getaddresses
executable:     /usr/bin/dig
kernel:         3.11.8-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (1 frames)
 #1 getaddresses at dighost.c:3685

Comment 1 Juan Orti 2013-11-19 18:12:48 UTC
Created attachment 826227 [details]
File: backtrace

Comment 2 Juan Orti 2013-11-19 18:12:52 UTC
Created attachment 826228 [details]
File: cgroup

Comment 3 Juan Orti 2013-11-19 18:12:56 UTC
Created attachment 826229 [details]
File: core_backtrace

Comment 4 Juan Orti 2013-11-19 18:13:00 UTC
Created attachment 826230 [details]
File: dso_list

Comment 5 Juan Orti 2013-11-19 18:13:05 UTC
Created attachment 826231 [details]
File: environ

Comment 6 Juan Orti 2013-11-19 18:13:09 UTC
Created attachment 826232 [details]
File: exploitable

Comment 7 Juan Orti 2013-11-19 18:13:12 UTC
Created attachment 826233 [details]
File: limits

Comment 8 Juan Orti 2013-11-19 18:13:17 UTC
Created attachment 826234 [details]
File: maps

Comment 9 Juan Orti 2013-11-19 18:13:21 UTC
Created attachment 826235 [details]
File: open_fds

Comment 10 Juan Orti 2013-11-19 18:13:25 UTC
Created attachment 826236 [details]
File: proc_pid_status

Comment 11 Juan Orti 2013-11-19 18:13:28 UTC
Created attachment 826237 [details]
File: var_log_messages

Comment 12 Tomáš Hozza 2013-11-20 08:43:17 UTC
Hi.

Would it be possible to provide me a coredump?

Comment 13 Juan Orti 2013-11-20 09:55:17 UTC
Created attachment 826517 [details]
Full abrt dump

Comment 14 Tomáš Hozza 2013-11-28 17:22:37 UTC
Are you able to reproduce this issue? Unfortunately I'm not and looking
into the coredump and backtraces it really doesn't make any sense.

> Description of problem:
> Truncated backtrace:
> Thread no. 1 (1 frames)
>  #1 getaddresses at dighost.c:3685

point to a completely different part of the source compared to what I
get from the coredump...

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000000000040fd98 in send_udp (query=0x7f50d3e5b018) at dighost.c:2694
#2  0x00000000004118a3 in start_lookup () at dighost.c:1727
#3  0x0000000000413216 in onrun_callback (task=<optimized out>, event=0x0) at dighost.c:3751
#4  0x0000003325231826 in dispatch (manager=0x7f50d3e4b010) at task.c:1105
#5  run (uap=0x7f50d3e4b010) at task.c:1286
#6  0x0000003325e07f33 in start_thread (arg=0x7f50d3e45700) at pthread_create.c:309
#7  0x00000033256f4ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111


If you're able to reproduce it I would like to prepare a debug package for you
so I can get more information.(In reply to Juan Orti Alcaine from comment #0)

Comment 15 Juan Orti 2013-11-28 22:02:28 UTC
This problem is very weird, it's 100% reproducible in my main desktop PC, but I have other five F20 VMs where dig is working fine.
This computer was upgraded with fedup a month ago, and I have not got any problems with dig before.

I have reinstalled it with:
# yum remove bind-utils
# yum clean all
# yum install bind-utils

But the problem persists.

I can do all the testing you want, so if you build that debug version I'll try it.

Comment 16 Tomáš Hozza 2013-11-29 08:48:33 UTC
(In reply to Juan Orti Alcaine from comment #15)
> I can do all the testing you want, so if you build that debug version I'll
> try it.

Great.

For the start, could you please:
1. attach output of 'rpm -qa'
2. run dig with option '-d' and also '-q -m' and attach both outputs

Thanks in advance.

Comment 17 Juan Orti 2013-11-29 09:18:29 UTC
Created attachment 830550 [details]
rpm -qa

rpm -qa

Comment 18 Juan Orti 2013-11-29 09:19:29 UTC
Created attachment 830551 [details]
dig -d -q -m MX gmail.com

Comment 19 Juan Orti 2013-11-29 09:20:29 UTC
Created attachment 830552 [details]
dig -d MX gmail.com

Comment 20 Juan Orti 2013-12-13 17:04:12 UTC
I think I have fixed it. Some package I had installed must be broken. I did:
yum clean all
yum distro-sync
yum reinstall bind-libs bind-utils openssl openssl-libs krb5-libs libcap libxml2 glibc

These are the versions I have got now:
bind-libs-lite-9.9.4-8.fc20.x86_64
glibc-headers-2.18-11.fc20.x86_64
libxml2-2.9.1-2.fc20.x86_64
openssl-libs-1.0.1e-30.fc20.x86_64
openssl-libs-1.0.1e-30.fc20.i686
libcap-2.22-7.fc20.i686
glibc-2.18-11.fc20.i686
bind-libs-9.9.4-8.fc20.x86_64
glibc-debuginfo-common-2.18-11.fc20.x86_64
krb5-libs-1.11.3-33.fc20.i686
libcap-2.22-7.fc20.x86_64
glibc-common-2.18-11.fc20.x86_64
libcap-ng-0.7.3-6.fc20.x86_64
krb5-libs-1.11.3-33.fc20.x86_64
glibc-devel-2.18-11.fc20.x86_64
bind-utils-9.9.4-8.fc20.x86_64
openssl-1.0.1e-30.fc20.x86_64
libxml2-python-2.9.1-2.fc20.x86_64
glibc-debuginfo-2.18-11.fc20.x86_64
glibc-2.18-11.fc20.x86_64
libxml2-devel-2.9.1-2.fc20.x86_64

Comment 21 Tomáš Hozza 2013-12-16 09:11:03 UTC
(In reply to Juan Orti Alcaine from comment #20)
> I think I have fixed it. Some package I had installed must be broken. I did:
> yum clean all
> yum distro-sync
> yum reinstall bind-libs bind-utils openssl openssl-libs krb5-libs libcap
> libxml2 glibc
> 
> These are the versions I have got now:
> bind-libs-lite-9.9.4-8.fc20.x86_64
> glibc-headers-2.18-11.fc20.x86_64
> libxml2-2.9.1-2.fc20.x86_64
> openssl-libs-1.0.1e-30.fc20.x86_64
> openssl-libs-1.0.1e-30.fc20.i686
> libcap-2.22-7.fc20.i686
> glibc-2.18-11.fc20.i686
> bind-libs-9.9.4-8.fc20.x86_64
> glibc-debuginfo-common-2.18-11.fc20.x86_64
> krb5-libs-1.11.3-33.fc20.i686
> libcap-2.22-7.fc20.x86_64
> glibc-common-2.18-11.fc20.x86_64
> libcap-ng-0.7.3-6.fc20.x86_64
> krb5-libs-1.11.3-33.fc20.x86_64
> glibc-devel-2.18-11.fc20.x86_64
> bind-utils-9.9.4-8.fc20.x86_64
> openssl-1.0.1e-30.fc20.x86_64
> libxml2-python-2.9.1-2.fc20.x86_64
> glibc-debuginfo-2.18-11.fc20.x86_64
> glibc-2.18-11.fc20.x86_64
> libxml2-devel-2.9.1-2.fc20.x86_64

Great news. Strange thing is that version of your installed packages didn't
change.

Since you are not experiencing this issue any more, I'm closing this BZ as
NOTABUG. If you run into the same problem in the future and reinstalling
packages doesn't work for you, feel free to reopen this Bug.