Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

Observing strange issue with SendSync #49

Open
brainpicture opened this issue May 14, 2017 · 2 comments
Open

Observing strange issue with SendSync #49

brainpicture opened this issue May 14, 2017 · 2 comments

Comments

@brainpicture
Copy link

brainpicture commented May 14, 2017

At some moment SendSync returns an empty string instead of the result.
In my case, it happens right after calling another package with C bindings (https://github.com/gographics/imagick)
My code:
data := JSWorker.SendSync(opts)
with some probability, data contains empty string instead of a result. looks like a goroutines multithread issue.

@brainpicture brainpicture changed the title Memory leak when working with Blobs Observing strange issue with SendSync May 14, 2017
@brainpicture brainpicture reopened this May 14, 2017
@brainpicture
Copy link
Author

brainpicture commented May 14, 2017

Even without ImageMagick, I could reproduce this issue, but with much lower probability. So I believe problem occurs when golang calls v8worker from different thread

@emicklei
Copy link
Contributor

any updates on this?

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

No branches or pull requests

2 participants