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

RESOLVED FIXED

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jesup, Assigned: jesup)

Tracking

Trunk
All
Linux
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

Attachments

(3 attachments)

(Assignee)

Description

6 years ago
Created attachment 614860 [details] [diff] [review]
Disables checking hints for sound devices in Alsa

Tested on both Ubuntu 11 and Fedora 15
Attached is a temporary patch to disable the hints call
(Assignee)

Comment 1

6 years ago
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
(Assignee)

Comment 3

6 years ago
Created attachment 616704 [details] [diff] [review]
Workaround for ALSA 2.0.0 (others?) bug in snd_device_name_hint(-1,...)
(Assignee)

Comment 4

6 years ago
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)
(Assignee)

Comment 5

6 years ago
Created attachment 616751 [details] [diff] [review]
(alder/default version) Workaround for ALSA 2.0.0 (others?) bug in snd_device_name_hint(-1,...)
Attachment #616751 - Flags: feedback?(ethanhugg)
(Assignee)

Updated

6 years ago
Attachment #616751 - Flags: feedback?(snandaku)

Comment 6

6 years ago
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 7

6 years ago
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+
(Assignee)

Comment 8

6 years ago
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)

Updated

6 years ago
Assignee: nobody → rjesup

Updated

6 years ago
QA Contact: jsmith

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED

Updated

6 years ago
Whiteboard: [qa-]

Updated

6 years ago
Flags: in-testsuite-
(Assignee)

Updated

6 years ago
Attachment #616704 - Flags: feedback?(snandaku)
(Assignee)

Updated

6 years ago
Attachment #616751 - Flags: feedback?(snandaku)
You need to log in before you can comment on or make changes to this bug.