Closed Bug 745259 Opened 9 years ago Closed 9 years ago

Alsa almost always crashes or i-loops when getting hints on Linux

Categories

(Core :: WebRTC: Audio/Video, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jesup, Assigned: jesup)

References

Details

(Whiteboard: [qa-])

Attachments

(3 files)

Tested on both Ubuntu 11 and Fedora 15
Attached is a temporary patch to disable the hints call
This is very likely an Alsa bug with using -1 (get all cards) with the Alsa hint call, issue 95797 in Chromium:
http://code.google.com/p/chromium/issues/detail?id=95797
Comment on attachment 616704 [details] [diff] [review]
Workaround for ALSA 2.0.0 (others?) bug in snd_device_name_hint(-1,...)

I'll accept review/feedback from anyone :-)

If this looks good I plan to submit it to the webrtc.org issue
Attachment #616704 - Flags: feedback?(snandaku)
Attachment #616704 - Flags: feedback?(ethanhugg)
Attachment #616751 - Flags: feedback?(snandaku)
Comment on attachment 616704 [details] [diff] [review]
Workaround for ALSA 2.0.0 (others?) bug in snd_device_name_hint(-1,...)

Tested with paris_demo on Ubuntu 11.10.
Attachment #616704 - Flags: feedback?(ethanhugg) → feedback+
Comment on attachment 616751 [details] [diff] [review]
(alder/default version) Workaround for ALSA 2.0.0 (others?) bug in snd_device_name_hint(-1,...)

Tested with paris_demo on Ubuntu 11.10.
Attachment #616751 - Flags: feedback?(ethanhugg) → feedback+
Checked into paris_demo and default
https://hg.mozilla.org/projects/alder/rev/f290ab4673a1
https://hg.mozilla.org/projects/alder/rev/e1b19fc79795

Leaving open until fixed upstream and we can pull these patches
Assignee: nobody → rjesup
QA Contact: jsmith
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Flags: in-testsuite-
Attachment #616704 - Flags: feedback?(snandaku)
Attachment #616751 - Flags: feedback?(snandaku)
You need to log in before you can comment on or make changes to this bug.