TDB mutex support breaks CTDB

Ralph Böhme rb at sernet.de
Wed Dec 17 02:03:48 MST 2014


Hi Amitay,

On Wed, Dec 17, 2014 at 07:48:33PM +1100, Amitay Isaacs wrote:
> I am trying to test samba+ctdb with these changes using nbench torture
> test, however smbd is crashing in brlock.  I am not sure if this is related
> or something else is going wrong.  I have attached gdb backtrace.  If you
> have any ideas on how to debug this, please let me know.

hey, I just ran into this just yesterday too, sounds like the same
issue. gdb:

#6  <signal handler called>
No symbol table info available.
#7  0x00007fcfdc8120b5 in brl_conflict_other (lock=0x0, rw_probe=0x7fffab1a3300) at ../source3/locking/brlock.c:233
No locals.
#8  0x00007fcfdc814398 in brl_locktest (br_lck=0x7fcfde974870, rw_probe=0x7fffab1a3300) at ../source3/locking/brlock.c:1385
        ret = true
        i = 0
        locks = 0x0
        fsp = 0x7fcfde974a20
        __FUNCTION__ = "brl_locktest"
#9  0x00007fcfdc80e80a in strict_lock_default (fsp=0x7fcfde974a20, plock=0x7fffab1a3300) at ../source3/locking/locking.c:139
        br_lck = 0x7fcfde974870
        strict_locking = 2
        ret = false
        __FUNCTION__ = "strict_lock_default"
#10 0x00007fcfdc86cd7c in vfswrap_strict_lock (handle=0x7fcfde967060, fsp=0x7fcfde974a20, plock=0x7fffab1a3300) at ../source3/modules/vfs_default.c:2293
        __FUNCTION__ = "vfswrap_strict_lock"

For some reason locks is NULL. My band aid wad disabling strict locking.

This is with git master.

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de


More information about the samba-technical mailing list