Closed Bug 1651601 Opened 5 years ago Closed 5 years ago

Intermittent Assertion failed: (0), function nr_ice_media_stream_start_checks, file /builds/worker/checkouts/gecko/media/mtransport/third_party/nICEr/src/ice/ice_media_stream.c, line 414.

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- fixed
firefox79 --- wontfix
firefox80 --- fixed
firefox81 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: bwc)

References

Details

(Keywords: assertion, intermittent-failure)

Attachments

(3 files)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=309097152&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eoTjFjO5QHGI6-uceCBHug/runs/0/artifacts/public/logs/live_backing.log


[task 2020-07-09T06:47:08.602Z] 06:47:08 INFO - TEST-START | /webrtc/RTCPeerConnection-restartIce.https.html
[task 2020-07-09T06:47:10.389Z] 06:47:10 INFO - PID 2798 | (ice/INFO) ICE-PEER(PC:1594277230268608 (id=23622320136 url=https://web-platform.test:8443/webrtc/RTCPeerConnection-restartIce.https.html):default)/CAND-PAIR(5Bq9): setting pair to state FROZEN: 5Bq9|IP4:10.49.56.235:65493/UDP|IP4:10.49.56.235:50551/UDP(host(IP4:10.49.56.235:65493/UDP)|candidate:0 1 UDP 2122252543 10.49.56.235 50551 typ host)
[task 2020-07-09T06:47:10.389Z] 06:47:10 INFO - PID 2798 | (ice/INFO) ICE(PC:1594277230268608 (id=23622320136 url=https://web-platform.test:8443/webrtc/RTCPeerConnection-restartIce.https.html))/CAND-PAIR(5Bq9): Pairing candidate IP4:10.49.56.235:65493/UDP (7e7f00ff):IP4:10.49.56.235:50551/UDP (7e7f00ff) priority=9115005270282338815 (7e7f00fffcfe01ff)
[task 2020-07-09T06:47:10.389Z] 06:47:10 INFO - PID 2798 | Assertion failed: (0), function nr_ice_media_stream_start_checks, file /builds/worker/checkouts/gecko/media/mtransport/third_party/nICEr/src/ice/ice_media_stream.c, line 414.
[task 2020-07-09T06:47:10.667Z] 06:47:10 INFO - PID 2798 | [Parent 2798, Unnamed thread 1276f52f0] WARNING: Resource acquired is being released in non-LIFO order; why?
[task 2020-07-09T06:47:10.667Z] 06:47:10 INFO - PID 2798 | : file /builds/worker/checkouts/gecko/xpcom/threads/BlockingResourceBase.cpp, line 292
[task 2020-07-09T06:47:10.667Z] 06:47:10 INFO - PID 2798 | --- Mutex : dumpSafetyLock (currently acquired)
[task 2020-07-09T06:47:10.668Z] 06:47:10 INFO - PID 2798 | calling context
[task 2020-07-09T06:47:10.668Z] 06:47:10 INFO - PID 2798 | [stack trace unavailable]

See Also: → 1651840
Assignee: nobody → docfaraday

Try looks good, seeing if I can hit the assertion with some retriggers.

Not hitting the assertion. Probably ok now.

Pushed by bcampen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e7a4a1681a1 Filter gathered candidates when their component is obsolete. r=mjf
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80

Hmm, seems to have not done the trick.

Status: RESOLVED → REOPENED
Flags: needinfo?(docfaraday)
Resolution: FIXED → ---

Ah, it looks like there are at least two stacks here. One involves gathering a local candidate when the stream is obsolete, the other involves receiving an ICE check on an obsolete stream. The patch on this bug was intended to fix the former.

Looks like we also need some work on remote trickle candidates here.

I wonder why all of these things are happening now... maybe bug 1326005 opened up this window of opportunity?

Try in comment 23 looks really orange, but it is all pre-existing initermittents. I'm going to do a comparison push on the base revision.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=558488fae4039b2803ba36def8be67e7e23338a8

Pushed by bcampen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/014a5eab2a2c Only do the minimum processing for STUN messages on an obsolete stream. r=mjf
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: mozilla80 → 81 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 81 Branch → ---

Looks like we have a lost patch from comment 20. Trying to find it...

Pushed by bcampen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/88b60065bd1e Ignore remote trickle candidates for obsolete streams. r=mjf
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

The patch landed in nightly and beta is affected.
:bwc, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(docfaraday)

Let's wait a bit and see if we've covered all the ways this can happen.

Looks like this is all sorted out now. It may be worth uplifting to esr.

Flags: needinfo?(docfaraday)

Comment on attachment 9166819 [details]
Bug 1651601: Ignore remote trickle candidates for obsolete streams.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This fixes a common intermittent failure.
  • User impact if declined:
  • Fix Landed on Version: 81
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String or UUID changes made by this patch: None
Attachment #9166819 - Flags: approval-mozilla-esr78?
Attachment #9162858 - Flags: approval-mozilla-esr78?
Attachment #9163564 - Flags: approval-mozilla-esr78?

Comment on attachment 9166819 [details]
Bug 1651601: Ignore remote trickle candidates for obsolete streams.

Beta/Release Uplift Approval Request

  • User impact if declined: See request for esr
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String changes made/needed: none
Attachment #9166819 - Flags: approval-mozilla-beta?
Attachment #9163564 - Flags: approval-mozilla-beta?

Comment on attachment 9166819 [details]
Bug 1651601: Ignore remote trickle candidates for obsolete streams.

approved for 80.0b6

Attachment #9166819 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9163564 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9162858 [details]
Bug 1651601: Filter gathered candidates when their component is obsolete. r?mjf

Approved for 78.2esr.

Attachment #9162858 - Flags: approval-mozilla-esr78? → approval-mozilla-esr78+
Attachment #9163564 - Flags: approval-mozilla-esr78? → approval-mozilla-esr78+
Attachment #9166819 - Flags: approval-mozilla-esr78? → approval-mozilla-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: