• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / 13294
89%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2019 07:51PM UTC
Jobs 1
Files 260
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
13294

push

travis-ci

carl-mastrangelo
netty: default grace time for RPCs can leak memory

Using Long.MAX_VALUE as the delay for Netty's NioEventLoop#schedule can
cause (long) deadlines for scheduled tasks to wrap into negative values,
which is unspecified behavior. Recent versions of netty are guarding
against overflows, but not all versions of grpc-java are using a recent
enough netty.

When connections are gracefully closed, Netty's Http2ConnectionHandler
sets up a timeout task forcing resources to be freed after a grace
period. When their deadlines wrap into negative values, a race was
observed in production systems (with grpc-java <= 1.12.1) causing Netty
to never properly release buffers associated with active streams in the
connection being (gracefully) closed.

14282 of 16397 relevant lines covered (87.1%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13294.1 18 Mar 2019 07:51PM UTC 0
87.1
Travis Job 13294.1
Source Files on build 13294
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13294
  • 7df2d5fe on github
  • Prev Build on master (#13283)
  • Next Build on master (#13301)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc