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

Bug #1571725 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba
Unknown
Unknown
samba (Ubuntu)
Won't Fix
Medium
Unassigned

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.

Tags: xenial
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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.

Changed in samba (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I want to take a stab at a patch for this, but didn't get to it yet.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

I double checked the errors.u.c URL (https://errors.ubuntu.com/problem/e10ccfadbdf98b7b2db8b873073f4f33b27e7179) and verified that the vast majority (if not all) reports have come from Ubuntu Xenial users. Since Ubuntu Xenial has reached its end of standard support, I'm therefore marking this bug as Won't Fix. The good news here is that this seems to have been fixed from Bionic onwards.

Changed in samba (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.