[Samba] PANIC: Signal 11: Segmentation fault in 4.15.2-Debian

Andrew Bartlett abartlet at samba.org
Tue Nov 23 22:10:16 UTC 2021

On Tue, 2021-11-23 at 22:02 +0000, spindles seven wrote:
> On 23 November 2021 20:19 Andrew Bartlett wrote: 
> > Can you get a full GDB backtrace with the gdb_backtrace script?
> > 
> > panic action = /path/to/gdb_backtrace %d
> > 
> > At one point these were automatically enabled in debian actually.
> > 
> Many thanks Andrew.   I would if I could!    I have no idea at all
> how to do that.   I see that the gdb_backtrace script is included for
> self-compiled versions, but I can't see it on the system with Louis'
> compiled version.   

You should probably ask for that if it isn't in a debug package
somewhere.  You do want that anyway as you really need the full

> I assume I would need to install gdb and use the script (copied from
> the sources of 4-15.2)?   How is the script invoked?      Problem is
> I don't know how to trigger the Panic action - it happened this
> morning when I was out, but there may well have been some backups
> running accessing the shares on the server.
> If you can give me some guidance I'll try to do what I can to capture
> the event.

set the panic action as mentioned in the smb.conf and wait until it
fails again.  This time the logs will include more detail on where it

Check it over for sensitive info then put that on a bug.

Andrew Bartlett

Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source

More information about the samba mailing list