A timed brlock with 2 locks comes in and the second one blocks, file is closed. smbd_cancel_pending_lock_requests_by_fid sets blr->fsp to NULL. reply_lockingX_error (called via MSG_SMB_BLOCKING_LOCK_CANCEL) deferences blr->fsp because blr->lock_num==1 (the second one blocked). Thanks to Peter Somogyi, somogyi@hu.ibm.com for this bug report.
Created attachment 7746 [details] git-am fix for 3.6.next Volker's patch for master, back ported to 3.6.next.
Comment on attachment 7746 [details] git-am fix for 3.6.next Patch also applies cleanly to 3.5.next.
Comment on attachment 7746 [details] git-am fix for 3.6.next Now you're interested, Metze :-)
Re-assigned to Karolin for inclusion in 3.6.next and 3.5.next. Thanks ! Jeremy.
Pushed to v3-5-test and v3-6-test. Will be included in the next bugfix releases. Closing out bug report. Thanks a lot!