Opened 10 years ago

Closed 10 years ago

#3663 closed defect (fixed)

slowly unlock the encrypted channel since the last change in 9554

Reported by: ceco2000 Owned by:
Priority: Please fill in Component: ! Please select...
Severity: Please fill in Keywords:
Cc: Sensitive: no

Description

2014/03/04 21:59:41 600E40 c ERROR: Demuxer #0 could not stop Filter #2 (fd:30 api:0 errno=9 Bad file descriptor)
2014/03/04 21:59:41 600E40 c [DVBAPI] Receiver sends PMT command 3 for channel 0010
2014/03/04 21:59:41 600E40 c [DVBAPI] Receiver wants to demux srvid 0010 on adapter 0000 camask 0001 index 0000 pmtpid 03E9
2014/03/04 21:59:41 600E40 c [ADD PID 0] CAID: 0604 ECM_PID: 0529 PROVID: 000000
2014/03/04 21:59:41 600E40 c [ADD PID 1] CAID: 5581 ECM_PID: 0F7D PROVID: 000000

verified by the excluded PMT Mode, PMT Mode 1 and PMT Mode 3

Attachments (7)

dvbapi-dbg1.diff (3.6 KB ) - added by manio 10 years ago.
oscam_log0.log (123.3 KB ) - added by ceco2000 10 years ago.
oscam_log_128.log (137.0 KB ) - added by ceco2000 10 years ago.
oscam_dbg1_log0.log (777.0 KB ) - added by ceco2000 10 years ago.
oscam_dbg1_log128.log (87.2 KB ) - added by ceco2000 10 years ago.
oscam_log0.2.log (67.0 KB ) - added by ceco2000 10 years ago.
oscam_log128.log (50.2 KB ) - added by ceco2000 10 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 by ceco2000, 10 years ago

2014/03/04 21:59:41 600E40 c ERROR: Demuxer #0 could not stop Filter #2 (fd:30 api:0 errno=9 Bad file descriptor)

2014/03/04 21:59:41 600E40 c [DVBAPI] Receiver sends PMT command 3 for channel 0010
2014/03/04 21:59:41 600E40 c [DVBAPI] Receiver wants to demux srvid 0010 on adapter 0000 camask 0001 index 0000 pmtpid 03E9
2014/03/04 21:59:41 600E40 c [ADD PID 0] CAID: 0604 ECM_PID: 0529 PROVID: 000000
2014/03/04 21:59:41 600E40 c [ADD PID 1] CAID: 5581 ECM_PID: 0F7D PROVID: 000000

verified by the excluded PMT Mode, PMT Mode 0 and PMT Mode 3

comment:2 by easyyu, 10 years ago

I confirm too.
At me oscam DVBAPI full stop after I change channel.
The last good version is 9553!

by manio, 10 years ago

Attachment: dvbapi-dbg1.diff added

comment:3 by manio, 10 years ago

Hi guys,
Despite my efforts I was unable to reproduce this problem :(
I was zapping without recording, then recording two channels simultaneously and also zapping - all works fine even after long time using two dvb adapters...
The tests was also done on three different harware platforms before commit... but if you reported it, so indeed there must be some glitch...

Can you please tell me on what platforms you're running it. Then please provide me a log with loglevel=128 (dvbapi) and my debug patch applied (dvbapi-dbg1.diff).

by ceco2000, 10 years ago

Attachment: oscam_log0.log added

by ceco2000, 10 years ago

Attachment: oscam_log_128.log added

comment:4 by ceco2000, 10 years ago

Hi

while trying to play log128 oscam running smoothly and problem is not noticeable, but when playing back log0 problem described above appear.

comment:5 by manio, 10 years ago

@ceco2000
Thank you for your testing. So it seems this is some timing problem. Can you recheck if it is working ok with this file?
http://skyboo.net/logs/module-dvbapi.c

Update:
Ok I think I found the problem ;)
Above file replaced.

Last edited 10 years ago by manio (previous) (diff)

by ceco2000, 10 years ago

Attachment: oscam_dbg1_log0.log added

by ceco2000, 10 years ago

Attachment: oscam_dbg1_log128.log added

comment:6 by ceco2000, 10 years ago

apply the results to your patch, by the way I got this warning when building oscam with your patch

CC module-dvbapi.c
module-dvbapi.c: In function 'dvbapi_main_local':
module-dvbapi.c:3690:11: warning: format '%X'
expects argument of type 'unsigned int', but argument 6 has type 'uchar *' [-Wformat]

comment:7 by manio, 10 years ago

@ceco2000: No, please just use this file: http://skyboo.net/logs/module-dvbapi.c

by ceco2000, 10 years ago

Attachment: oscam_log0.2.log added

by ceco2000, 10 years ago

Attachment: oscam_log128.log added

comment:8 by ceco2000, 10 years ago

with that repair http://skyboo.net/logs/module-dvbapi.c, the problem is resolved. Adapted and log

comment:9 by manio, 10 years ago

Resolution: fixed
Status: newclosed

Thank you all!
Fixed r9555.

Note: See TracTickets for help on using tickets.