Spotted by Volker and reported on samba-technical: ------------------------------------------------------ While staring at code I found a nasty defect that might kick in when an smbd dies hard and leaves stale share mode entries behind. See the torture test in the last patch of this patchset. Please review and comment or push. Thanks, Volker ------------------------------------------------------ Patchset from master to follow. Jeremy.
Created attachment 9208 [details] git-am fix for 4.1.0 Equivalent to the following cherry-picks. git cherry-pick -x 94b320527eee0c7ba1d3818816e7d59cb863bf3f git cherry-pick -x 696bc569b17f024f840774e3d59761229836a310 git cherry-pick -x 5006db98aaf1efe119f1da8be091587a9bc2b952 git cherry-pick -x 7d91ffc6fdc3b371564e14f09822a96264ea372a git cherry-pick -x ade8477f98fcffcc6e3c5ea31618b49d0c1bba95 Jeremy.
Created attachment 9209 [details] git-am fix for 4.0.next The cherry-pick fixes from master don't fully apply (the fix: git cherry-pick -x 5006db98aaf1efe119f1da8be091587a9bc2b952 smbd: Rename parameter "i" to "idx" - doesn't apply cleanly). All the other fixes are identical. Jeremy.
Is there a chance to get review until tomorrow (freeze for 4.0.10)?
Re-assigning to Karolin for inclusion in 4.0.next, 4.1.0. Jeremy.
(In reply to comment #4) > Re-assigning to Karolin for inclusion in 4.0.next, 4.1.0. > > Jeremy. Pushed to autobuild-v4-1-test and autobuild-v4-0-test.
(In reply to comment #5) > (In reply to comment #4) > > Re-assigning to Karolin for inclusion in 4.0.next, 4.1.0. > > > > Jeremy. > > Pushed to autobuild-v4-1-test and autobuild-v4-0-test. The v4-0-test autobuild failed two times, giving it another try...
Failed on make test, or somewhere else ?
(In reply to comment #7) > Failed on make test, or somewhere else ? Hmm, logs overwritten... Is there a chance to see the old logs?
[331/721 in 8m3s] samba3.base.disconnect(s3dc) Using seed 1380187409 trying disconnect with async lock trying open/disconnect trying disconnect with async lock trying open/disconnect trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK trying disconnect with async lock trying open/disconnect (../source4/torture/basic/disconnect.c:64) Incorrect status NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK UNEXPECTED(error): samba3.base.disconnect.disconnect(s3dc) REASON: _StringException: _StringException: Unknown error/failure. Missing torture_fail() or torture_assert_*() call? FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites) A summary with detailed information can be found in: ./st/summary SELFTEST FAILED
Pushed to v4-1-test.
(In reply to comment #9) > [331/721 in 8m3s] samba3.base.disconnect(s3dc) > Using seed 1380187409 > trying disconnect with async lock > trying open/disconnect > trying disconnect with async lock > trying open/disconnect > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > trying disconnect with async lock > trying open/disconnect > (../source4/torture/basic/disconnect.c:64) Incorrect status > NT_STATUS_IO_TIMEOUT - should be NT_STATUS_OK > UNEXPECTED(error): samba3.base.disconnect.disconnect(s3dc) > REASON: _StringException: _StringException: Unknown error/failure. Missing > torture_fail() or torture_assert_*() call? > > FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites) > > A summary with detailed information can be found in: > ./st/summary > SELFTEST FAILED Can anyone investigate, please? The patch is in 4.1, but not in 4.0 now...
Yes I will investigate, although it may have to wait until I'm back in the office on Monday (Sept 30th). Jeremy.
(In reply to comment #12) > Yes I will investigate, although it may have to wait until I'm back in the > office on Monday (Sept 30th). > > Jeremy. Thanks, Jeremy!
Ok, this patchset still breaks the autobuild. I think Volker is going to have a look at this one also. When this issue isn't solved until tomorrow, I will go ahead with the release without this patchset. Or shall I delay the release then?
Created attachment 9247 [details] Additional patch for 4.0 This is required on top of https://bugzilla.samba.org/attachment.cgi?id=9209 to fix a crash with this code
Comment on attachment 9247 [details] Additional patch for 4.0 Thanks a lot Volker, sorry for not testing enough when creating the 4.0.x patchset. Jeremy.
Karolin, with Volker's additional patch this now works for 4.0.next. Cheers, Jeremy.
(In reply to comment #15) > Created attachment 9247 [details] > Additional patch for 4.0 > > This is required on top of https://bugzilla.samba.org/attachment.cgi?id=9209 to > fix a crash with this code Thanks a lot for investigating, Volker! :-) Unfortunately, the autobuild failed anyway, but that seems to be another problem...
Pushed to v4-0-test. Closing out bug report. Thanks!