samba-TNG Re: Problems with oplocks

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Apr 7 12:19:24 GMT 2000


hi tom,

there is a way to catch this with gdb if there is no corefile: you put a
sleep(20) or maybe even a sleep(60)) which gives you more than enough time
to notice the problem if you are running grep INTERNAL log.*, and fire up
gdb bin/.libs/smbd in advance, and then jump on that and do attach 739 (in
this case, because 739 is the process id).



On Fri, 7 Apr 2000, Tom Crummey wrote:

> Hello,
> 
> samba-TNG cvs update 11:00BST 05/04/00 Solaris 2.7 gcc 2.8.1 Sparc 64
> 
> I've found that smbd is crashing. 
> 
> [2000/04/07 10:09:37, 1] smbd/service.c:make_connection(639)
>   thriller (128.40.40.38) connect to service mjackson as user mjackson (uid=608, 
> gid=400) (pid 739)
> [2000/04/07 10:09:44, 0] lib/fault.c:fault_report(40)
>   ===============================================================
> [2000/04/07 10:09:44, 0] lib/fault.c:fault_report(41)
>   INTERNAL ERROR: Signal 11 in pid 739 (TNG-prealpha)
>   Please read the file BUGS.txt in the distribution
> [2000/04/07 10:09:44, 0] lib/fault.c:fault_report(43)
>   ===============================================================
> [2000/04/07 10:09:44, 0] lib/util.c:smb_panic(2627)
>   PANIC: internal error
> 
> Unfortunately, this isn't enough information to track the bug, but as
> soon as I get a corefile from the next one I'll send in a stack trace.
> In the meantime, what is the correct behaviour for smbd and oplocks when
> it crashes like this? Should the signal handler clear the locks or
> should they be handed on to another smbd process?
> 
> 
> 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