smbd with CTDB is aborted at update_num_read_oplocks

Solution Verified - Updated -

Issue

  • smbd with CTDB is aborted at update_num_read_oplocks

Sample backtrace:

(gdb) bt
#0  0x00007f8338a405d7 in raise () from /lib64/libc.so.6
#1  0x00007f8338a41cc8 in abort () from /lib64/libc.so.6
#2  0x00007f833a39f39b in dump_core () from /lib64/libsmbconf.so.0
#3  0x00007f833a391e27 in smb_panic_s3 () from /lib64/libsmbconf.so.0
#4  0x00007f833c1e18cf in smb_panic () from /lib64/libsamba-util.so.0
#5  0x00007f833bdef259 in update_num_read_oplocks () from /usr/lib64/samba/libsmbd-base-samba4.so
#6  0x00007f833bd9a292 in open_file_ntcreate () from /usr/lib64/samba/libsmbd-base-samba4.so
#7  0x00007f833bd9cd19 in create_file_unixpath () from /usr/lib64/samba/libsmbd-base-samba4.so
#8  0x00007f833bd9dd7f in create_file_default () from /usr/lib64/samba/libsmbd-base-samba4.so
#9  0x00007f833be7537e in vfswrap_create_file () from /usr/lib64/samba/libsmbd-base-samba4.so
#10 0x00007f833bda45c8 in smb_vfs_call_create_file () from /usr/lib64/samba/libsmbd-base-samba4.so
#11 0x00007f833bdd351a in smbd_smb2_request_process_create () from /usr/lib64/samba/libsmbd-base-samba4.so
#12 0x00007f833bdcb7df in smbd_smb2_request_dispatch () from /usr/lib64/samba/libsmbd-base-samba4.so
#13 0x00007f833bdcca72 in smbd_smb2_connection_handler () from /usr/lib64/samba/libsmbd-base-samba4.so
#14 0x00007f833a3a791c in run_events_poll () from /lib64/libsmbconf.so.0
#15 0x00007f833a3a7b70 in s3_event_loop_once () from /lib64/libsmbconf.so.0
#16 0x00007f8338dcffbd in _tevent_loop_once () from /lib64/libtevent.so.0
#17 0x00007f8338dd015b in tevent_common_loop_wait () from /lib64/libtevent.so.0
#18 0x00007f833bdb9ce9 in smbd_process () from /usr/lib64/samba/libsmbd-base-samba4.so
#19 0x00007f833c845e44 in smbd_accept_connection ()
#20 0x00007f833a3a791c in run_events_poll () from /lib64/libsmbconf.so.0
#21 0x00007f833a3a7b70 in s3_event_loop_once () from /lib64/libsmbconf.so.0
#22 0x00007f8338dcffbd in _tevent_loop_once () from /lib64/libtevent.so.0
#23 0x00007f8338dd015b in tevent_common_loop_wait () from /lib64/libtevent.so.0
#24 0x00007f833c842361 in main ()
(gdb) f 5
#5  0x00007f833bdef259 in update_num_read_oplocks (fsp=fsp@entry=0x7f833cda9700, lck=lck@entry=0x7f833ce00360) at ../source3/smbd/oplock.c:192
192         SMB_ASSERT(d->num_share_modes == 1);
(gdb) 

Environment

  • Red Hat Enterprise Linux 7
  • samba, ctdb

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content