Hello crew,

whilst working with a branch (not the trunk) I came upon an odd bug. During server initialization in the function lebf_initialize() the function creates a dummy request and encodes it over and over again, once for each request type in order to discover the max size. This dummy request is never zero'd between iterations. I found that in some instances this caused a seg fault - but changing almost anything might undo it. Same code compiled/linked a different way may or may not fail. Simply putting a memset() in the loop fixes it, as far as I can tell.

Anyone know why we don't zero the request, or object to adding that? Seems to have no performance impact since it is in initialization.

Walt
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to