Closed Bug 860397 Opened 11 years ago Closed 11 years ago

WebRTC unit-test pilot-error crash [@nr_turn_client_allocate]

Categories

(Core :: WebRTC: Networking, defect, P1)

x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla24
Tracking Status
firefox22 --- unaffected
firefox23 - affected

People

(Reporter: posidron, Assigned: jib)

References

Details

(Keywords: crash, testcase, Whiteboard: [WebRTC][blocking-webrtc-][turn][qa-])

Crash Data

Attachments

(2 files)

Attached file callstack
This crash occurs while running the unit tests for TURN.

[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from TurnClient
[ RUN      ] TurnClient.Allocate
media/mtransport/test/turn_unittest.cpp:116: Failure
Value of: r
  Actual: 7
Expected: 0
ASAN:SIGSEGV

It seems like it caused by using a domain name as TURN_SERVER_ADDRESS instead of an IP address.

export TURN_SERVER_ADDRESS=localhost
Whiteboard: [turn] → [WebRTC][blocking-webrtc-][turn]
Assignee: nobody → ekr
Priority: -- → P1
This looks to be a testcase crash, not in our nightly user crash data, so not clear what we'd track this bug for. Please renominate if there's a user-facing issue here.
I believe lsblakk is correct here. It seems to me that this
is just the unit test continuing after the failure to convert
the hostname.
Jib, Can you fix the unit test and then coordinate with ekr to see if anything else needs to be fixed/addressed?
Assignee: ekr → jib
Hopefully this patch removes future pilot error.

Note that I haven't changed the unit-test to "fail nicely", as I don't see the point in doing that.
Attachment #758834 - Flags: review?(rjesup)
Attachment #758834 - Flags: review?(rjesup) → review+
https://hg.mozilla.org/mozilla-central/rev/26eb52ade0ee
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Whiteboard: [WebRTC][blocking-webrtc-][turn] → [WebRTC][blocking-webrtc-][turn][qa-]
Summary: WebRTC crash [@nr_turn_client_allocate] → WebRTC unit-test pilot-error crash [@nr_turn_client_allocate]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: