Opened 5 years ago

Closed 5 years ago

Last modified 5 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

Description

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 5 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 5 years ago by paulh

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