Samba crashing on null path in cleanup_tmp_files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi Everyone,
I'm running Ubuntu 14.04, and the samba package from the repos, and am getting the following panic-action email when the system starts up. I'm also not able to start samba manually after boot either.
Here's a back-trace:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-
0xb7707424 in __kernel_vsyscall ()
#0 0xb7707424 in __kernel_vsyscall ()
#1 0xb6f08e53 in __waitpid_nocancel () at ../sysdeps/
#2 0xb6e92fcd in do_system (line=line@
#3 0xb6e933d0 in __libc_system (line=line@
#4 0xb76d810b in system (line=line@
#5 0xb76af3bd in smb_panic_default (why=0xb76bc552 "internal error") at ../lib/
#6 smb_panic (why=why@
#7 0xb76af551 in fault_report (sig=11) at ../lib/
#8 sig_fault (sig=11) at ../lib/
#9 <signal handler called>
#10 __opendirat (dfd=dfd@
#11 0xb6f04a7d in __opendir (name=0x0) at ../sysdeps/
#12 0xb773253f in recursive_delete (path=0x0) at ../source4/
#13 0xb7732e6c in cleanup_tmp_files (lp_ctx=0xb77e1018) at ../source4/
#14 binary_smbd_main (argc=<optimized out>, argv=<optimized out>, binary_
#15 0xb772e431 in main (argc=2, argv=0xbfa724b4) at ../source4/
A debugging session is active.
Inferior 1 [process 1001] will be detached.
If I'm interpreting right, the recursive_delete is getting a null path which is causing the problems.
Other information:
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
$ apt-cache policy samba
samba:
Installed: 2:4.1.6+
Candidate: 2:4.1.6+
Version table:
*** 2:4.1.6+
500 mirror:
500 mirror:
100 /var/lib/
2:
500 mirror:
Status changed to 'Confirmed' because the bug affects multiple users.