Comments (4)
@pcj Thanks for merging, hopefully you can cut a release with the fix soon!
from rules_proto.
This looks like a interaction in gazelle itself. We see this
Note that the gazelle version here is substantially newer than the default version grabbed by stackb's rules_proto.
fatal error: concurrent map read and map write
goroutine 1 [running]:
github.com/bazelbuild/bazel-gazelle/resolve.(*resolveConfig).findOverride(0xc000146db0, {{0x9e71a7?, 0x9e9411?}, {0xc000392781?, 0xb?}}, {0x9e71a7, 0x2})
external/gazelle~0.35.0/resolve/config.go:90 +0xeb
github.com/bazelbuild/bazel-gazelle/resolve.FindRuleWithOverride(0x95a1a0?, {{0x9e71a7?, 0xc000392781?}, {0xc000392781?, 0x40?}}, {0x9e71a7, 0x2})
external/gazelle~0.35.0/resolve/config.go:35 +0xf9
github.com/bazelbuild/bazel-gazelle/language/go.ResolveGo(0xc00045e3c0, 0x411a05?, 0xc0019e8460, {0xc000392781, 0x31}, {{0xc0004981e1, 0xe}, {0xc000482138, 0x16}, {0xc0004a2ed0, ...}, ...})
external/gazelle~0.35.0/language/go/resolve.go:134 +0x2dd
github.com/bazelbuild/bazel-gazelle/language/go.(*goLang).Resolve.func1({0xc000392781?, 0xc001b6ed38?})
external/gazelle~0.35.0/language/go/resolve.go:80 +0x8a
github.com/bazelbuild/bazel-gazelle/rule.(*PlatformStrings).Map.func1({0xc000475400, 0xb, 0x2?})
external/gazelle~0.35.0/rule/platform_strings.go:147 +0xca
github.com/bazelbuild/bazel-gazelle/rule.(*PlatformStrings).MapSlice.func1(...)
external/gazelle~0.35.0/rule/platform_strings.go:165
github.com/bazelbuild/bazel-gazelle/rule.(*PlatformStrings).MapSlice(0xc001b6f008, 0x7effd3f78108?)
external/gazelle~0.35.0/rule/platform_strings.go:208 +0xec
github.com/bazelbuild/bazel-gazelle/rule.(*PlatformStrings).Map(0xac5680?, 0xc0003fa3f0?)
external/gazelle~0.35.0/rule/platform_strings.go:155 +0x6f
github.com/bazelbuild/bazel-gazelle/language/go.(*goLang).Resolve(0x2ae3e90, 0xc00045e3c0, 0xc0001a81e0, 0xc0019e8460, 0xc000490b00, {0x9b00c0?, 0xc0004b3bf0?}, {{0xc0004981e1, 0xe}, {0xc000482138, ...}, ...})
external/gazelle~0.35.0/language/go/resolve.go:79 +0x26c
main.runFixUpdate({0xc00002e05a, 0x1a}, 0x7ffca8979f71?, {0xc0001a8020, 0x3, 0x3})
external/gazelle~0.35.0/cmd/gazelle/fix-update.go:471 +0x1bff
main.run({0xc00002e05a?, 0x1a?}, {0xc0001a8010?, 0x4?, 0x4?})
external/gazelle~0.35.0/cmd/gazelle/gazelle.go:95 +0x1dd
main.main()
external/gazelle~0.35.0/cmd/gazelle/gazelle.go:72 +0xf5
goroutine 10 [select]:
os/exec.(*Cmd).watchCtx(0xc0003e8b00, 0xc0001807e0)
GOROOT/src/os/exec/exec.go:757 +0xb5
created by os/exec.(*Cmd).Start in goroutine 1
GOROOT/src/os/exec/exec.go:743 +0x9c9
from rules_proto.
from rules_proto.
@vihangm https://github.com/stackb/rules_proto/releases/tag/v3.0.0
from rules_proto.
Related Issues (20)
- grpc server reflection failed in golang HOT 1
- WorkspaceSnippet is ignored in deps gen HOT 2
- Migrate to new rules_js/aspect_rules_ts? HOT 3
- rules_proto & rules_go problems / general dependency problems HOT 1
- checksum changed for `rules_proto` and dependencies HOT 1
- question: could you pinpoint the protoc version of this repository compared to bazelbuild/rules_proto? HOT 1
- bzlmod support HOT 4
- No such package '@com_github_grpc_grpc// HOT 1
- Bad syntax for proto_repository_tools_srcs.bzl HOT 3
- Publish a new release? HOT 2
- Support for rules_go 0.41.0 and gazelle 0.32.0
- proto_gazelle is not gathering up all data for runfiles
- proto_compile_assets not working when strip_import_prefix is used HOT 3
- imports calculation for proto_py_library is broken
- Document starlark API better
- gazelle <0.35 no longer supported HOT 2
- error loading package '@build_stack_rules_proto//': cannot load '//rules:proto_gazelle.bzl' HOT 2
- Support linux arm64 prebuilt protoc
- Importing a proto_py_library fails to resolve with gazelle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_proto.