samba-TNG smbd crashing
Tom Crummey
tom at ee.ucl.ac.uk
Mon Apr 10 17:38:05 GMT 2000
Hello,
Well, I've narrowed the crash down to the following:
[ Line 131 smbd/open.c ]
static void fd_attempt_reopen(char *fname, mode_t mode, files_struct *fsp)
{
int fd = fsp->conn->vfs_ops.open(dos_to_unix(fname, False), O_RDWR, mode);
file_fd_struct *fd_ptr = fsp->fd_ptr;
On entry to this function, the variables are:
fname = kixtart.scr, mode = 484, fsp addr = -4263772
(Numbers are %d).
However, I note that fsp->fd_ptr is set to 0 at fsp->fd_ptr = 0; [line 332]
and I can't see anywhere where it is set to anything else before this point
in the code.
I'll continue to dig into this tomorrow.
Tom.
----------------------------------------------------------------------------
Tom Crummey, Systems and Network Manager, EMAIL: tom at ee.ucl.ac.uk
Department of Electronic and Electrical Engineering,
University College London, TEL: +44 (0)20 7679 3898
Torrington Place, FAX: +44 (0)20 7388 9325
London, UK, WC1E 7JE.
----------------------------------------------------------------------------
More information about the samba-ntdom
mailing list