You are not logged in.

#1 2012-10-15 08:46:29

nvb
Member
Registered: 2012-08-01
Posts: 10

pacman seg fault ld-2.16.so in dmesg when ever calling pacman

Hello, i am am quite new in the forum so hopefully i found and investigated all areas to not post a new topic that is solved somewhere.

I am using arch on a 64 bit installation. I Installed yesterday skype by using "pacman -S skype". It worked quite well out of the box and after my work was finished i shut down my pc.
In the evening, i want to install some more software so i called "sudo pacman -S pidgin" and i get back "segmentation fault". A quick look and grep to dmesg i get a line like "pacman segfault at 8 ip $address sp $address error 4 in ld-2.16.so" for each cli pacman call i do. Since pacman itself is not running, i am a bit lost on how to solve this problem.

Can you please give me any kind of hint how i can solve this problem?

Thanks in advance,
nvb

[edit]
I forgot to mention that the installation is based on the "New install medium 2012.09.07".

[edit]
I also tried to use "ldd" but when i do:

ldd /usr/lib/ld-2.16.so

or

ldd /usr/lib32/ld-2.16.so

i get back

loader cannot load itself

.

If you need any additional information, please tell me so i can provide it. I am really a "little bit" lost :-(.

[edit]
I've done a:

ldd $(which pacman)

which leads into the following result

/usr/bin/ldd: line 117:   763 segmentation fault  LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"

LD_LIBRARY_PATH=/usr/lib ldd $(which pacman)
/usr/bin/ldd: Zeile 117:  1035 Speicherzugriffsfehler  LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"

objdump -sj .interp $(which pacman)

/usr/bin/pacman:     file format elf64-x86-64

Contents of section .interp:
400238 2f6c6962 2f6c642d 6c696e75 782d7838  /lib/ld-linux-x8
400248 362d3634 2e736f2e 3200               6-64.so.2.

# which pacman
/usr/bin/pacman

# which ldd
/usr/bin/ldd

# env -i /usr/bin/ldd /usr/bin/pacman
/usr/bin/ldd: line 117:  1819 Segmentation fault      LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"

Last edited by nvb (2012-10-15 19:33:30)

Offline

#2 2012-10-15 20:11:25

nvb
Member
Registered: 2012-08-01
Posts: 10

Re: pacman seg fault ld-2.16.so in dmesg when ever calling pacman

./gdb pacman

warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/pacman...(no debugging symbols found)...done.
(gdb) r --args
Starting program: /usr/bin/pacman --args
Error while mapping shared library sections:
linux-vdso.so.1: Datei oder Verzeichnis nicht gefunden.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7deaa31 in match_symbol () from /lib/ld-linux-x86-64.so.2

(gdb) bt
#0  0x00007ffff7deaa31 in match_symbol () from /lib/ld-linux-x86-64.so.2
#1  0x00007ffff7deaf28 in _dl_check_map_versions () from /lib/ld-linux-x86-64.so.2
#2  0x00007ffff7deb2c4 in _dl_check_all_versions () from /lib/ld-linux-x86-64.so.2
#3  0x00007ffff7ddfae8 in version_check_doit () from /lib/ld-linux-x86-64.so.2
#4  0x00007ffff7de9702 in _dl_receive_error () from /lib/ld-linux-x86-64.so.2
#5  0x00007ffff7dde6f4 in dl_main () from /lib/ld-linux-x86-64.so.2
#6  0x00007ffff7def9de in _dl_sysdep_start () from /lib/ld-linux-x86-64.so.2
#7  0x00007ffff7ddfdbe in _dl_start () from /lib/ld-linux-x86-64.so.2
#8  0x00007ffff7ddc5e8 in _start () from /lib/ld-linux-x86-64.so.2
#9  0x0000000000000002 in ?? ()
#10 0x00007fffffffee6e in ?? ()
#11 0x00007fffffffee7e in ?? ()
#12 0x0000000000000000 in ?? ()

uname -r
3.5.6-1-ARCH

Last edited by nvb (2012-10-15 20:18:40)

Offline

#3 2012-10-16 20:53:04

nvb
Member
Registered: 2012-08-01
Posts: 10

Re: pacman seg fault ld-2.16.so in dmesg when ever calling pacman

Since the worldwide web as the freenode irc channel couldn't help me (and i don't want to write this to blame someone), i reinstalled my system.

I also tried a chroot and "pacstrap /mnt pacman" with no effect. Also a "pacstrag /mnt base" couldn't  solve the problem since the installer wants to install systemd and my system still was systemvinit.

I'm crossing fingers that this will never happen again :-).

Offline

Board footer

Powered by FluxBB