Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#2699 closed defect (fixed)

200Mb logfiles per day, mostly "Program #10351 not found in PAT!"

Reported by: anonymous Owned by: Janne Grunau
Priority: major Milestone: unknown
Component: dvb Version: head
Severity: medium Keywords:
Cc: Ticket locked: yes

Description

Using Mythtv 0.20-fixes 2x DVB-T tuners (Dvico dual) 1x DVB-S tuner (Skystar 2) (recently added, and this bug existed before it was added) UK Freeview and Freesat

Logfile is 140Mb to 260Mb per day, mostly filled with something along the lines of the messages below. EIT scanning is set to on, on all channels.

EIT appears to work on DVB-T (but not on DVB-S except for the programme currently being shown and the next one) but these errors are a pain in the backside as they make the logs almost useless.

I'm assuming the patches from ticket 743 (which is marked as closed) are in 0.20-fixes.

Message 1 (repeated at intervals of less than a second):

2006-11-19 07:35:59.200 Program #10351 not found in PAT! Program Association Table

PSIP tableID(0x0) length(41) extension(0x7fe)

version(2) current(1) section(0) last_section(0)

tsid: 2046

programCount: 8

program number 0 has PID 0x 10 data 0x0 0x0 0x224 0x16 program number 10301 has PID 0x 102 data 0x40 0x61 0x225 0x2 program number 10302 has PID 0x 103 data 0x40 0x62 0x225 0x3 program number 10303 has PID 0x 104 data 0x40 0x63 0x225 0x4 program number 10304 has PID 0x 105 data 0x40 0x64 0x225 0x5 program number 10305 has PID 0x 106 data 0x40 0x65 0x225 0x6 program number 10306 has PID 0x 107 data 0x40 0x66 0x225 0x7 program number 10321 has PID 0x 108 data 0x40 0x81 0x225 0x8

Example 2 (also repeated):

2006-11-19 07:37:43.130 Program #23616 not found in PAT! Program Association Table

PSIP tableID(0x0) length(61) extension(0x5000)

version(12) current(1) section(0) last_section(0)

tsid: 20480

programCount: 13

program number 0 has PID 0x 10 data 0x0 0x0 0x224 0x16 program number 23680 has PID 0x 2cd data 0x92 0x128 0x226 0x205 program number 23744 has PID 0x 2cf data 0x92 0x192 0x226 0x207 program number 23104 has PID 0x 2ca data 0x90 0x64 0x226 0x202 program number 23040 has PID 0x 2c9 data 0x90 0x0 0x226 0x201 program number 22976 has PID 0x 2c8 data 0x89 0x192 0x226 0x200 program number 22592 has PID 0x 2c2 data 0x88 0x64 0x226 0x194 program number 22400 has PID 0x 2cc data 0x87 0x128 0x226 0x204 program number 22336 has PID 0x 2c1 data 0x87 0x64 0x226 0x193 program number 22272 has PID 0x 2c0 data 0x87 0x0 0x226 0x192 program number 22208 has PID 0x 2bf data 0x86 0x192 0x226 0x191 program number 22144 has PID 0x 2be data 0x86 0x128 0x226 0x190 program number 22080 has PID 0x 2bd data 0x86 0x64 0x226 0x189

Other messages: 2006-11-19 07:37:39.438 ProcessPAT: Program not found in PAT.

Rescan your transports.

2006-11-19 07:37:40.515 Desired program #23616 not found in PAT.

Can Not create single program PAT.

I can enclose a complete log if requested - due to the repetition they actually gzip down to about 2Mb!

Attachments (2)

t2699.diff (2.8 KB) - added by Janne Grunau 12 years ago.
Rate limit "Program not found in PAT" messages
t2699_2.diff (2.9 KB) - added by Janne Grunau 12 years ago.
avoid duplicate messages by remembering the CRC of the PAT

Download all attachments as: .zip

Change History (18)

comment:1 Changed 13 years ago by anonymous

My fix is to change this to channel logging.

         QString errStr = QString("Program #%1 not found in PAT!")
             .arg(programNumber);
-        VERBOSE(VB_IMPORTANT, errStr<<endl<<pat->toString()<<endl);
+        VERBOSE(VB_CHANNEL, errStr<<endl<<pat->toString()<<endl);
         if (pat->ProgramCount() == 1)
         {
-            VERBOSE(VB_IMPORTANT, "But there is only one program "
+            VERBOSE(VB_CHANNEL, "But there is only one program "
                     "in the PAT, so we'll just use it");

ETC...

comment:2 Changed 13 years ago by danielk

Resolution: invalid
Status: newclosed

This is an important error report, not a warning.

Delete your channels and rescan your inputs.

comment:3 Changed 13 years ago by anonymous

I've done that; it's now down to about 150Mb a day. Still a problem though

comment:4 Changed 13 years ago by paul@…

Resolution: invalid
Status: closedreopened

receiving the same error message, could this be a result of some recent fixes?

comment:5 Changed 12 years ago by Janne Grunau

Owner: changed from Isaac Richards to Janne Grunau
Status: reopenednew

We suspect that some DVB cards return stale data after tuning.

comment:6 in reply to:  5 Changed 12 years ago by anonymous

Replying to janne:

We suspect that some DVB cards return stale data after tuning.

I have some obtain Online EPG (EIT extract) for some DVB-T channels, I'm wondering if this is related.

comment:7 Changed 12 years ago by Janne Grunau

Component: mythtvdvb

comment:8 Changed 12 years ago by HidDEN MiNDS

Priority: minormajor

I am using the latest SVN 0.20 fixes branch and have the same problem here:

2007-02-28 22:09:36.106 Program #12003 not found in PAT! Program Association Table

PSIP tableID(0x0) length(49) extension(0x443)

version(6) current(1) section(0) last_section(0)

tsid: 1091

programCount: 10

program number 0 has PID 0x 10 data 0x0 0x0 0x224 0x16 program number 31210 has PID 0x 103 data 0x121 0x234 0x225 0x3 program number 28640 has PID 0x 102 data 0x111 0x224 0x225 0x2 program number 28800 has PID 0x c8 data 0x112 0x128 0x224 0x200 program number 28805 has PID 0x 12c data 0x112 0x133 0x225 0x44 program number 28810 has PID 0x 190 data 0x112 0x138 0x225 0x144 program number 28815 has PID 0x 1f4 data 0x112 0x143 0x225 0x244 program number 31200 has PID 0x 118 data 0x121 0x224 0x225 0x24 program number 31220 has PID 0x 104 data 0x121 0x244 0x225 0x4 program number 28641 has PID 0x 105 data 0x111 0x225 0x225 0x5

It can not be, that I have to delete and rescan my channels every week or month. The myhttv backend server uses two Technotrend DVB-S cards.

comment:9 Changed 12 years ago by Janne Grunau

Version: 0.20head

comment:10 Changed 12 years ago by paul@…

Is there a circumvention or method to turn these messages off while this is being researched. due to the saturation of my log files from these msgs I find it hard to spot other problems or error msgs

Changed 12 years ago by Janne Grunau

Attachment: t2699.diff added

Rate limit "Program not found in PAT" messages

comment:11 Changed 12 years ago by paul@…

As I only use RPMs, Can this be rolled in to the 20.2 fixes as a work-around till we get a permanent solution? thanks

Changed 12 years ago by Janne Grunau

Attachment: t2699_2.diff added

avoid duplicate messages by remembering the CRC of the PAT

comment:12 Changed 12 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

(In [14399]) Fixes #2699. Emits the "Program # x not found in PAT" only once per PAT

comment:13 Changed 12 years ago by Janne Grunau

(In [14401]) Refs #2699. backports [14399] to -fixes

comment:14 Changed 12 years ago by Janne Grunau

(In [14404]) Refs #2699. fix typo spotted by Shane Shrybman

comment:15 Changed 10 years ago by paul@…

I'm still getting these albeit fewer than before, so are these "important" messages or can they be pushed to the EIT debugging category. Can anyone tell me why I get these on the same program # all the time. If these are not Errors and somehow just bad EIT data (all the time) can we suppress or reduce them to debug output rather than IMPORTANT msgs?

comment:16 Changed 10 years ago by Dibblah

Ticket locked: set

Please continue the discussion on the mailing list.

Note: See TracTickets for help on using tickets.