segfault with real upgrade on a provision alpha9

Matthieu Patou mat at samba.org
Sat Sep 25 11:21:01 MDT 2010


  Hi andrews,

as I said we have a segfault at:
Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/i386/i686/multiarch/strlen.S:99
     in ../sysdeps/i386/i686/multiarch/strlen.S
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/i386/i686/multiarch/strlen.S:99
#1  0xb739771c in keytab_add_keys (parent_ctx=0xe6cc4e8, 
princ_string=0x9110850 "DNS/sambaorg.corp at SAMBAORG.CORP", 
princ=0x8e355b0, salt_princ=0x8c057a0, kvno=1,
     password_s=0x0, smb_krb5_context=0xfa0ffe8, enctypes=0xb9fd448, 
keytab=0xb6a4d70, error_string=0xbfffea98) at 
../auth/kerberos/kerberos_util.c:529
#2  0xb7397b06 in create_keytab (parent_ctx=0x102cf1f8, msg=0xe69b8a0, 
principals=0x8a24280, smb_krb5_context=0xfa0ffe8, keytab=0xb6a4d70, 
add_old=true,
     error_string=0xbfffea98) at ../auth/kerberos/kerberos_util.c:619
#3  0xb73981f9 in smb_krb5_update_keytab (parent_ctx=0x8554480, 
smb_krb5_context=0xfa0ffe8, ldb=0x8573f88, msg=0xe69b8a0, 
delete_all_kvno=false,
     error_string=0xbfffea98) at ../auth/kerberos/kerberos_util.c:827
#4  0xb7964834 in update_kt_prepare_commit (module=0x928e648) at 
../dsdb/samdb/ldb_modules/update_keytab.c:388
#5  0xb798605a in ldb_transaction_prepare_commit (ldb=0x8573f88) at 
../lib/ldb/common/ldb.c:398
#6  0xb7fd5ea3 in py_ldb_transaction_prepare_commit (self=0x84b10f4) at 
../lib/ldb/pyldb.c:438
#7  0x080e0f9c in PyEval_EvalFrameEx ()
#8  0x080e1bb0 in PyEval_EvalFrameEx ()
#9  0x080e2807 in PyEval_EvalCodeEx ()
#10 0x080e2907 in PyEval_EvalCode ()
#11 0x081005ad in PyRun_FileExFlags ()
#12 0x08100812 in PyRun_SimpleFileExFlags ()
#13 0x0805de5c in Py_Main ()
#14 0x0805d03b in main ()
(gdb) quit

You can reproduce by running make test TESTS=upgradeprovision
then
./scripting/bin/uprgadeprovision -s 
st/provision/upgradeprovision_alpha9full/provsionalpha9/etc/smb.conf 
--full --debugall

I pushed otherwise a fix for the upgradeprovision failure for the dns 
stuff of tridge: 4ff1c175c2f18dcba5b5f7613362f67cf6b97923.

Cheers.

Matthieu.

-- 
Matthieu Patou
Samba Team        http://samba.org




More information about the samba-technical mailing list