I think this show the problem: path=0x0:
#9  0x00005574949bcb15 in recursive_delete (path=0x0) at 
../source4/smbd/server.c:56
        dir = <optimized out>
        de = <optimized out>
        __FUNCTION__ = "recursive_delete"
#10 0x00005574949bd416 in cleanup_tmp_files (lp_ctx=<optimized out>) at 
../source4/smbd/server.c:102
        path = <optimized out>
        mem_ctx = 0x557495b2dad0


cleanup_tmp_files():
static void cleanup_tmp_files(struct loadparm_context *lp_ctx)
{
    char *path;
    TALLOC_CTX *mem_ctx = talloc_new(NULL);

    path = smbd_tmp_path(mem_ctx, lp_ctx, NULL);

    recursive_delete(path);
    talloc_free(mem_ctx);
}

So path got a NULL value somehow, according to the stacktrace.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571725

Title:
  
/usr/sbin/samba:6:invalid_name:__opendir:recursive_delete:cleanup_tmp_files:binary_smbd_main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1571725/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to