[Samba] Samba4 Provisioning Segfault

Ash Hughes ashes-iontach at hotmail.com
Fri Dec 18 07:43:19 MST 2009


Hi,

Hope this is the right place to ask about this... I did a clean install of S4 alpha10 the other day and attempted to provision it with the python script provided. This failed with a segmentation fault, however doing this with alpha8 does not fail. I've compiled this under arm5 little endian on Ubuntu 9.04 and included a backtrace below. Any ideas where I'm going wrong or is this a (platform specific?) bug?

I also had trouble connecting Win7 clients to an alpha8 domain, trust relationship failed. Is this something which would be changed in the new release or have I missed a Windows registry change somewhere along the line?

Many Thanks

Ash

gdb:

root at ubuntu:~/src/samba-4.0.0alpha10/source4# gdb python
GNU gdb 6.8-debian
Copyright (C) 2008 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 "arm-linux-gnueabi"...
(gdb) run ./setup/provision
Starting program: /usr/bin/python ./setup/provision
[Thread debugging using libthread_db enabled]
[New Thread 0x402694d0 (LWP 4004)]
Realm: ashnet.lan
 Domain [ashnet]:
 Server Role (dc, member, standalone) [dc]:
Administrator password:
 Setting up share.ldb

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x402694d0 (LWP 4004)]
0x40b1782c in talloc_chunk_from_ptr () from bin/python/ldb.so
Current language:  auto; currently asm
(gdb) bt
#0  0x40b1782c in talloc_chunk_from_ptr () from bin/python/ldb.so
#1  0x40b19284 in talloc_get_name () from bin/python/ldb.so
#2  0x40b19358 in talloc_check_name () from bin/python/ldb.so
#3  0x4048ce88 in ltdb_index_idxptr () from bin/python/ldb.so
#4  0x4048d878 in ltdb_index_traverse_store () from bin/python/ldb.so
#5  0x40b1184c in tdb_traverse_internal () from bin/python/ldb.so
#6  0x40b11ae4 in tdb_traverse () from bin/python/ldb.so
#7  0x4048da6c in ltdb_index_transaction_commit () from bin/python/ldb.so
#8  0x4048942c in ltdb_prepare_commit () from bin/python/ldb.so
#9  0x403f0d08 in ldb_transaction_prepare_commit () from bin/python/ldb.so
#10 0x403f0ee8 in ldb_transaction_commit () from bin/python/ldb.so
#11 0x403e97f0 in py_ldb_add () from bin/python/ldb.so
#12 0x0012b84c in PyCFunction_Call (func=0x45756378, arg=0x4394f238,
    kw=0x15fd88) at ../Objects/methodobject.c:116
#13 0x0009ed50 in PyEval_EvalFrameEx (f=0xab8ed8,
    throwflag=<value optimized out>) at ../Python/ceval.c:3706
#14 0x000a0970 in PyEval_EvalCodeEx (co=0x4030f848,
    globals=<value optimized out>, locals=<value optimized out>,
    args=0x4032a780, argcount=2, kws=0xac7cd8, kwcount=1165320760,
    defs=0x4032a77c, defcount=1, closure=0x0) at ../Python/ceval.c:2968
#15 0x0009f184 in PyEval_EvalFrameEx (f=0xab8900,
    throwflag=<value optimized out>) at ../Python/ceval.c:3802
#16 0x0009f7b0 in PyEval_EvalFrameEx (f=0x35ae80,
    throwflag=<value optimized out>) at ../Python/ceval.c:3792
#17 0x000a0970 in PyEval_EvalCodeEx (co=0x4033c848,
    globals=<value optimized out>, locals=<value optimized out>,
    args=0x4032264c, argcount=4, kws=0x2a2e48, kwcount=8196, defs=0x402967bc,
    defcount=41, closure=0x0) at ../Python/ceval.c:2968
#18 0x0009f184 in PyEval_EvalFrameEx (f=0x2a2d10,
    throwflag=<value optimized out>) at ../Python/ceval.c:3802
#19 0x000a0970 in PyEval_EvalCodeEx (co=0x402d2800,
    globals=<value optimized out>, locals=<value optimized out>, args=0x0,
    argcount=1076326696, kws=0xbeee1668, kwcount=1076701184, defs=0x0,
    defcount=0, closure=0x0) at ../Python/ceval.c:2968
#20 0x000a0a88 in PyEval_EvalCode (co=0x244eaa18, globals=0x1617f0,
    locals=0x15fd88) at ../Python/ceval.c:522
#21 0x000bfdb4 in PyRun_FileExFlags (fp=0x253cd8,
    filename=0xbeee19ff "./setup/provision", start=<value optimized out>,
    globals=0x40290270, locals=0x40290270, closeit=1076710432,
    flags=0xbeee176c) at ../Python/pythonrun.c:1335
#22 0x000c007c in PyRun_SimpleFileExFlags (fp=0x253cd8,
    filename=0xbeee19ff "./setup/provision", closeit=1, flags=0xbeee176c)
    at ../Python/pythonrun.c:931
#23 0x00019bd4 in Py_Main (argc=2, argv=0xbeee18e4) at ../Modules/main.c:599
#24 0x4013a03c in __libc_start_main () from /lib/libc.so.6
#25 0x00018d10 in _start ()
(gdb)

 		 	   		  
_________________________________________________________________
Add your Gmail and Yahoo! Mail email accounts into Hotmail - it's easy
http://clk.atdmt.com/UKM/go/186394592/direct/01/


More information about the samba mailing list