docker-protobuf icon indicating copy to clipboard operation
docker-protobuf copied to clipboard

SIGSEGV when building java

Open sfroment opened this issue 9 years ago • 5 comments

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.

sfroment avatar Nov 09 '16 15:11 sfroment

Same issue with some gogo output (works on older znly/protoc image versions)

moul avatar Nov 16 '16 21:11 moul

Using gogo too, no issues here

steeve avatar Nov 16 '16 23:11 steeve

Also, we are succesfully generating javanano outputs (albeit not grpc)

steeve avatar Nov 16 '16 23:11 steeve

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.

QuentinPerez avatar Nov 21 '16 16:11 QuentinPerez

@sfroment can you give a new try ? I think it was fixed with #14

moul avatar Jan 14 '17 15:01 moul