The Samba-Bugzilla – Attachment 3463 Details for
Bug 5680
triggering io.c:188: got_flist_entry_status: Assertion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Extra debugging in place of the cited assert
extra-debugging.patch (text/plain), 653 bytes, created by
Wayne Davison
on 2008-08-09 12:00:07 UTC
(
hide
)
Description:
Extra debugging in place of the cited assert
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2008-08-09 12:00:07 UTC
Size:
653 bytes
patch
obsolete
>--- a/io.c >+++ b/io.c >@@ -186,7 +186,16 @@ static void got_flist_entry_status(enum festatus status, const char *buf) > int ndx = IVAL(buf, 0); > struct file_list *flist = flist_for_ndx(ndx); > >- assert(flist != NULL); >+ if (flist == NULL) { >+ extern struct file_list *first_flist; >+ int start1 = first_flist ? first_flist->ndx_start : 0; >+ int start2 = first_flist ? first_flist->prev->ndx_start : 0; >+ int used = first_flist ? first_flist->prev->used : 0; >+ rprintf(FERROR, >+ "File index not found: %d (%d - %d)\n", >+ ndx, start1 - 1, start2 + used - 1); >+ exit_cleanup(RERR_PROTOCOL); >+ } > > if (remove_source_files) { > active_filecnt--;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5680
: 3463