Segfault in uid_wrapper ?
Uri Simchoni
uri at samba.org
Mon Oct 19 20:02:20 UTC 2015
Hi,
Exec summary - I get a segfault running a samba-tool with uid_wrapper,
at lib/uid_wrapper/uid_wrapper.c:823, "id" is NULL.
I have so little experience with samba tests and cwrap, that I may be
barking at the wrong tree here...
I have autobuild failing on a local FC22 machine (pretty much
up-to-date), samba master. The failure is in one of the very first
tests, while trying to provision an AD DC. I tried running the command
that failed and it segfaulted (python did). The core dump points at that
line in uid_wrapper, and according to the core dump, id==NULL.
The segfault occurred while calling "import uuid" from within one of the
modules, which in turn called os.popen() and generated a stack that ends
with the following C code:
#0 0x00007fd419ca6497 in uwrap_thread_prepare () at
../lib/uid_wrapper/uid_wrapper.c:823
#1 0x00007fd418cb8ae2 in fork () from /lib64/libc.so.6
#2 0x00007fd418c5f794 in _IO_proc_open@@GLIBC_2.2.5 () from
/lib64/libc.so.6
#3 0x00007fd418c5fa3c in popen@@GLIBC_2.2.5 () from /lib64/libc.so.6
#4 0x00007fd4199f1737 in posix_popen () from /lib64/libpython2.7.so.1.0
Attached you can see the logs from autobuild, as well as the command I
tried running to reproduce, based on the autobuild logs (I used
nocleanup so it runs on the cwrap env created by make test).
If the command I ran seems to be compatible with what was failing inside
autobuild, and the crash reason is not obvious, I can dig deeper or
provide any requested info. I just want to know there isn't something
obvious that's causing the core dump that's not related to autobuild
failure.
Thanks,
Uri.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logs.tar.gz
Type: application/gzip
Size: 59179 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151019/2e3a7bc9/logs.tar.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run.sh
Type: application/x-shellscript
Size: 1134 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151019/2e3a7bc9/run.bin>
More information about the samba-technical
mailing list