When CTDB is unhealthy and smbd spawns a new child, the child will panic and leave a core dump. This behavior seems to be overcautious, leaving a log message and exiting the process would be good enough. Proposed patch to be attached next
Created attachment 6646 [details] proposed patch
Created attachment 6652 [details] proposed patch (as in master) Updated patch to use lp_clustering() instead of #ifdef CLUSTER_SUPPORT
Comment on attachment 6652 [details] proposed patch (as in master) not necessarily for 3.6.0, but probably worth it for 3.6.1
Pushed to v3-6-test. Closing out bug report. Thanks!