Closed
Bug 819825
Opened 12 years ago
Closed 12 years ago
some ICE/STUN negotiations hang or crash on Android in mbslen()
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: dmosedale, Assigned: dmosedale)
References
Details
(Whiteboard: [WebRTC][blocking-webrtc-][qa-])
Attachments
(1 file, 1 obsolete file)
1.05 KB,
patch
|
dmosedale
:
review+
|
Details | Diff | Splinter Review |
After apply the build patches for Android in the dependency tree for bug 750869, the ICE unittest hangs or crashes in mbslen. The problem is that setlocale() on Android returns null.
The calling code actually isn't really caring about this function, excitingly. Here's a patch that makes things run further, but it would be good to verify that's impossible/hard to get UTF8 before we just punt.
Updated•12 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-]
Assignee | ||
Comment 1•12 years ago
|
||
This strikes me as somewhat more maintainable/readable code than adding another ifdef clause. And it makes the ice unit tests pass.
Attachment #690253 -
Attachment is obsolete: true
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 691901 [details] [diff] [review]
version2: null-check set-locale, and abort the function if that fails
r=abr over IRC
Attachment #691901 -
Flags: review+
Assignee | ||
Comment 3•12 years ago
|
||
Try server build:
https://tbpl.mozilla.org/?tree=Try&rev=6b62c415dd7f
Assignee | ||
Comment 4•12 years ago
|
||
Pushed to mozilla-inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b9a891c0a6e7
in-testsuite+, as this was caught by ice_unittest, and this fix makes that test pass.
Flags: in-testsuite+
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•12 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-] → [WebRTC][blocking-webrtc-][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•