Samba 4 Bug in oplock code (4.0.0beta3-GIT-ea74131)

Trever L. Adams trever.adams at gmail.com
Sat Jun 23 09:44:13 MDT 2012


Hello Everyone,

This is related to my prior bug reporting. This is the only thing I can
find in the logs from a session where the user cannot log in properly.
There are all sorts of files that get reported as being in user or not
having permission to use. However, all of these files work fine on
several other computers (at least visually/experience; I haven't checked
the logs). The only log I can find that shows an error is the following.
This is from two reboots of the user trying to use Thunderbird on a
laptop. The session went from about 20:00 to 20:40. The strange thing is
is log.smbd is empty for the first 28 minutes. Anyway, here is the log:


[2012/06/22 20:28:55.114038,  0]
../source3/smbd/oplock.c:333(oplock_timeout_han
dler)
  Oplock break failed for file someuser.V2/NTUSER.DAT -- replying anyway
[2012/06/22 20:28:55.122788,  0] ../source3/lib/util.c:863(smb_panic_s3)
  PANIC (pid 6557): Got a deferred entry without a request: PANIC:
share_mode_en
try[1]: pid = 6557, share_access = 0x0, private_options = 0x0,
access_mask = 0x0
, mid = 0x19, type= 0x20, gen_id = 0, uid = 4294967295, flags = 0,
file_id fd02:
5540188:0, name_hash = 0x0
 
[2012/06/22 20:28:55.135210,  0] ../source3/lib/util.c:974(log_stack_trace)
  BACKTRACE: 27 stack frames:
   #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x1f)
[0x7fb3110fd810
]
   #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x6c)
[0x7fb3110fd672]
   #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x28)
[0x7fb312bb8a15]
   #3 /usr/local/samba/lib/private/libsmbd_base.so(+0x11ee68)
[0x7fb312368e68]
   #4 /usr/local/samba/lib/private/libsmbd_base.so(+0x11f17f)
[0x7fb31236917f]
   #5 /usr/local/samba/lib/private/libsmbd_base.so(+0x121869)
[0x7fb31236b869]
   #6 /usr/local/samba/lib/private/libsmbd_base.so(+0x12507f)
[0x7fb31236f07f]
   #7
/usr/local/samba/lib/private/libsmbd_base.so(create_file_default+0x2e5) [0
x7fb31236fb8b]
   #8 /usr/local/samba/lib/private/libsmbd_base.so(+0x208cfd)
[0x7fb312452cfd]
   #9
/usr/local/samba/lib/private/libsmbd_base.so(smb_vfs_call_create_file+0xc8
) [0x7fb31237acea]
   #10 /usr/local/samba/lib/private/libsmbd_base.so(+0x16a248)
[0x7fb3123b4248]
   #11
/usr/local/samba/lib/private/libsmbd_base.so(smbd_smb2_request_process_cr
eate+0x783) [0x7fb3123b2417]
   #12
/usr/local/samba/lib/private/libsmbd_base.so(smbd_smb2_request_dispatch+0
x676) [0x7fb3123aae6c]
   #13 /usr/local/samba/lib/private/libsmbd_base.so(+0x16b147)
[0x7fb3123b5147]
   #14
/usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_immediate+
0x1f5) [0x7fb311365ca4]
   #15 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x56)
[0x7fb31111919
9]
   #16 /usr/local/samba/lib/libsmbconf.so.0(+0x41a29) [0x7fb311119a29]
   #17
/usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xe0) [0x7f
b311364e18]
   #18 /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x10dc)
[0x7fb3
123958ff]
   #19 /usr/local/samba/sbin/smbd() [0x40938b]
   #20 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x72b)
[0x7fb3111198
6e]
   #21 /usr/local/samba/lib/libsmbconf.so.0(+0x41b04) [0x7fb311119b04]
   #22
/usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xe0) [0x7f
b311364e18]
   #23 /usr/local/samba/sbin/smbd() [0x409f1b]
   #24 /usr/local/samba/sbin/smbd(main+0x13a6) [0x40b412]
   #25 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fb30f684735]
   #26 /usr/local/samba/sbin/smbd() [0x4051b9]


When this happens, connections fail, offline files fail, user cannot
access profile. This doesn't seem to happen as much on a desktop (same
user, same offline files) as it does on a laptop with wifi.

Also, there are more smbd processes than usual after this. Also, it
appears that things are hung (some of the smbd processes, I don't know
about samba processes).

Thank you for any help that can be offered.

Trever
-- 
"What makes his world so hard to see clearly is not its strangeness but
its usualness. Familiarity can blind you." -- Robert M. Pirsig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120623/fe14f236/attachment.pgp>


More information about the samba-technical mailing list