[Samba] repeatedly crashing smbd when printing: broken pipe

Daniel.Ammann at u-blox.com Daniel.Ammann at u-blox.com
Tue Oct 22 16:30:01 GMT 2002


for months, we keep fighting issues with smbd 
(now at released 2.2.6), config is with spoolss, 
domain logon, and the client in question is an 
NT4 machine. server is a i386/linux 2.2.19

For a very long time, we thought it was related 
to oplocks, but now after having them disabled, 
it still is there.

Level 3 Log is as follows:

[2002/10/22 17:08:18, 3] smbd/ipc.c:reply_trans(480)
  trans <\PIPE\> data=1224 params=0 setup=2
[2002/10/22 17:08:18, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on <> name
[2002/10/22 17:08:18, 3] smbd/ipc.c:api_fd_reply(296)
  Got API command 0x26 on pipe "spoolss" (pnum 7222)free_pipe_context: 
destroying talloc pool of size 0
[2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_pipe_request(1148)
  Doing \PIPE\spoolss
[2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_rpcTNP(1180)
  api_rpcTNP: pipe 29218 rpc command: SPOOLSS_GETPRINTER
[2002/10/22 17:08:18, 3] 
rpc_server/srv_pipe_hnd.c:free_pipe_context(448)
  free_pipe_context: destroying talloc pool of size 1740
[2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket_data(499)
  write_socket_data: write failure. Error = Broken pipe
[2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket(524)
  write_socket: Error writing 1264 bytes to socket 6: ERRNO = Broken 
pipe
[2002/10/22 17:08:18, 0] lib/util_sock.c:send_smb(704)
  Error writing 1264 bytes to client. -1. (Broken pipe)

And in the end, it will exit:

[2002/10/22 17:08:18, 3] smbd/server.c:exit_server(495)
  Server exit (send_trans_reply: send_smb failed.

Any ideas appreciated. And, yes, I will try to 
capture the event with Log Level 10.

Daniel

--
Daniel Ammann            Direct: +41 1 7227481
u-blox AG           Switchboard: +41 1 7227444
Zuercherstrasse 68          Fax: +41 1 7227447
8800 Thalwil, Switzerland http://www.u-blox.ch




More information about the samba mailing list