Samba4 panic action

Andrew Bartlett abartlet at samba.org
Fri Oct 12 04:55:40 MDT 2012


On Fri, 2012-10-12 at 12:51 +0200, steve wrote:
> On 11/10/12 21:21, Jeremy Allison wrote:
> > On Thu, Oct 11, 2012 at 06:30:27PM +0200, steve wrote:
> >> On 11/10/12 13:32, Andrew Bartlett wrote:
> >>> On Thu, 2012-10-11 at 13:18 +0200, steve wrote:
> >>>> Version 4.1.0pre1-GIT-957f9fa
> >>>> Hi
> >>>> Accessing shares on the s3fs server from a w7 client hangs with this:
> >>>
> >>> Thanks for testing this, and I'm sorry this caused you trouble.
> >>>
> >>> The attached patch fixes the changes I made earlier today, and is in
> >>> autobuild.
> >>>
> >>> Andrew Bartlett
> >>>
> >> Hi
> >> I applied the patch and all is well for W7 but now XP hangs with
> >> this as soon as anything is read from the file server:
> >> ]
> >> /usr/local/samba/sbin/smbd:
> >
> > Can you build with -g please and attach with gdb to get a
> > backtrace with line numbers ?
> >
> > Thanks !
> >
> > Jeremy.
> >
> 
> OK. I spoke too soon. w7 works OK. XP still crashes with the LO v3.5.6
> 
> Here is the trace:
> 
> (gdb) bt full
> #0  0xb7fdc424 in __kernel_vsyscall ()
> No symbol table info available.
> #1  0xb76113f8 in __epoll_wait_nocancel () from /lib/libc.so.6
> No symbol table info available.
> #2  0xb7e69b90 in epoll_event_loop (std_ev=0x806fcf8, tvalp=0xbfffef04)
>      at ../lib/tevent/tevent_standard.c:282
>          ret = 134675704
>          i = 1350038816
>          events = {{events = 1, data = {ptr = 0xb7e60ff4, fd = -1209659404,
>                u32 = 3085307892, u64 = 20265177076}}}
>          timeout = 4691

That's not a trace of a smbd stuck running 'sleep'.  

Wait until you see the message in the logs, or set

panic action = /path/to/gdb_backtrace %d

and let it handle it for you.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list