Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11705 closed Bug Report - General (fixed)

Jumping between chapters in DVD playback can crash

Reported by: JYA Owned by: JYA
Priority: critical Milestone: 0.27
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: peper03 Ticket locked: no


During DVD playback; if you skip between chapters using either Page Up or Page Down.

It will often crash.

The cause is a racing condition between the player and the decoder thread. The player reset the avcodec context, while the decoder is currently using it.

Change History (2)

comment:1 Changed 8 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: newclosed

In 7e7a78c1693eff51313f63a582fdff04d787c3fb/mythtv:

Lock the various stream context to prevent racing conditions.

SeekReset? was called in player thread, which would reset the av streams, while sometimes in the middle of usage in the decoder thread.

Fixes #11705

comment:2 Changed 8 years ago by paulh

Milestone: unknown0.27
Version: UnspecifiedMaster Head
Note: See TracTickets for help on using tickets.