Project

General

Profile

Actions

Bug #3325

closed

nsmb_close locking and teardown deadlock

Added by Gordon Ross over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-10-31
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

One may observe the SMB server failing to authenticate domain users,
and upon examining stacks, one may find:

> ffffff2da452b560$<threadlist
            ADDR             PROC              LWP CLS PRI            WCHAN
ffffff2da452b560 ffffff2a6d324730 ffffff2aa3480e20   1  59 ffffff303ceb1dc4
  PC: _resume_from_idle+0xf1    CMD: /usr/lib/smbsrv/smbd start
  stack pointer for thread ffffff2da452b560: ffffff013557ea70
  [ ffffff013557ea70 _resume_from_idle+0xf1() ]
    swtch+0x145()
    cv_wait_sig+0x14d()
    smb_iod_reconnect+0x59()
    smb_usr_get_ssn+0x114()
    nsmb_ioctl+0x125()
    cdev_ioctl+0x45()
    spec_ioctl+0x5a()
    fop_ioctl+0x7b()
    ioctl+0x18e()
    dtrace_systrace_syscall32+0x11a()
    _sys_sysenter_post_swapgs+0x149()

Attempts (by root) to connect to the current AD server will also hang.

Actions

Also available in: Atom PDF