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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

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
Comment by Jonathan Schilling (Jonathan9192) - Tuesday, 04 February 2020, 00:11 GMT
Hi there,

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

Loading...