tst-getaddrinfo4 failure with glibc-2.18

Allin Cottrell cottrell@wfu.edu
Mon Aug 19 17:57:00 GMT 2013


On Thu, 15 Aug 2013, Siddhesh Poyarekar wrote:

> On 15 August 2013 22:21, Allin Cottrell <cottrell@wfu.edu> wrote:
>> I should have said: this is on a system with 64-bit kernel and 32-bit
>> userspace. I'm seeing something that may be related at
>>
>> http://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-2-18-and-acroread-4175473288
>>
>> I last built and installed glibc-2.17 in January, since when I've updated
>> gcc (4.8.1) and kernel headers (3.10.7). So I just tried the experiment of
>> rebuilding 2.17 under my current setup, to check that nothing had gone
>> screwy in the meantime in regard to my ability to build a properly
>> functioning glibc. Result: all OK, the system is stable with glibc-2.17 as
>> rebuilt today. But it's seriously unstable with glibc-2.18 as built with the
>> same toolchain and configure options, namely:
>>
>> ../glibc-2.17/configure --build=i686-pc-linux-gnu \
>>  --prefix=/usr --with-tls \
>>  --disable-profile --enable-add-ons \
>>  --enable-kernel=3.10.7
>
> Please file a detailed bug report describing this, including some
> minimal steps to reproduce the problem, on the lines of:
>
> 1. Build glibc with specific configuration options
> 2. Using test-run.sh in the build directory, run the program foo:
>
>    ./testrun.sh /usr/bin/foo

Thanks for the suggestion. I've tried this, but I haven't 
found a program that provokes a segfault using testrun.sh with 
an uninstalled build of glibc-2.18.

I did, however, try reinstalling glibc-2.18 and I found the 
same as before, namely the programs gvfs-mtp-volume-monitor, 
gvfsd-trash and xfdesktop all segfault. In case it's any use, 
here's the ldd output for the first two programs to fail.

ldd /opt/gtk2/libexec/gvfs-mtp-volume-monitor:
linux-gate.so.1 (0xf77b8000)
libgvfscommon.so.0 => /opt/gtk2/lib/libgvfscommon.so.0 (0xf7765000)
libgudev-1.0.so.0 => /lib/libgudev-1.0.so.0 (0xf775a000)
libudev.so.1 => /lib/libudev.so.1 (0xf7747000)
libgio-2.0.so.0 => /opt/gtk2/lib/libgio-2.0.so.0 (0xf75e0000)
libgmodule-2.0.so.0 => /opt/gtk2/lib/libgmodule-2.0.so.0 (0xf75db000)
libz.so.1 => /lib/libz.so.1 (0xf75c4000)
libresolv.so.2 => /lib/libresolv.so.2 (0xf75ad000)
libdl.so.2 => /lib/libdl.so.2 (0xf75a8000)
librt.so.1 => /lib/librt.so.1 (0xf759f000)
libgobject-2.0.so.0 => /opt/gtk2/lib/libgobject-2.0.so.0 (0xf7551000)
libffi.so.5 => /lib/libffi.so.5 (0xf754a000)
libglib-2.0.so.0 => /opt/gtk2/lib/libglib-2.0.so.0 (0xf741c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7401000)
libutil.so.1 => /lib/libutil.so.1 (0xf73fd000)
libc.so.6 => /lib/libc.so.6 (0xf7253000)
/lib/ld-linux.so.2 (0xf77b9000)

ldd /opt/gtk2/libexec/gvfsd-trash:
linux-gate.so.1 (0xf7776000)
libgvfscommon.so.0 => /opt/gtk2/lib/libgvfscommon.so.0 (0xf7723000)
libgio-2.0.so.0 => /opt/gtk2/lib/libgio-2.0.so.0 (0xf75bc000)
libgmodule-2.0.so.0 => /opt/gtk2/lib/libgmodule-2.0.so.0 (0xf75b8000)
libdl.so.2 => /lib/libdl.so.2 (0xf75b3000)
libz.so.1 => /lib/libz.so.1 (0xf759b000)
libresolv.so.2 => /lib/libresolv.so.2 (0xf7584000)
libgobject-2.0.so.0 => /opt/gtk2/lib/libgobject-2.0.so.0 (0xf7536000)
libffi.so.5 => /lib/libffi.so.5 (0xf7530000)
libglib-2.0.so.0 => /opt/gtk2/lib/libglib-2.0.so.0 (0xf7402000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf73e6000)
libutil.so.1 => /lib/libutil.so.1 (0xf73e2000)
libc.so.6 => /lib/libc.so.6 (0xf7238000)
/lib/ld-linux.so.2 (0xf7777000)

Allin Cottrell



More information about the Libc-help mailing list