Opened 10 years ago

Closed 10 years ago

#7891 closed defect (fixed)

During dvd playback audio reinitialisatian can cause a crash

Reported by: John Harvey <john.p.harvey@…> Owned by: skamithi
Priority: minor Milestone: 0.23
Component: MythTV - DVD Playback Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

NuppelVideoPlayer::AVSync uses the audioOutput member without gainning the audio_out lock. Occasionally the audio can be reinitialised and AVSync will dereference a NULL pointer and crash.

THe attached patch adds the locks.

Attachments (1)

patch1.diff (798 bytes) - added by John Harvey <john.p.harvey@…> 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by John Harvey <john.p.harvey@…>

Attachment: patch1.diff added

comment:1 Changed 10 years ago by Stuart Auchterlonie

Milestone: unknown0.23

comment:2 Changed 10 years ago by skamithi

(In [23162]) Refs #7891. prevent audio reinitialization from cause a crash during dvd playback. patch from john harvey. will apply to 0.22 fixes soon.

comment:3 Changed 10 years ago by skamithi

Resolution: fixed
Status: newclosed

(In [23425]) Closes #7891. apply [23162] to 0.22 fixes. prevent audio reinitialization from cause a crash during dvd playback.patch from john harvey.

Note: See TracTickets for help on using tickets.