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

adhearsion / punchblock / 1141 / 2
99%
develop: 98%

Build:
Build:
LAST BUILD BRANCH: freeswitch
DEFAULT BRANCH: develop
Ran 27 Aug 2015 07:48PM UTC
Files 135
Run time 4s
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

27 Aug 2015 07:34PM UTC coverage: 99.101% (+0.007%) from 99.094%
2.0.0

push

travis-ci

benlangfeld
Avoid races in processing Asterisk 13 bridges

On Asterisk 13, BridgeEnter and BridgeLeave events do not include the opposite-channel ID, leaving us to track this using the sequential events. When processed by the Call object, these must call back out to the translator to store global state to correlate. In previous releases of Punchblock, this has encountered a race condition because the translator is accessed via its ActorProxy, raising the possibility of the second event being processed before the first is done.

A previous attempt to fix this was https://github.com/adhearsion/punchblock/commit/14f6e760a, released in 2.7.4, but this resulted in a suspected memory leak and crashing under heavy load in one example application. This first attempt was rolled back and the release yanked. This second attempt eliminates the issue by other means, that is moving the correlation up into the translator itself, passing the correlated data down to the call itself.

12242 of 12353 relevant lines covered (99.1%)

99.14 hits per line

Source Files on job 1141.2 (2.0.0)
  • Tree
  • List 0
  • Changed 10
  • Source Changed 3
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1141
  • Travis Job 1141.2
  • fa062c68 on github
  • Prev Job for 2.0.0 on hotfix/2.7.5 (#1138.2)
  • Next Job for 2.0.0 on hotfix/2.7.5 (#1143.2)
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