Opened 18 years ago
Closed 17 years ago
#2495 closed defect (invalid)
Backend goes into endless loop when switching ringbuffer and channel isn't tuned
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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://192.168.1.121:6543/130861_20060928213130.mpg' 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://192.168.1.121:6543/', '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)
Change History (3)
comment:1 Changed 18 years ago by
Owner: | changed from Isaac Richards to danielk |
---|
comment:2 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
The error in a more readable form.