FS#65174 - [grpc] buggy tracer subsystem eats 100% cpu
Attached to Project:
Community Packages
Opened by Ram Pani (DuckSoft) - Thursday, 16 January 2020, 03:51 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 05 February 2020, 09:08 GMT
Opened by Ram Pani (DuckSoft) - Thursday, 16 January 2020, 03:51 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 05 February 2020, 09:08 GMT
|
Details
Description:
gRPC tracer subsystem is not correctly written, which, regardless of enabled/disabled tracer, program will be stuck in an infinite loop, causing a 100% cpu usage. Upstream has merged a sidestep for this bug: https://github.com/grpc/grpc/commit/b54a5b338637f92bfcf4b0bc05e0f57a5fd8fadd BUT IT WILL TAKE MAYBE FOREVER TO RELEASE. I suggest we APPLY A PATCH to the build process of grpc 1.26.0-4, to fix this problem earlier. Additional info: * package version(s) 1.26.0-4 introduced the problem back, where in 1.25.0, there's no such problem. * link to upstream bug report, if You may find more in grpc. But the problem is hugging serious. https://github.com/grpc/grpc/issues/21609 https://github.com/grpc/grpc/issues/21633 https://github.com/grpc/grpc/issues/21280 https://github.com/grpc/grpc/issues/21213 https://github.com/grpc/grpc/issues/21273 https://github.com/grpc/grpc/issues/21507 https://github.com/grpc/grpc/issues/21552 https://github.com/grpc/grpc/issues/21548 https://github.com/grpc/grpc/issues/21213 Steps to reproduce: Use their C++ helloworld. Compile it, run it, you get a dead loop. Or, visit all that upstream bug reports to find another way to reproduce. |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Wednesday, 05 February 2020, 09:08 GMT
Reason for closing: Fixed
Additional comments about closing: grpc-1.27.0-1
Wednesday, 05 February 2020, 09:08 GMT
Reason for closing: Fixed
Additional comments about closing: grpc-1.27.0-1
I stumbled into this bug today as well and here is a (hopefully) AUR-compatible repo with an appropriate patch:
https://github.com/jonathanschilling/grpc-git
I would be more than happy if I could remove this repo as soon as possible. Feel free to incorporate any contents as needed.
Best regards,
Jonathan