• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Symantec / Dominator / 814 / 1
37%
master: 39%

Build:
Build:
LAST BUILD BRANCH: filegen-lock
DEFAULT BRANCH: master
Ran 28 Feb 2020 11:37PM UTC
Files 60
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2020 11:35PM UTC coverage: 38.592%. Remained the same
814.1

Pull #653

travis-ci

web-flow
filegen locks to avoid concurrent map read+write

filegen has been observed to sometimes panic with the following error when registering several watches in a row.

each "register" call starts a goroutine which goes on to read from a map.

```
fatal error: concurrent map read and map write
 goroutine 158 [running]:
 runtime.throw(0x1405d8f, 0x21)
         GOROOT/src/runtime/panic.go:774 +0x72 fp=0xc0006d0ae0 sp=0xc0006d0ab0 pc=0x42f562
 runtime.mapaccess1_faststr(0x11c27a0, 0xc000737ef0, 0x1417f88, 0x2d, 0x0)
         GOROOT/src/runtime/map_faststr.go:21 +0x44f fp=0xc0006d0b50 sp=0xc0006d0ae0 pc=0x412baf
 github.com/Symantec/Dominator/lib/filegen.(*Manager).processPathDataInvalidations(0xc0004b54f0, 0x1417f88, 0x2d, 0xc000724360)
         external/com_github_symantec_dominator/lib/filegen/register.go:47 +0x6d fp=0xc0006d0fc0 sp=0xc0006d0b50 pc=0x102449d
 runtime.goexit()
         src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0006d0fc8 sp=0xc0006d0fc0 pc=0x45f111
 created by github.com/Symantec/Dominator/lib/filegen.(*Manager).registerHashGeneratorForPath
         external/com_github_symantec_dominator/lib/filegen/register.go:41 +0x15d
```
Pull Request #653: filegen locks to avoid concurrent map read+write

1519 of 3936 relevant lines covered (38.59%)

6028.08 hits per line

Source Files on job 814.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 212
  • Travis Job 814.1
  • 9b776c88 on github
  • Prev Job for on filegen-lock (#813.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc