panic while renaming file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Fix Released
|
High
|
|||
samba (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Version: 2:4.1.3+
from log file:
2014/04/01 16:38:11.053394, 0] ../lib/
lock order: 1:/var/
[2014/04/01 16:38:11.053568, 0] ../source3/
PANIC (pid 1817): invalid lock_order
[2014/04/01 16:38:11.056407, 0] ../source3/
BACKTRACE: 33 stack frames:
#0 /usr/lib/
#1 /usr/lib/
#2 /usr/lib/
#3 /usr/lib/
#4 /usr/lib/
#5 /usr/lib/
#6 /usr/lib/
#7 /usr/lib/
#8 /usr/lib/
#9 /usr/lib/
#10 /usr/lib/
#11 /usr/lib/
#12 /usr/lib/
#13 /usr/lib/
#14 /usr/lib/
#15 /usr/lib/
#16 /usr/lib/
#17 /usr/lib/
#18 /usr/lib/
#19 /usr/lib/
#20 /usr/lib/
#21 /usr/lib/
#22 /usr/lib/
#23 /usr/lib/
#24 /usr/lib/
#25 /usr/lib/
#26 smbd(+0x9fa4) [0x7fc2aa1ddfa4]
#27 /usr/lib/
#28 /usr/lib/
#29 /usr/lib/
#30 smbd(main+0x13eb) [0x7fc2aa1dab8b]
#31 /lib/x86_
#32 smbd(+0x6f1d) [0x7fc2aa1daf1d]
[2014/04/01 16:38:11.059231, 0] ../source3/
dumping core in /var/log/
# gdb /usr/sbin/smbd /var/log/
...
(gdb) bt full
#0 0x00007fc2a6cacf79 in __GI_raise (sig=sig@entry=6) at ../nptl/
resultvar = 0
pid = 1817
selftid = 1817
#1 0x00007fc2a6cb0388 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_
sa_flags = -1591516624, sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fc2a865eecb in dump_core () at ../source3/
called = true
#3 0x00007fc2a8650ff7 in smb_panic_s3 (why=<optimised out>) at ../source3/
cmd = <optimised out>
result = <optimised out>
#4 0x00007fc2a9b79c6f in smb_panic (why=why@
No locals.
#5 0x00007fc2a511e255 in dbwrap_
idx = <optimised out>
state = 0x0
locked_dbs = {0x7fc2abe89700, 0x0, 0x0}
#6 dbwrap_
at ../lib/
rec = <optimised out>
frame = 0x7fc2abec8550
#7 0x00007fc2a511e468 in dbwrap_fetch_locked (db=db@
No locals.
#8 0x00007fc2a97954ca in smbXsrv_
is_free = false
was_free = false
key_buf = "\bQĺ"
key = <optimised out>
id = 139576506
i = 0
global = 0x7fc2abec8da0
last_free = 0
min_tries = 3
#9 smbXsrv_open_create (conn=0x7fc2abe
table = 0x7fc2abe95c80
local_rec = 0x0
op = 0x7fc2abec8d00
ptr = 0x0
global = 0x0
status = <optimised out>
current_sid = 0x7fc2abea6490
#10 0x00007fc2a96fa493 in file_new (req=req@entry=0x0, conn=conn@
op = 0x0
now = <optimised out>
sconn = 0x7fc2abe866f0
fsp = 0x7fc2abec8b00
status = <optimised out>
#11 0x00007fc2a974d3dd in create_
share_
oplock_
result=
info = 1
fsp = 0x0
status = <optimised out>
#12 0x00007fc2a974e4fa in create_file_default (conn=0x7fc2abe
create_
allocation_
pinfo=
info = 1
status = <optimised out>
stream_name = <optimised out>
#13 0x00007fc2a9818beb in vfswrap_create_file (handle=<optimised out>, req=<optimised out>, root_dir_
share_
result=
No locals.
#14 0x00007fc2a9754ab5 in smb_vfs_
access_
file_
ea_
No locals.
#15 0x00007fc2a974c7a0 in open_file_fchmod (conn=conn@
at ../source3/
No locals.
#16 0x00007fc2a9743e99 in file_set_dosmode (conn=conn@
newfile=
mask = <optimised out>
tmp = <optimised out>
unixmode = 33264
ret = <optimised out>
lret = -1
old_mode = <optimised out>
fsp = 0x0
#17 0x00007fc2a9726c6f in rename_
replace_
old_dosmode = <optimised out>
ctx = <optimised out>
status = {v = 0}
lck = 0x7fc2abec7d10
dst_exists = <optimised out>
#18 0x00007fc2a973c4bc in smb2_file_
pdata=
overwrite = false
len = <optimised out>
newname = 0x7fc2abec6840 "qualcare uk 1 2.pdf"
status = {v = 0}
ctx = 0x7fc2abec67e0
#19 smbd_do_
smb_
at ../source3/
pdata = <optimised out>
status = {v = 0}
#20 0x00007fc2a978e8bf in smbd_smb2_
smb2req=
data = 0x7fc2abea9420 ""
data_size = 64
ret_size = 0
state = 0x7fc2abec2760
smbreq = 0x7fc2abec27d0
conn = 0x7fc2abe9e290
status = <optimised out>
req = 0x7fc2abec25e0
#21 smbd_smb2_
status = <optimised out>
inbody = <optimised out>
in_fsp = 0x7fc2abea6fc0
#22 0x00007fc2a977cd01 in smbd_smb2_
conn = 0x7fc2abe7f0c0
call = <optimised out>
intf_v = <optimised out>
inhdr = <optimised out>
opcode = 17
flags = <optimised out>
mid = <optimised out>
status = <optimised out>
x = <optimised out>
#23 0x00007fc2a977d58f in smbd_smb2_
sconn = 0x7fc2abe866f0
status = <optimised out>
req = 0x7fc2abec1b30
#24 0x00007fc2a977a48c in smbd_smb2_
req = 0x7fc2abec6620
state = 0x7fc2abeae390
ret = 164
sys_errno = 32706
status = <optimised out>
now = <optimised out>
#25 0x00007fc2a8422c74 in tstream_
req = 0x7fc2abec1c50
state = 0x7fc2abec1dd0
ret = 164
sys_errno = 32706
#26 0x00007fc2a84227a9 in tstream_
req = 0x7fc2abec1f00
state = 0x7fc2abec2080
ret = <optimised out>
sys_errno = 32706
#27 0x00007fc2a8421686 in tstream_readv_done (subreq=0x0) at ../lib/
req = 0x7fc2abec23d0
state = 0x7fc2abec2550
ret = 160
sys_errno = 32706
#28 0x00007fc2a703fe14 in tevent_
No symbol table info available.
#29 0x00007fc2a8666f7c in run_events_poll (ev=0x7fc2abe7e3a0, pollrtn=0, pfds=0x0, num_pfds=0) at ../source3/
No locals.
#30 0x00007fc2a8667264 in s3_event_loop_once (ev=0x7fc2abe7e3a0, location=<optimised out>) at ../source3/
state = 0x7fc2abe7d0e0
timeout = 2147483647
num_pfds = 0
poll_errno = <optimised out>
#31 0x00007fc2a703f5ed in _tevent_loop_once () from /usr/lib/
No symbol table info available.
#32 0x00007fc2a9768fd5 in smbd_process (ev_ctx=
frame = 0x7fc2abec67e0
conn = <optimised out>
sconn = <optimised out>
ss = {ss_family = 2, __ss_align = 0,
sa = 0x7fffa1236f90
sa_socklen = 16
locaddr = <optimised out>
remaddr = <optimised out>
rhost = 0x0
ret = <optimised out>
#33 0x00007fc2aa1ddfa4 in smbd_accept_
status = <optimised out>
s = 0x0
msg_ctx = 0x7fc2abe7e490
addr = {ss_family = 2, __ss_align = 0,
in_addrlen = 16
fd = 33
pid = 0
unique_id = 9089781660033181977
#34 0x00007fc2a86670ac in run_events_poll (ev=0x7fc2abe7e3a0, pollrtn=<optimised out>, pfds=0x7fc2abe8
pfd = <optimised out>
flags = <optimised out>
state = <optimised out>
pollfd_idx = 0x7fc2abe7ed40
fde = 0x7fc2abe93a20
pollrtn = <optimised out>
num_pfds = 5
pfds = 0x7fc2abe88220
ev = 0x7fc2abe7e3a0
#35 0x00007fc2a8667300 in s3_event_loop_once (ev=0x7fc2abe7e3a0, location=<optimised out>) at ../source3/
state = 0x7fc2abe7d0e0
timeout = 20000
num_pfds = 5
poll_errno = 4
#36 0x00007fc2a703f5ed in _tevent_loop_once () from /usr/lib/
No symbol table info available.
#37 0x00007fc2aa1dab8b in smbd_parent_loop (parent=<optimised out>, ev_ctx=
ret = <optimised out>
frame = 0x7fc2abe85420
#38 main (argc=<optimised out>, argv=<optimised out>) at ../source3/
is_daemon = <optimised out>
interactive = <optimised out>
Fork = false
log_stdout = <optimised out>
ports = 0x0
opt = <optimised out>
pc = <optimised out>
descrip = 0x7fc2aa1e0bf0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x7fc2aa1e012d "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0,
val = 1002, descrip = 0x7fc2aa1e0c10 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {longName = 0x7fc2aa1e0138 "no-process-group",
descrip = 0x7fc2aa1e01b7 "Set profiling level", argDescrip = 0x7fc2aa1e01cb "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4,
arg = 0x7fc2a8cd56e0 <popt_common_
argInfo = 4, arg = 0x7fc2a8cd4aa0 <popt_common_
parent = 0x7fc2abe866f0
frame = <optimised out>
status = <optimised out>
ev_ctx = 0x7fc2abe7e3a0
msg_ctx = 0x7fc2abe7e490
server_id = {pid = 1437, task_id = 0, vnn = 4294967295, unique_id = 124208531671645
se = <optimised out>
np_dir = <optimised out>
Changed in samba: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in samba: | |
status: | Confirmed → Invalid |
Changed in samba: | |
importance: | Medium → Unknown |
status: | Invalid → Unknown |
Changed in samba (Ubuntu): | |
status: | New → Triaged |
milestone: | none → trusty-updates |
Changed in samba: | |
importance: | Unknown → High |
status: | Unknown → In Progress |
Changed in samba: | |
status: | In Progress → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
We just updated Trusty to 2:4.1.6+ dfsg-1ubuntu1 yesterday. Could this problem now be fixed?