-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Segfault: 11 using node platform #3678
Comments
I think this was an issue introduced in v3.0.0, I'm working on tracking this down. |
There's a bug in the node README that presumably got propagated to the script.
This doesn't write a valid PNG file, because |
Oops, yea, thought this was a different issue. |
Thanks guys. I am able to write an image now (although it took me awhile to find an image library that worked. I ended up with picha) Still segfaults though. |
Sorry for the slow response, finally got some time to look into this and I was able to reproduce the segfault you're seeing - it looks like we're not cleaning up properly when the script exits and trying to improperly
|
On Mac OSX 10.11.2
Node v5.0.0 (also tried v4.2.6)
This is the script: https://gist.github.com/abuchanan/5f3c3737469661314975
Error:
Directory:
I've tried both plain
npm install mapbox-gl-native
and downloading/building the code.npm test
passes, but when I pull the test code (from "renders image") out, it does segfault also, that's just not reflected by the test results.It does write
image.png
but it's not an actual PNG and can't be opened.I'm stumped.
The text was updated successfully, but these errors were encountered: