docker-protobuf
docker-protobuf copied to clipboard
SIGSEGV when building java
Hello,
Since the add of upx when you try to compile java grpc you get:
--grpc-java_out: protoc-gen-grpc-java: Plugin killed by signal 11.
replacing https://github.com/znly/docker-protobuf/blob/master/Dockerfile#L46 by
`find /usr/bin -name 'protoc-gen-*' ! -name 'protoc-gen-grpc-java' -type f` \
fix the problem but it don't fix the real problem that is when you strip protoc-gen-grpc-java it cause SIGSEGV.
Same issue with some gogo output (works on older znly/protoc image versions)
Using gogo too, no issues here
Also, we are succesfully generating javanano outputs (albeit not grpc)
Same issue with gprc-gateway, I removed upx optimizations and now it (re)works fine.
I will try to investigate a little bit more the issue.
@sfroment can you give a new try ? I think it was fixed with #14