Opened 13 years ago
Closed 12 years ago
#9396 closed Bug Report - Crash (Unverified)
[CRASH] alsa:bluetooth crashes mythmusic
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | critical | Milestone: | 0.25 |
Component: | Plugin - MythMusic | Version: | 0.24-fixes |
Severity: | medium | Keywords: | alsa bluetooth |
Cc: | Ticket locked: | no |
Description
I have ALSA:bluetooth configured as a bluetooth headset. Attempting to play mp3 music with "Audio output device" set to ALSA:bluetooth causes mythfrontend to exit immediately. The last few lines in the log file are
2010-12-20 12:54:51.403 XMLParse: LoadTheme? using '/usr/local/share/mythtv/themes/default-wide/music-ui.xml' 2010-12-20 12:54:52.010 AO: Opening audio device 'bluetooth' ch 2(2) sr 44100 sf signed 16 bit reenc 0 2010-12-20 12:54:52.010 ALSA, Error: snd_pcm_info_get_card: Operation not permitted 2010-12-20 12:54:52.010 ALSA, Error: Unable to sufficiently increase ALSA hardware buffer size - underruns are likely
HOWEVER: Identical lines appear in the log file when I start playback of a recorded tv program, and, in this case, the recording plays with stereo sound in the bluetooth headset.
Also, I can play music with mplayer using bluetooth audio.
As far as I can tell, the failure is unique to mythmusic.
I should also mention that bluetooth audio worked for me with mythmusic in 0.23.
Attachments (2)
Change History (13)
comment:1 Changed 13 years ago by
Component: | Plugin - MythMusic → MythTV - Audio Output |
---|---|
Owner: | changed from paulh to JYA |
Status: | new → assigned |
comment:2 Changed 13 years ago by
Status: | assigned → infoneeded |
---|
comment:3 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Status: | infoneeded → assigned |
comment:4 Changed 13 years ago by
Summary: | alsa:bluetooth crashes mythmusic → [CRASH] alsa:bluetooth crashes mythmusic |
---|
comment:5 Changed 13 years ago by
Status: | assigned → infoneeded |
---|
Please try with the latest version of mythtv. MythMusic could incorrectly call the audio framework. Even if audio initialisation failed, mythmusic would happily use it.
Added some work-around code so even if mythmusic is doing the wrong thing, it won't crash.
comment:6 Changed 13 years ago by
Just tried with the latest 0.24 fixes (v0.24-196-g4af46b1), with the same result as before: Bluetooth audio works with playback of recorded tv, but mythmusic crashes when I attempt to use bluetooth.
A backtrace is attached.
comment:8 Changed 13 years ago by
Owner: | changed from JYA to paulh |
---|
The crash is in: avfDecoder::initialize (this=0x98f9f08) at avfdecoder.cpp:215
comment:9 Changed 13 years ago by
Status: | infoneeded → assigned |
---|
comment:10 Changed 12 years ago by
Component: | MythTV - Audio Output → Plugin - MythMusic |
---|---|
Priority: | minor → critical |
Type: | Bug Report → Bug Report - Crash |
comment:11 Changed 12 years ago by
Resolution: | → Unverified |
---|---|
Status: | assigned → closed |
A lot has changed since this ticket was opened and to my knowledge this is the only report of problems of this kind. Please try 0.25 and reopen if it's still a problem.
The error showing in the log is normal if your ALSA hardware buffer is set too low (you would have a line telling you what to do to increase it) and has no bearing on audio working or not (just that you will lilely get interruption with buffer under runs)
So please provide a backtrace, because your log doesn't contain any indications on what could be wrong, nor help identifying if the issue is in the myth music plugin, or the core audio framework