[Bug 1571725] Re: /usr/sbin/samba:6:invalid_name:__opendir:recursive_delete:cleanup_tmp_files:binary_smbd_main

Andreas Hasenack andreas at canonical.com
Tue Jun 13 13:26:50 UTC 2017


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
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1571725

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

Status in samba package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding samba.  This problem was most recently seen with version
  2:4.3.8+dfsg-0ubuntu1, the problem page at
  https://errors.ubuntu.com/problem/e10ccfadbdf98b7b2db8b873073f4f33b27e7179
  contains more details.

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



More information about the foundations-bugs mailing list