switch message SMBulogoffX (task_id 36) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208916288 (LWP 1966)] 0x08394e03 in ntvfs_logoff (req=0x87bb388) at ntvfs/ntvfs_interface.c:298 298 struct ntvfs_module_context *ntvfs = req->ctx->modules; (gdb) print req $1 = (struct smbsrv_request *) 0x87bb388 (gdb) print req->ctx $2 = (struct ntvfs_context *) 0x0 Please find attached a patch which WorksForMe. After applying the patch, the same operation yields: switch message SMBulogoffX (task_id 38) ntvfs_logoff: ntvfs_request->ctx is NULL switch message SMBtdis (task_id 38) 192.168.254.69 closed connection to service IPC$ -- /v\atthew
Created attachment 1809 [details] PATCH against svn trunk to check req->ctx for nullness And I am happy to report that samba4 is serving that patch :-)
I've fixed this by fixing the caller. Thanks for the report!