Another showstopper in 2.2.5

Pascal pascal at vmfacility.fr
Tue Aug 20 09:13:00 GMT 2002


Le Mardi 20 Août 2002 18:24, David Collier-Brown a écrit :
> Fredrik Ohrn wrote:
> > Sooner or later the smbd dies on a SIGPIPE when trying to send a
> > keepalive. The SIGPIPE isn't catched, thus it leaves stale sharemodes.
>
> 	Thank you, Oh Kind Person!
> 	(I was wondering how this could possibly happen, you see)

hummm I wonder if there are other places in the code where signals could break 
smbd while beeing in a critical section (locks active in the locking.tdb for 
ex)...

Pascal

>
> > Program received signal SIGPIPE, Broken pipe.
> > 0x4015e332 in send () from /lib/libc.so.6
> > (gdb) bt
> > #0  0x4015e332 in send () from /lib/libc.so.6
> > #1  0x0812f81d in sys_send ()
> > #2  0x0813e90b in write_socket_data ()
> > #3  0x0813e70b in send_keepalive ()
> > #4  0x080a2348 in timeout_processing ()
> > #5  0x080a264e in smbd_process ()
> > #6  0x08069959 in main ()
> > #7  0x4008a280 in __libc_start_main () from /lib/libc.so.6
> > (gdb) cont
> > Continuing.
> >
> > Program terminated with signal SIGPIPE, Broken pipe.
> > The program no longer exists.
> > (gdb)
> >
> > Things to note is that the client is alive and have had no (obvious)
> > reason to drop the connection or otherwise stop responding. I have tried
> > this over and over and it's allways in send_keepalive that the SIGPIPE of
> > death happens.
>
> --dave




More information about the samba-technical mailing list