Opened 14 years ago

Closed 14 years ago

#8497 closed defect (fixed)

Audio crash following hdaudio branch merge

Reported by: markk Owned by: JYA
Priority: major Milestone: 0.24
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords: audio pulse
Cc: Ticket locked: no

Description

Intermittent crash, most frequently seen on live tv channel changes. As discussed on irc, this is clearly an issue with suspending/resuming pulse audio that wasn't present before the merge.

-v audio,playback log with back trace to follow.

Attachments (1)

crash.log (92.3 KB) - added by markk 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by markk

Attachment: crash.log added

comment:1 Changed 14 years ago by JYA

I've seen that crash, it's the pulse library that crashes from time to time...

Before, myth was calling the suspend call at the start of mythfrontend and then at the end...

We now call it only when the audio card open, then close...

Pulse seems to not like being suspended then closed too often :(

OTOH, that the audio card is open and closed so often is a design fault with AVFD IMHO. It destroy/create a new audio instance whenever it starts decoding a new audio stream.

Initialization of the audio class should be done at the beginning of NVP, and only once ; it would solve lots of other issues too..

I was holding that change until the OSD branch got merged in, as it modifies NVP...

comment:2 Changed 14 years ago by JYA

Resolution: fixed
Status: newclosed

Reverse changeset r24560. Fixes #8497. This is a temporary solution, libpulse shouldn't be crashing to start with, but it doesn't like being suspended/resume too often

Note: See TracTickets for help on using tickets.