[arch-general] SIGSEGV in getopt, libc-problem?

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Tue Jul 7 19:44:05 EDT 2009

clemens fischer wrote:
> For a few days now I noticed some programs not working, like "lzma" or
> "xz" from the "xz-utils".  They segfault and "xz --help" says:
>   $ /usr/bin/xz --help
>   /usr/bin/xz: unrecognized option '--'
>   /usr/bin/xz: Try `/usr/bin/xz --help' for more information.
> So I went to compile the original source, and the gdb(1) backtrace shows
> them to die in "_getopt_internal()".  I thought my system to be
> inconsistent somehow, because a friend reports these programs working.
> I already re-installed the package.  It gets its libs from archlinux
> package locations:
>   $ ldd /usr/bin/xz
>         linux-gate.so.1 =>  (0xb80a4000)
>         liblzma.so.0 => /usr/lib/liblzma.so.0 (0xb806e000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb8056000)
>         libc.so.6 => /lib/libc.so.6 (0xb7f0e000)
>         /lib/ld-linux.so.2 (0xb80a5000)
Compare with me

$ md5sum /usr/lib/liblzma.so.0 /lib/libpthread.so.0 /lib/libc.so.6
/lib/ld-linux.so.2 /usr/bin/xz
72cd526ea4ee299f5c9eb1b49180d163  /usr/lib/liblzma.so.0
e12a37058b6360660658ad2bd26c2b57  /lib/libpthread.so.0
2a1cf98f035403805ae860b95fd8e995  /lib/libc.so.6
5db9051e70520777209f5368fb5d975b  /lib/ld-linux.so.2
6f9d136415196e8547d3366d5f1d6139  /usr/bin/xz

$ pacman -Qo /usr/lib/liblzma.so.0 /lib/libpthread.so.0 /lib/libc.so.6
/lib/ld-linux.so.2 /usr/bin/xz
/usr/lib/liblzma.so.0 is owned by xz-utils 4.999.8beta-4
/lib/libpthread.so.0 is owned by glibc 2.10.1-2
/lib/libc.so.6 is owned by glibc 2.10.1-2
/lib/ld-linux.so.2 is owned by glibc 2.10.1-2
/usr/bin/xz is owned by xz-utils 4.999.8beta-4
> Any pointers appreciated.
> clemens

Gerardo Exequiel Pozzi ( djgera )
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D

More information about the arch-general mailing list