Closed Esya closed 10 years ago
Hmm, so it was a week ago I don't remember how exactly I did the test. But if the Schema is not in the desc file, it segs fault.
OSX 10.8.3, protoc 2.5.0 as the compiler
@Esya Well, what did you expect if you try to use incorrect desc file? But I guess I should add check for this.
Well obviously not a Seg fault first of all. This should never happen.
2013/11/4 Dmitry Gorbunov notifications@github.com
@Esya https://github.com/Esya Well, what did you expect if you try to use incorrect desc file? But I guess I should add check for this.
— Reply to this email directly or view it on GitHubhttps://github.com/fuwaneko/node-protobuf/issues/11#issuecomment-27686251 .
@Esya should be fixed in 1.0.7
I have the same problem with 1.0.7. (Node 0.10.18, protoc 2.4.1).
@sortega could you please post your code and proto file?
I've created a minimal node module that fails with segfault here https://dl.dropboxusercontent.com/u/11539316/protofail.tar.gz
More details: OS X 10.9
@sortega hmm, it works on my PC, Node 10.21 and libprotobuf 2.5.0. Maybe it's Mac OS related, but I don't have Mac to check it thoroughly.
Might be as I've updated to OS X mavericks very recently. (I've already regretted it)
I don't see this error on 10.9. Probably fixed.
Using node v0.10.21, protoc 2.5.0
If I compile any proto file, then
I get a segfault right away