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

zeromq / libzmq / 4337
76%

Build:
DEFAULT BRANCH: master
Ran 08 Oct 2018 04:21PM UTC
Jobs 1
Files 267
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
4337

push

travis-ci

bluca
Problem: The flag that indicates the next expected message gets set even if the send fails (#3270)

* ZMQ_DGRAM: flip more flag after successful send

In the dgram socket we have a flag that indicates the next expected message type to ensure that always a pair of "address" + "body" messages gets sent. The first one MUST have the sendmore flag, the second MUST NOT.

In case the message does not get sent because of HWM full, then the function returns EAGAIN as it should. But unfortunately the next expected message type-flag gets flipped as well. When the socket_base::send function now tries to resend the message, it became the wrong message type... If you don't stop sending pairs of messages here (like me) then the next message that gets through will be of the wrong type, which in turn crashes the udp_engine function as described in #3268

9984 of 12387 relevant lines covered (80.6%)

51952.12 hits per line

Jobs
ID Job ID Ran Files Coverage
8 4337.8 (BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled) 08 Oct 2018 04:21PM UTC 0
80.6
Travis Job 4337.8
Source Files on build 4337
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4337
  • c1ac158f on github
  • Prev Build on master (#4331)
  • Next Build on master (#4338)
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