[Samba] PANIC: assert failed at

Rowland Penny rpenny at samba.org
Wed Aug 9 08:26:22 UTC 2023



On 09/08/2023 08:59, rob via samba wrote:
> Hello there,
> 
> I am running the latest samba version 4.18.5 on Ubuntu 22.04 with all OS 
> updates applied before compiling the thing.
> 
> The samba server runs for a while, several days sometimes even a couple 
> of weeks. All of a sudden clients have trouble connecting to some shares.
> The strange thing is that a good number of clients can still connect and 
> seem to work all right while others can't.
> 
> After killing all samba processes and starting anew everything is back 
> to normal and all clients who just had trouble can connect again.
> 
> No errors in syslog that would point somewhere and the log.smbd file 
> shows the following.
> 
> 
> 
> ------------------------
> 
> PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == 
> -1) || (fh->fd == AT_FDCWD)
> [2023/08/08 13:58:02.625780,  0] ../../lib/util/fault.c:173(smb_panic_log)
>    ===============================================================
> [2023/08/08 13:58:02.625803,  0] ../../lib/util/fault.c:174(smb_panic_log)
>    INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) 
> in pid 3708663 (4.18.5)
> [2023/08/08 13:58:02.625820,  0] ../../lib/util/fault.c:178(smb_panic_log)
>    If you are running a recent Samba version, and if you think this 
> problem is not yet fixed in the latest versions, please consider 
> reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting

Please read and follow the wiki page, Samba should not crash.

Rowland




More information about the samba mailing list