grpc-swift: Segmentation fault: 11
Hi! I don’t know english…
Bug:
1. git clone git@github.com:grpc/grpc-swift.git
2. cd grpc-swift
3. make && make project
4. ./.build/x86_64-apple-macosx10.10/debug/Echo serve
5. !!!!!!!!!!! WAIT ~30 MINUTES !!!!!!!!!!!!!!!
6. Open another tab of terminal
7. ./.build/x86_64-apple-macosx10.10/debug/Echo get
8. Segmentation fault: 11
THE END =)
server
$ ./.build/x86_64-apple-macosx10.10/debug/Echo serve
starting insecure server
Server received request to localhost:8080 calling /echo.Echo/Get from ipv6:[::1]:61747 with metadata ["x-ios-bundle-identifier": "io.grpc.echo", "x-goog-api-key": "YOUR_API_KEY", "user-agent": "grpc-c/6.0.0 (osx; chttp2; glorious)"]
Segmentation fault: 11
client
Olehs-MacBook-Pro:grpc-swift nerzh$ ./.build/x86_64-apple-macosx10.10/debug/Echo get
calling get
get sending: Testing 1 2 3
get received: Swift echo get: Testing 1 2 3
Olehs-MacBook-Pro:grpc-swift nerzh$ ./.build/x86_64-apple-macosx10.10/debug/Echo get
calling get
get sending: Testing 1 2 3
Unknown error occurred.
I repeat this test five times and get the same result: wait some time ~15-30 minutes, send request with ./.build/x86_64-apple-macosx10.10/debug/Echo get
or another like ./.build/x86_64-apple-macosx10.10/debug/Echo update
etc and get Segmentation fault: 11
If run server in Xcode :
Why ? What I am doing wrong ?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (5 by maintainers)
I am about to fix this in #630.
Just FYI still happens in v0.10.0
I have the same problem. This workaround will fix that. But no idea to fix completely.