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

msoleps is not goroutine safe #169

Open
persol-makise opened this issue May 2, 2024 · 0 comments
Open

msoleps is not goroutine safe #169

persol-makise opened this issue May 2, 2024 · 0 comments

Comments

@persol-makise
Copy link

Hi,

I'm using this library to convert doc files into text using multiple goroutines, but I encountered the error below,

fatal error: concurrent map writes
goroutine 22096 [running]:
github.com/richardlehane/msoleps.addDefaults(...)
        /go/pkg/mod/github.com/richardlehane/[email protected]/sets.go:20
github.com/richardlehane/msoleps.(*Reader).start(0xc003e0ef78, {0x142a840?, 0xc0028fc000?})
        /go/pkg/mod/github.com/richardlehane/[email protected]/msoleps.go:125 +0x2de
github.com/richardlehane/msoleps.(*Reader).Reset(...)
        /go/pkg/mod/github.com/richardlehane/[email protected]/msoleps.go:76
code.sajari.com/docconv/v2.ConvertDoc.func1()
        /go/pkg/mod/code.sajari.com/docconv/[email protected]/doc.go:44 +0x147
created by code.sajari.com/docconv/v2.ConvertDoc in goroutine 21884
        /go/pkg/mod/code.sajari.com/docconv/[email protected]/doc.go:25 +0x178

I'm using v2.0.0-pre.3

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

No branches or pull requests

1 participant