jra at samba.org
Thu May 10 23:25:53 GMT 2007
On Tue, May 08, 2007 at 01:31:23PM -0700, Herb Lewis wrote:
> I'm getting
> [2007/05/08 20:20:20, 0, pid=3626]
> PANIC: assert failed at
> because of the following code
> #ifdef DEVELOPER
> SMB_ASSERT( match != ev );
> if ( match == ev )
> What is this code supposed to be doing? The call is comming
> from the function fork_domain_child
It's checking that the passed in ev pointer to a 'struct fd_event'
isn't already in the list. The usage is confusing, but in the
#DEVELOPER case it's panicing if the struct is already in
the list (as it shouldn't be) and in the non-#DEVELOPER case
it's just ignoring the add request.
Can you run under gdb and catch why it's adding
the same pointer twice ?
More information about the samba-technical