You are not logged in.

#1 2013-10-27 04:28:42

Ownaginatious
Member
Registered: 2010-08-28
Posts: 60

Samba and all associated applications segfaulting

So a while ago, I did an upgrade and got one of those "this file already exists in the file system" errors after upgrading.... but all the errors only had to do with samba and its associated components. I forced the installation (perhaps not the best idea), and it appeared to fix everything. Just recently though (about a week later) I've noticed Samba no longer works. Not sure if it ever worked since that forced installation. I've tried uninstalling everything completely with pacman -Rns, reinstalling... just about everything. I tried to narrow down what's going on using gdb, but that gave me minimal results.

Here is what happens when I try to run a program associated with samba:

$ testparm 
Segmentation fault (core dumped)

Here is what happens when I run that through gdb:

gdb /usr/bin/testparm 
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[url]http://gnu.org/licenses/gpl.html[/url]>
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-unknown-linux-gnu".
For bug reporting instructions, please see:
<[url]http://www.gnu.org/software/gdb/bugs/[/url]>...
Reading symbols from /usr/bin/testparm...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/testparm 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7de7d98 in _dl_relocate_object () from /lib64/ld-linux-x86-64.so.2
(gdb) 

Any ideas on how I can fix the Samba issues I'm experiencing here?

Offline

#2 2013-10-27 20:00:45

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Samba and all associated applications segfaulting

Not much to go on.
How long had it been since an update?
You haven't done any partial updates?

this file already exists in the file system

Do you have errors in /var/log/pacman.log from the failed update? Post that part of the log.

Offline

#3 2013-10-28 03:26:52

Ownaginatious
Member
Registered: 2010-08-28
Posts: 60

Re: Samba and all associated applications segfaulting

Here's the issue I was trying to resolve by forcing it to reinstall. I made a mistake, it was not a "file already exists in the file system" thing.  Not sure what happened here...

[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libnss_winbind.so.2 is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libnetapi.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsmbconf.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libsmbclient.so is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamba-util.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-server.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libnss_wins.so.2 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-samr.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-binding.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libnss_winbind.so is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libndr.so.0.0.1 is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-binding.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamba-credentials.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libpdb.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsmbclient-raw.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamba-credentials.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamdb.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libndr.so.0 is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libndr-nbt.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libtevent-util.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsmbclient-raw.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-server.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libtevent-util.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-samr.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libndr-standard.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libgensec.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libndr.so is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libndr-standard.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamba-util.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libndr-standard.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-samr.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsmbclient-raw.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libgensec.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsmbconf.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libsmbclient.so.0.2.0 is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libnetapi.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libndr-nbt.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-binding.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libndr-nbt.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamdb.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: file /usr/lib/libsmbclient.so.0 is truncated
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamba-util.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamba-credentials.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libnss_wins.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libtevent-util.so is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libgensec.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libsamdb.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc.so.0.0.1 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libpdb.so.0 is not an ELF file - it has the wrong magic bytes at the start.
[2013-10-20 05:25] [ALPM-SCRIPTLET] 
[2013-10-20 05:25] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libdcerpc-server.so is not an ELF file - it has the wrong magic bytes at the start.

Last edited by Ownaginatious (2013-10-28 03:39:01)

Offline

#4 2013-11-01 14:43:27

Ownaginatious
Member
Registered: 2010-08-28
Posts: 60

Re: Samba and all associated applications segfaulting

Well, I got it working again. I tried running smbclient with valgrind and found another file that was messing things up.

--5087-- WARNING: Serious error when reading debug info
--5087-- When reading debug info from /usr/lib/libp11-kit.so.0.0.0:
--5087-- Invalid ELF Section Header String Table

So I found libp11-kit.so.0.0.0 was owned by p11-kit. Reinstalling that fixed everything. Yay!

Offline

Board footer

Powered by FluxBB