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

Trever L. Adams trever.adams at
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]
  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:
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/
   #1 /usr/local/samba/lib/
   #2 /usr/local/samba/lib/
   #3 /usr/local/samba/lib/private/
   #4 /usr/local/samba/lib/private/
   #5 /usr/local/samba/lib/private/
   #6 /usr/local/samba/lib/private/
/usr/local/samba/lib/private/ [0
   #8 /usr/local/samba/lib/private/
) [0x7fb31237acea]
   #10 /usr/local/samba/lib/private/
eate+0x783) [0x7fb3123b2417]
x676) [0x7fb3123aae6c]
   #13 /usr/local/samba/lib/private/
0x1f5) [0x7fb311365ca4]
   #15 /usr/local/samba/lib/
   #16 /usr/local/samba/lib/ [0x7fb311119a29]
/usr/local/samba/lib/private/ [0x7f
   #18 /usr/local/samba/lib/private/
   #19 /usr/local/samba/sbin/smbd() [0x40938b]
   #20 /usr/local/samba/lib/
   #21 /usr/local/samba/lib/ [0x7fb311119b04]
/usr/local/samba/lib/private/ [0x7f
   #23 /usr/local/samba/sbin/smbd() [0x409f1b]
   #24 /usr/local/samba/sbin/smbd(main+0x13a6) [0x40b412]
   #25 /lib64/ [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.

"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: <>

More information about the samba-technical mailing list