Skip to content

lib/sync: Spurious TestRWMutex failure on windows #4213

Closed

Description

@imsodin
2017/06/14 12:10:49.898571 sync.go:106: DEBUG: Mutex held for 125.000001ms. Locked at sync\sync_test.go:87 unlocked at sync\sync_test.go:89
2017/06/14 12:10:49.900517 sync.go:158: DEBUG: RWMutex held for 125.000001ms. Locked at sync\sync_test.go:127 unlocked at sync\sync_test.go:129
--- FAIL: TestRWMutex (0.00s)
	sync_test.go:154: Unexpected message count
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 22 [running]:
testing.tRunner.func1(0xc042046ea0)
	c:/go/src/testing/testing.go:622 +0x566
panic(0x5e9160, 0x10a11e0)
	c:/go/src/runtime/panic.go:489 +0x2fe
github.com/syncthing/syncthing/lib/sync.TestRWMutex(0xc042046ea0)
	c:/jenkins/workspace/syncthing-pr-windows/src/github.com/syncthing/syncthing/lib/sync/sync_test.go:156 +0x7cd
testing.tRunner(0xc042046ea0, 0x61b3c8)
	c:/go/src/testing/testing.go:657 +0x10f
created by testing.(*T).Run
	c:/go/src/testing/testing.go:697 +0x54b
FAIL	github.com/syncthing/syncthing/lib/sync	0.053s

https://build.syncthing.net/job/syncthing-pr-windows/2520/console

Activity

  1. added
    bug
    on Jun 14, 2017
  2. added this to the milestone on Jul 10, 2017
  3. removed this from the milestone on Feb 11, 2018
  4. added
    build
    on May 14, 2020
  5. calmh commented on Jan 23, 2024

    @calmh
    Member

    Been a while

  6. added
    frozen-due-to-age
    on Apr 9, 2025
  7. locked and limited conversation to collaborators on Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuildfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions