samba-TNG smbd crashing

Luke Kenneth Casson Leighton lkcl at samba.org
Tue Apr 11 01:25:23 GMT 2000


tom, andrew just did some updates to cvs main, i'm going to see if they
compile, and then if they do, cut them over.

On Mon, 10 Apr 2000, Tom Crummey wrote:

> 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.                         
> ----------------------------------------------------------------------------
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list