Bug 724935 - [abrt] traceroute-2.0.17-2.fc15: __GI___libc_free: Process /bin/traceroute was killed by signal 11 (SIGSEGV)
Summary: [abrt] traceroute-2.0.17-2.fc15: __GI___libc_free: Process /bin/traceroute wa...
Keywords:
Status: CLOSED DUPLICATE of bug 725755
Alias: None
Product: Fedora
Classification: Fedora
Component: traceroute
Version: 15
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7f367c64d908962423f2f6e7fcb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-22 11:05 UTC by leandro
Modified: 2011-07-26 13:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-26 13:33:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
test for getaddrinfo() function (665 bytes, text/plain)
2011-07-25 15:07 UTC, Dmitry Butskoy
no flags Details

Description leandro 2011-07-22 11:05:42 UTC
abrt version: 2.0.3
architecture:   i686
backtrace_rating: 4
cmdline:        traceroute 'rese\xc3\xb1as.li'
comment:        traceroute reseñas.li
component:      traceroute
crash_function: __GI___libc_free
executable:     /bin/traceroute
kernel:         2.6.38.8-35.fc15.i686
os_release:     Fedora release 15 (Lovelock)
package:        traceroute-2.0.17-2.fc15
reason:         Process /bin/traceroute was killed by signal 11 (SIGSEGV)
time:           Fri Jul 22 12:56:28 2011
uid:            500
username:       leandro

backtrace:
:[New LWP 8986]
:Core was generated by `traceroute reseñas.li'.
:Program terminated with signal 11, Segmentation fault.
:#0  0x46c350a6 in __GI___libc_free (mem=0xbfe8f0e3) at malloc.c:3724
:3724	malloc.c: No such file or directory.
:	in malloc.c
:
:Thread 1 (LWP 8986):
:#0  0x46c350a6 in __GI___libc_free (mem=0xbfe8f0e3) at malloc.c:3724
:        ar_ptr = <optimized out>
:        p = 0xbfe8f0db
:        hook = <optimized out>
:#1  0x46c7f0f1 in gaih_inet (name=0xbfe8f0e3 "rese\303\261as.li", service=<optimized out>, req=0xbfe8d90c, pai=<optimized out>, naddrs=0xbfe8d8c0) at ../sysdeps/posix/getaddrinfo.c:1245
:        tp = <optimized out>
:        st = 0xbfe8d6d0
:        at = 0xbfe8d660
:        rc = 0
:        got_ipv6 = <optimized out>
:        canon = <optimized out>
:        orig_name = 0xbfe8f0e3 "rese\303\261as.li"
:        alloca_used = <optimized out>
:        port = <optimized out>
:        malloc_name = true
:        malloc_addrmem = false
:        addrmem = 0x0
:        malloc_canonbuf = false
:        canonbuf = 0x0
:        malloc_tmpbuf = false
:        tmpbuf = 0xbfe8d250 "\177"
:        result = 258
:#2  0x46c8222d in __GI_getaddrinfo (name=0xbfe8f0e3 "rese\303\261as.li", service=<optimized out>, hints=0xbfe8d90c, pai=0xbfe8d92c) at ../sysdeps/posix/getaddrinfo.c:2356
:        i = 0
:        last_i = 0
:        nresults = 0
:        p = 0x0
:        gaih_service = {name = 0xbfe8dabc "", num = 1186878502}
:        pservice = <optimized out>
:        local_hints = {ai_flags = -1075258692, ai_family = 1187203909, ai_socktype = 1188332512, ai_protocol = -1075258692, ai_addrlen = 1187203909, ai_addr = 0x46d46ff4, ai_canonname = 0xb77f6570 <Address 0xb77f6570 out of bounds>, ai_next = 0x46c61374}
:        in6ai = 0x808a948
:        in6ailen = 4
:        seen_ipv4 = true
:        seen_ipv6 = true
:        end = 0xbfe8d8b0
:        naddrs = 0
:#3  0x0804b52f in getaddr (name=0xbfe8f0e3 "rese\303\261as.li", addr=0x8053cf8) at traceroute.c:191
:        ret = <optimized out>
:        hints = {ai_flags = 64, ai_family = 0, ai_socktype = 0, ai_protocol = 0, ai_addrlen = 0, ai_addr = 0x0, ai_canonname = 0x0, ai_next = 0x0}
:        ai = <optimized out>
:        res = 0x0
:#4  0x0804b5e5 in set_host (argm=0x80537c0, arg=0xbfe8f0e3 "rese\303\261as.li", index=0) at traceroute.c:434
:No locals.
:#5  0x0804fc0a in CLIF_parse (argc=2, argv=0xbfe8dd14, option_list=0x8053380, argument_list=0x80537c0, parse_flags=65552) at clif.c:760
:        argm_index = "\000\000\000\000w\000\000\000|\000\000\000\364o\324F\017\001\000\000\340\203\324F`\247\b\bEK\303F'\030\303F\364o\324F\f\000\000\000\364o\324F\r\000\000\000\000\000\000\000`\247\b\b\317:\276F3\251\b\b\000\000\000\000\001\000\000\000\000\000\000\000\060\250\b\b\220\333\350\277`P\303F\a\000\000\000\364o\324F\364o\324F\227\301\320F0\250\b\b\340=\276F\000\000\000\000\000\250\b\b\304\317\273Fj&\272F\227\301\320F\bu\004\b\227\301\320F\220\333\350\277\240s\324F\021\000\000\000\227\301\320F\020\250\b\b\000\250\b\b\360\247\b\b\340\247\b\b\320\247\b\b\300\247\b\b\000\000\000\000\260\247\b\b\240\247\b\b\220\247\b\b\200\247\b\bp\247\b\b`\247\b\b\227\301\320F\350\241\b\b(\242\b\b\020\244\b\b\210\244\b\bh\245\b\b\000\000\000\000\250\245\b\b\340\245\b\b(\246\b\b\210\246\b\b"
:        i = <optimized out>
:        j = <optimized out>
:        optn = <optimized out>
:        argm = 0x80537c0
:        num_args = <optimized out>
:        num_argm = 2
:        strict_beg = 1
:        strict_end = 0
:        arg_n = "\001\000\000\000\n\000\000\000\000\000\000\000PU\031\000\027\000\000\000\v\000\000\000\000\000\000\000pU\031\000u\001\000\000\f\000\000\000\000\000\000\000\300th\267d\351\003\000\260X\177\267\066\000\000\000\360X\177\267\226\t\000\000\060^l\267v\372\022\000\220b\177\267\036\001\000\000\260c\177\267\071\000\000\000\003\000\000\000\"\000\000\000\360c\177\267\"\000\000\000 d\177\267M\000\000\000pd\177\267\233\000\000\000\020e\177\267;\000\000\000Pe\177\267\027\000\000\000pe\177\267\276\"\303F\034\325\273F\a\000\000\000\035\356\272F\a\000\000\000\020\000\000\000\276\"\303F\000\000\000\000\237\300\272F\000\000\000\000\000\000\000\000\020'\000\000\030\001\000\000\000\000\000\000\020\204\324F\030\204\324F\017\001\000\000#\000\000\000\004\000\000\000\000\000\000\000(\001", '\000' <repeats 14 times>, "#"...
:        dirty_flags = <optimized out>
:        dirty_plus = <optimized out>
:        exclusive_cnt = 0
:        posix = 0
:#6  0x0804932b in main (argc=2, argv=0xbfe8dd14) at traceroute.c:574
:No locals.
:From        To          Syms Read   Shared Object Library
:0x46d7e470  0x46d99b4c  Yes         /lib/libm.so.6
:0x46da8f30  0x46dbfc5c  Yes         /lib/libgcc_s.so.1
:0x46bd6d10  0x46cf4b84  Yes         /lib/libc.so.6
:0x46b9f850  0x46bb6aff  Yes         /lib/ld-linux.so.2
:0x00141b80  0x0014532c  Yes         /lib/libcidn.so.1
:0x007d2a40  0x007d9f3c  Yes         /lib/libnss_files.so.2
:0x00fc1810  0x00fc272c  Yes         /lib/libnss_mdns4_minimal.so.2
:0x009f7c00  0x009fbd8c  Yes         /lib/libnss_dns.so.2
:0x46f235f0  0x46f3364c  Yes         /lib/libresolv.so.2
:$1 = 0x0
:No symbol "__glib_assert_msg" in current context.
:eax            0xbfe00000	-1075838976
:ecx            0xbfe8f0e3	-1075253021
:edx            0xbfe8f0db	-1075253029
:ebx            0x46d46ff4	1188327412
:esp            0xbfe8d214	0xbfe8d214
:ebp            0xbfe8d7ac	0xbfe8d7ac
:esi            0x4	4
:edi            0x400	1024
:eip            0x46c350a6	0x46c350a6 <__GI___libc_free+86>
:eflags         0x210286	[ PF SF IF RF ID ]
:cs             0x73	115
:ss             0x7b	123
:ds             0x7b	123
:es             0x7b	123
:fs             0x0	0
:gs             0x33	51
:Dump of assembler code for function __GI___libc_free:
:   0x46c35050 <+0>:	sub    $0x14,%esp
:   0x46c35053 <+3>:	mov    %ebx,0x8(%esp)
:   0x46c35057 <+7>:	mov    0x18(%esp),%ecx
:   0x46c3505b <+11>:	call   0x46cdaeb3 <__i686.get_pc_thunk.bx>
:   0x46c35060 <+16>:	add    $0x111f94,%ebx
:   0x46c35066 <+22>:	mov    %esi,0xc(%esp)
:   0x46c3506a <+26>:	mov    %edi,0x10(%esp)
:   0x46c3506e <+30>:	mov    -0x44(%ebx),%eax
:   0x46c35074 <+36>:	mov    (%eax),%eax
:   0x46c35076 <+38>:	test   %eax,%eax
:   0x46c35078 <+40>:	jne    0x46c3513c <__GI___libc_free+236>
:   0x46c3507e <+46>:	test   %ecx,%ecx
:   0x46c35080 <+48>:	je     0x46c35110 <__GI___libc_free+192>
:   0x46c35086 <+54>:	mov    -0x4(%ecx),%esi
:   0x46c35089 <+57>:	lea    -0x8(%ecx),%edx
:   0x46c3508c <+60>:	test   $0x2,%esi
:   0x46c35092 <+66>:	jne    0x46c350c8 <__GI___libc_free+120>
:   0x46c35094 <+68>:	and    $0x4,%esi
:   0x46c35097 <+71>:	lea    0x13ec(%ebx),%eax
:   0x46c3509d <+77>:	je     0x46c350a8 <__GI___libc_free+88>
:   0x46c3509f <+79>:	mov    %edx,%eax
:   0x46c350a1 <+81>:	and    $0xfff00000,%eax
:=> 0x46c350a6 <+86>:	mov    (%eax),%eax
:   0x46c350a8 <+88>:	mov    0x8(%esp),%ebx
:   0x46c350ac <+92>:	movl   $0x0,0x18(%esp)
:   0x46c350b4 <+100>:	mov    0xc(%esp),%esi
:   0x46c350b8 <+104>:	mov    0x10(%esp),%edi
:   0x46c350bc <+108>:	add    $0x14,%esp
:   0x46c350bf <+111>:	jmp    0x46c31810 <_int_free>
:   0x46c350c4 <+116>:	lea    0x0(%esi,%eiz,1),%esi
:   0x46c350c8 <+120>:	mov    0x186c(%ebx),%eax
:   0x46c350ce <+126>:	test   %eax,%eax
:   0x46c350d0 <+128>:	jne    0x46c350da <__GI___libc_free+138>
:   0x46c350d2 <+130>:	cmp    0x1854(%ebx),%esi
:   0x46c350d8 <+136>:	ja     0x46c35120 <__GI___libc_free+208>
:   0x46c350da <+138>:	and    $0xfffffff8,%esi
:   0x46c350dd <+141>:	mov    -0x8(%ecx),%eax
:   0x46c350e0 <+144>:	mov    %edx,%ecx
:   0x46c350e2 <+146>:	sub    %eax,%ecx
:   0x46c350e4 <+148>:	add    %eax,%esi
:   0x46c350e6 <+150>:	mov    0x1870(%ebx),%eax
:   0x46c350ec <+156>:	mov    %esi,%edi
:   0x46c350ee <+158>:	or     %ecx,%edi
:   0x46c350f0 <+160>:	sub    $0x1,%eax
:   0x46c350f3 <+163>:	test   %eax,%edi
:   0x46c350f5 <+165>:	jne    0x46c3514b <__GI___libc_free+251>
:   0x46c350f7 <+167>:	mov    %esi,0x4(%esp)
:   0x46c350fb <+171>:	mov    %ecx,(%esp)
:   0x46c350fe <+174>:	subl   $0x1,0x1860(%ebx)
:   0x46c35105 <+181>:	sub    %esi,0x1874(%ebx)
:   0x46c3510b <+187>:	call   0x46c96510 <munmap>
:   0x46c35110 <+192>:	mov    0x8(%esp),%ebx
:   0x46c35114 <+196>:	mov    0xc(%esp),%esi
:   0x46c35118 <+200>:	mov    0x10(%esp),%edi
:   0x46c3511c <+204>:	add    $0x14,%esp
:   0x46c3511f <+207>:	ret    
:   0x46c35120 <+208>:	cmp    $0x80000,%esi
:   0x46c35126 <+214>:	ja     0x46c350da <__GI___libc_free+138>
:   0x46c35128 <+216>:	and    $0xfffffff8,%esi
:   0x46c3512b <+219>:	lea    (%esi,%esi,1),%eax
:   0x46c3512e <+222>:	mov    %esi,0x1854(%ebx)
:   0x46c35134 <+228>:	mov    %eax,0x184c(%ebx)
:   0x46c3513a <+234>:	jmp    0x46c350dd <__GI___libc_free+141>
:   0x46c3513c <+236>:	mov    0x14(%esp),%edx
:   0x46c35140 <+240>:	mov    %ecx,(%esp)
:   0x46c35143 <+243>:	mov    %edx,0x4(%esp)
:   0x46c35147 <+247>:	call   *%eax
:   0x46c35149 <+249>:	jmp    0x46c35110 <__GI___libc_free+192>
:   0x46c3514b <+251>:	mov    0x8(%esp),%ebx
:   0x46c3514f <+255>:	mov    %edx,%eax
:   0x46c35151 <+257>:	mov    0xc(%esp),%esi
:   0x46c35155 <+261>:	mov    0x10(%esp),%edi
:   0x46c35159 <+265>:	add    $0x14,%esp
:   0x46c3515c <+268>:	jmp    0x46bd7603 <munmap_chunk>
:End of assembler dump.

build_ids:
:469a6d4a8287d37f2af53649eebc4244aabb547d
:45190d029703ca464ad5c5eb6b7f99426a51a2e3
:6fa6d3b5e7e182f4d32420e825d4fc4b7d9016d6
:c46d3faa40190dfaf7bc73895f6ab6497be94cae
:afccdbf971848599c19fa5000bf2dbba3470a059
:c70a93beea79ea4e97343221f891d92efa91295f
:4a540e52a34ab8f065a7a507cdb096dc67acd5e7
:2cbe2e3753d9f63188264be3a83154bdcc676442
:d92505dc952684ed3f59942efcff925f1e738748
:d8902318e03685352246e563d070f6ca1c13bb14
:b5468029818eea3d92cecb652e03431e36af6985

dso_list:
:/lib/libcidn-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/bin/traceroute traceroute-3:2.0.17-2.fc15.i686 (Fedora Project) 1306521073
:/lib/libm-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/lib/libc-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/usr/lib/locale/locale-archive glibc-common-2.14-4.i686 (Fedora Project) 1309763906
:/lib/libnss_files-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/lib/ld-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/lib/libnss_mdns4_minimal.so.2 nss-mdns-0.10-9.fc15.i686 (Fedora Project) 1306519726
:/lib/libnss_dns-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/lib/libresolv-2.14.so glibc-2.14-4.i686 (Fedora Project) 1309763914
:/lib/libgcc_s-4.6.0-20110530.so.1 libgcc-4.6.0-9.fc15.i686 (Fedora Project) 1307431108

environ:
:rvm_gemsets_path=/home/leandro/.rvm/gemsets
:ORBIT_SOCKETDIR=/tmp/orbit-leandro
:rvm_scripts_path=/home/leandro/.rvm/scripts
:XDG_SESSION_ID=1
:rvm_bin_path=/home/leandro/.rvm/bin
:HOSTNAME=packardo
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:GIO_LAUNCHED_DESKTOP_FILE_PID=6665
:GPG_AGENT_INFO=/tmp/keyring-2kC7Ak/gpg:0:1
:rvm_man_path=/home/leandro/.rvm/man
:TERM=xterm
:SHELL=/bin/bash
:XDG_SESSION_COOKIE=6d4ac706b80001cb6ff462e100000012-1311318703.304517-1510491251
:HISTSIZE=1000
:rvm_user_path=/home/leandro/.rvm/user
:GJS_DEBUG_OUTPUT=stderr
:rvm_wrappers_path=/home/leandro/.rvm/wrappers
:WINDOWID=29360132
:QTDIR=/usr/lib/qt-3.3
:rvm_patches_path=/home/leandro/.rvm/patches
:GNOME_KEYRING_CONTROL=/tmp/keyring-2kC7Ak
:QTINC=/usr/lib/qt-3.3/include
:rvm_docs_path=/home/leandro/.rvm/docs
:'GJS_DEBUG_TOPICS=JS ERROR;JS LOG'
:IMSETTINGS_MODULE=none
:USER=leandro
:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
:rvm_config_path=/home/leandro/.rvm/config
:rvm_path=/home/leandro/.rvm
:SSH_AUTH_SOCK=/tmp/keyring-2kC7Ak/ssh
:USERNAME=leandro
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3303,unix/unix:/tmp/.ICE-unix/3303
:GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/terminator.desktop
:DESKTOP_SESSION=gnome
:MAIL=/var/spool/mail/leandro
:PATH=/usr/lib/qt-3.3/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/leandro/bin:/home/leandro/.rvm/bin
:rvm_examples_path=/home/leandro/.rvm/examples
:rvm_rubies_path=/home/leandro/.rvm/rubies
:QT_IM_MODULE=xim
:rvm_loaded_flag=1
:PWD=/var/www/html/santamonica
:XMODIFIERS=@im=none
:GNOME_KEYRING_PID=3127
:LANG=en_US.UTF-8
:KDE_IS_PRELINKED=1
:GDM_LANG=
:KDEDIRS=/usr
:rvm_usr_path=/home/leandro/.rvm/usr
:GDMSESSION=gnome
:SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
:HISTCONTROL=ignoredups
:rvm_src_path=/home/leandro/.rvm/src
:rvm_version=1.6.9
:SHLVL=2
:HOME=/home/leandro
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:rvm_tmp_path=/home/leandro/.rvm/tmp
:LOGNAME=leandro
:CVS_RSH=ssh
:QTLIB=/usr/lib/qt-3.3/lib
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-t3qJHyA47s,guid=0cca0b05631c7d7ad288508300000054
:rvm_lib_path=/home/leandro/.rvm/lib
:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:rvm_repos_path=/home/leandro/.rvm/repos
:rvm_reload_flag=0
:rvm_log_path=/home/leandro/.rvm/log
:rvm_help_path=/home/leandro/.rvm/help
:WINDOWPATH=1
:XDG_RUNTIME_DIR=/run/user/leandro
:DISPLAY=:0
:rvm_environments_path=/home/leandro/.rvm/environments
:rvm_archives_path=/home/leandro/.rvm/archives
:G_BROKEN_FILENAMES=1
:rvm_user_install_flag=0
:XAUTHORITY=/var/run/gdm/auth-for-leandro-1GMcgQ/database
:COLORTERM=gnome-terminal
:_=/bin/traceroute
:OLDPWD=/home/leandro

maps:
:00141000-0016e000 r-xp 00000000 fd:00 9704       /lib/libcidn-2.14.so
:0016e000-0016f000 r--p 0002c000 fd:00 9704       /lib/libcidn-2.14.so
:0016f000-00170000 rw-p 0002d000 fd:00 9704       /lib/libcidn-2.14.so
:0031a000-0031b000 r-xp 00000000 00:00 0          [vdso]
:007d1000-007dc000 r-xp 00000000 fd:00 13969      /lib/libnss_files-2.14.so
:007dc000-007dd000 r--p 0000a000 fd:00 13969      /lib/libnss_files-2.14.so
:007dd000-007de000 rw-p 0000b000 fd:00 13969      /lib/libnss_files-2.14.so
:009f7000-009fd000 r-xp 00000000 fd:00 13591      /lib/libnss_dns-2.14.so
:009fd000-009fe000 r--p 00005000 fd:00 13591      /lib/libnss_dns-2.14.so
:009fe000-009ff000 rw-p 00006000 fd:00 13591      /lib/libnss_dns-2.14.so
:00fc1000-00fc3000 r-xp 00000000 fd:00 28785      /lib/libnss_mdns4_minimal.so.2
:00fc3000-00fc4000 rw-p 00001000 fd:00 28785      /lib/libnss_mdns4_minimal.so.2
:08047000-08053000 r-xp 00000000 fd:00 40491      /bin/traceroute
:08053000-08054000 rw-p 0000c000 fd:00 40491      /bin/traceroute
:08054000-08055000 rw-p 00000000 00:00 0 
:0808a000-080ab000 rw-p 00000000 00:00 0          [heap]
:46b9f000-46bbc000 r-xp 00000000 fd:00 6822       /lib/ld-2.14.so
:46bbc000-46bbd000 r--p 0001d000 fd:00 6822       /lib/ld-2.14.so
:46bbd000-46bbe000 rw-p 0001e000 fd:00 6822       /lib/ld-2.14.so
:46bc0000-46d45000 r-xp 00000000 fd:00 11067      /lib/libc-2.14.so
:46d45000-46d47000 r--p 00184000 fd:00 11067      /lib/libc-2.14.so
:46d47000-46d48000 rw-p 00186000 fd:00 11067      /lib/libc-2.14.so
:46d48000-46d4b000 rw-p 00000000 00:00 0 
:46d7b000-46da3000 r-xp 00000000 fd:00 11068      /lib/libm-2.14.so
:46da3000-46da4000 r--p 00028000 fd:00 11068      /lib/libm-2.14.so
:46da4000-46da5000 rw-p 00029000 fd:00 11068      /lib/libm-2.14.so
:46da7000-46dc3000 r-xp 00000000 fd:00 46996      /lib/libgcc_s-4.6.0-20110530.so.1
:46dc3000-46dc4000 rw-p 0001b000 fd:00 46996      /lib/libgcc_s-4.6.0-20110530.so.1
:46f21000-46f37000 r-xp 00000000 fd:00 52588      /lib/libresolv-2.14.so
:46f37000-46f38000 r--p 00016000 fd:00 52588      /lib/libresolv-2.14.so
:46f38000-46f39000 rw-p 00017000 fd:00 52588      /lib/libresolv-2.14.so
:46f39000-46f3b000 rw-p 00000000 00:00 0 
:b7661000-b7861000 r--p 00000000 fd:00 9023       /usr/lib/locale/locale-archive
:b7861000-b7863000 rw-p 00000000 00:00 0 
:b7880000-b7881000 rw-p 00000000 00:00 0 
:bfe6f000-bfe90000 rw-p 00000000 00:00 0          [stack]

var_log_messages:
:Jul 22 12:56:28 packardo kernel: [13569.884151] traceroute[8986]: segfault at bfe00000 ip 46c350a6 sp bfe8d214 error 4 in libc-2.14.so[46bc0000+185000]
:Jul 22 12:56:28 packardo abrt[8987]: saved core dump of pid 8986 (/bin/traceroute) to /var/spool/abrt/ccpp-2011-07-22-12:56:28-8986.new/coredump (425984 bytes)

Comment 1 Dmitry Butskoy 2011-07-22 12:41:21 UTC
Well,

it looks like some malloc-related issue in libc's getaddrinfo(3) implementation, when non-ascii domains are used.

Could you please test the same domain name (ie. 'rese\xc3\xb1as.li' or how you invoke it) with some another commands? In other words, try

host 'rese\xc3\xb1as.li'
ping 'rese\xc3\xb1as.li'
getent hosts 'rese\xc3\xb1as.li'

and so on. I would like to determine whether it is some getaddrinfo-related bug or not.

Comment 2 leandro 2011-07-22 18:47:04 UTC
nslookup, ping & host works well.
getent hosts returns nothing (dunno if it is correct)
the domain is www.reseñas.li

Comment 3 Dmitry Butskoy 2011-07-25 15:07:48 UTC
Created attachment 515090 [details]
test for getaddrinfo() function

It seems that all that programs do not use gataddrinfo() ...

Could you please compile this test program (gcc -o getaddrinfo -O2 getaddrinfo.c) and run it with this domain as argument on the same machine when traceroute fails?

./getarrdinfo www.reseñas.li

We would like to know whether both traceroute and this test fails, or only traceroute fails on non-ascii domains.

Comment 4 leandro 2011-07-25 21:02:52 UTC
[leandro@acero ~]$ gcc -o getaddrinfo -O2 getaddrinfo.c 
[leandro@acero ~]$ ./getaddrinfo www.reseñas.li
*** glibc detected *** ./getaddrinfo: munmap_chunk(): invalid pointer: 0xbff0849a ***
======= Backtrace: =========
/lib/libc.so.6[0x44ada2b5]
/lib/libc.so.6[0x44a80627]
/lib/libc.so.6[0x44b280f1]
/lib/libc.so.6(getaddrinfo+0xfd)[0x44b2b22d]
./getaddrinfo[0x80484b6]
/lib/libc.so.6(__libc_start_main+0xf3)[0x44a82413]
./getaddrinfo[0x804853d]
======= Memory map: ========
0085e000-0085f000 r-xp 00000000 00:00 0          [vdso]
00c35000-00c3b000 r-xp 00000000 fd:01 11044      /lib/libnss_dns-2.14.so
00c3b000-00c3c000 r--p 00005000 fd:01 11044      /lib/libnss_dns-2.14.so
00c3c000-00c3d000 rw-p 00006000 fd:01 11044      /lib/libnss_dns-2.14.so
00d85000-00d90000 r-xp 00000000 fd:01 18878      /lib/libnss_files-2.14.so
00d90000-00d91000 r--p 0000a000 fd:01 18878      /lib/libnss_files-2.14.so
00d91000-00d92000 rw-p 0000b000 fd:01 18878      /lib/libnss_files-2.14.so
00df4000-00e21000 r-xp 00000000 fd:01 10763      /lib/libcidn-2.14.so
00e21000-00e22000 r--p 0002c000 fd:01 10763      /lib/libcidn-2.14.so
00e22000-00e23000 rw-p 0002d000 fd:01 10763      /lib/libcidn-2.14.so
00f18000-00f1a000 r-xp 00000000 fd:01 19666      /lib/libnss_mdns4_minimal.so.2
00f1a000-00f1b000 rw-p 00001000 fd:01 19666      /lib/libnss_mdns4_minimal.so.2
08048000-08049000 r-xp 00000000 fd:02 8394037    /home/leandro/getaddrinfo
08049000-0804a000 rw-p 00000000 fd:02 8394037    /home/leandro/getaddrinfo
08fec000-0900d000 rw-p 00000000 00:00 0          [heap]
44a48000-44a65000 r-xp 00000000 fd:01 1313       /lib/ld-2.14.so
44a65000-44a66000 r--p 0001d000 fd:01 1313       /lib/ld-2.14.so
44a66000-44a67000 rw-p 0001e000 fd:01 1313       /lib/ld-2.14.so
44a69000-44bee000 r-xp 00000000 fd:01 5813       /lib/libc-2.14.so
44bee000-44bf0000 r--p 00184000 fd:01 5813       /lib/libc-2.14.so
44bf0000-44bf1000 rw-p 00186000 fd:01 5813       /lib/libc-2.14.so
44bf1000-44bf4000 rw-p 00000000 00:00 0 
44c50000-44c6c000 r-xp 00000000 fd:01 10715      /lib/libgcc_s-4.6.0-20110530.so.1
44c6c000-44c6d000 rw-p 0001b000 fd:01 10715      /lib/libgcc_s-4.6.0-20110530.so.1
44dc3000-44dd9000 r-xp 00000000 fd:01 19015      /lib/libresolv-2.14.so
44dd9000-44dda000 r--p 00016000 fd:01 19015      /lib/libresolv-2.14.so
44dda000-44ddb000 rw-p 00017000 fd:01 19015      /lib/libresolv-2.14.so
44ddb000-44ddd000 rw-p 00000000 00:00 0 
b75d5000-b77d5000 r--p 00000000 fd:01 166153     /usr/lib/locale/locale-archive
b77d5000-b77d6000 rw-p 00000000 00:00 0 
b77f0000-b77f2000 rw-p 00000000 00:00 0 
bfee8000-bff09000 rw-p 00000000 00:00 0          [stack]
Abortado (`core' generado)

Comment 5 Dmitry Butskoy 2011-07-26 13:33:52 UTC
Well, it is Glibc-related issue. Report it in bug #725755

*** This bug has been marked as a duplicate of bug 725755 ***


Note You need to log in before you can comment on or make changes to this bug.