Opened 3 years ago

#12710 new Bug Report - Hang/Deadlock

Playing zero length video file causes slow response

Reported by: Joe Barnett <joe-barnett@…> Owned by: JYA
Priority: minor Milestone: unknown
Component: MythTV - Video Playback Version: 0.28.0
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I accidentally played a zero length MPG file on a remote frontend which caused all frontends to appear to freeze. The backend was recording at the time and completed the active record but failed to start the next record.

In this condition the recorded videos list shows empty with zero space available, also watch videos list will not populate.

To replicate, create an empty file. I used touch emtytest.mpg attempt to play the empty file.

The last message in mythbackend.log was - Apr 5 07:05:56 bonzo mythbackend: mythbackend[16784]: E ProcessRequest? fileringbuffer.cpp:309 (OpenFile?) FileRingBuf?(/media/videosseries/emptytest.mpg): OpenFile?(): File too small (0B).

The UI responds very slowly when any database query seems to be required but operates normally otherwise.

Restarting mythtv-backend restores correct operation.

Change History (0)

Note: See TracTickets for help on using tickets.