Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix race condition in Reader due to concurrent map write #6

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

jonathaningram
Copy link
Contributor

fatal error: concurrent map writes
github.com/richardlehane/msoleps.addDefaults(...)
	/go/pkg/mod/github.com/richardlehane/msoleps@v1.0.3/sets.go:20
github.com/richardlehane/msoleps.(*Reader).start(0xc001bb1f78, {0xc8a180?, 0xc00037be80?})
	/go/pkg/mod/github.com/richardlehane/msoleps@v1.0.3/msoleps.go:125 +0x2de
github.com/richardlehane/msoleps.(*Reader).Reset(...)
	/go/pkg/mod/github.com/richardlehane/msoleps@v1.0.3/msoleps.go:76
...

```
fatal error: concurrent map writes
github.com/richardlehane/msoleps.addDefaults(...)
	/go/pkg/mod/github.com/richardlehane/msoleps@v1.0.3/sets.go:20
github.com/richardlehane/msoleps.(*Reader).start(0xc001bb1f78, {0xc8a180?, 0xc00037be80?})
	/go/pkg/mod/github.com/richardlehane/msoleps@v1.0.3/msoleps.go:125 +0x2de
github.com/richardlehane/msoleps.(*Reader).Reset(...)
	/go/pkg/mod/github.com/richardlehane/msoleps@v1.0.3/msoleps.go:76
...
```
jonathaningram added a commit to sajari/docconv that referenced this pull request Nov 20, 2023
See [my race fix PR]. Saw the issue in our logs, so using our fork for
now.

[my race fix PR]: richardlehane/msoleps#6
jonathaningram added a commit to sajari/docconv that referenced this pull request Nov 20, 2023
See [my race fix PR]. Saw the issue in our logs, so using our fork for
now.

[my race fix PR]: richardlehane/msoleps#6
@richardlehane richardlehane merged commit c8ca5a1 into richardlehane:master Nov 24, 2023
@richardlehane
Copy link
Owner

thanks very much for this contribution @jonathaningram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants