Opened 14 years ago

Closed 14 years ago

#2495 closed defect (invalid)

Backend goes into endless loop when switching ringbuffer and channel isn't tuned

Reported by: Mark.Buechler@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


When attempting to tune a channel (DVB) whichfor whatever reason failed to tune and the program ends causing a ringbuffer change I get the following repeating endlessly on the backend rendering it unresponsive:

2006-09-28 21:30:41.186 Couldn't insert program 2006-09-28 21:30:41.244 Finished recording This Old House: channel 130861 2006-09-28 21:30:41.247 Preview Error: Run() file not local: 'myth://' 2006-09-28 21:30:41.259 DB Error (Chain: AppendNewProgram?): Query was: INSERT INTO tvchain (chanid, starttime, endtime, chainid, chainpos, discontinuity, watching, hostprefix, cardtype, channame, input) VALUES('130861', '2006-09-28T21:31:30', '2006-09-28T22:00:00', 'live-pc4-2006-09-28T21:24:37', 136, 0, 0, 'myth://', 'DVB', '7216', 'DiSEqC v1.3 Input 5' ); Driver error was [2/1062]: QMYSQL3: Unable to execute query Database error was: Duplicate entry '130861-2006-09-28 21:31:30' for key 1

2006-09-28 21:30:41.268 TVRec(5): Enabling Full LiveTV UI. 2006-09-28 21:30:41.325 recording already exists... 2006-09-28 21:30:41.329 recording already exists... 2006-09-28 21:30:41.333 recording already exists... 2006-09-28 21:30:41.341 recording already exists... 2006-09-28 21:30:41.345 recording already exists... 2006-09-28 21:30:41.349 recording already exists... 2006-09-28 21:30:41.353 recording already exists... ...

Attachments (1)

error.txt (1.2 KB) - added by Mark.Buechler@… 14 years ago.
The error in a more readable form.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Mark.Buechler@…

Attachment: error.txt added

The error in a more readable form.

comment:1 Changed 14 years ago by danielk

Owner: changed from Isaac Richards to danielk

comment:2 Changed 14 years ago by danielk

Resolution: invalid
Status: newclosed

Please attach a full log, use "mythbackend -v record,channel,siparser,file,database".

It looks like some problem with the LiveTV chain insert, but this shouldn't be happening since the recorder should always try to pick a unique recording name and start time. Possibly the removal of the dummy stream code for LiveTV broke this uniqueness constraint, but I need a longer snippet of log to be sure.

Reopen when you have the log.

Note: See TracTickets for help on using tickets.