Closed lars18th closed 1 year ago
Yeah, there's definitely something going on. It's also possible that a running PMT is not mentioned in the UI, especially for CI adapters.
Yeah, there's definitely something going on. It's also possible that a running PMT is not mentioned in the UI, especially for CI adapters.
I agree. And because I have no proficiency with Unit Tests, maybe someone else could implement a test for PMTs. I feel that this test will expose this bug (and perhaps others too).
Hi @catalinii ,
I've compiled the last commit, and this bugcontinues. See this capture:
This is after I open 3sat with one VLC, then Kika with another VLC, and finally 3sat another time with a third VLC. After I close first and third VLC instances (both playing 3sat). And while Kika continues playing, the PMTs processed continue to be "3sat HD, KiKa HD".
So please could you check this? Thank you.
Hi @lars18th, thanks for the repro. Can you upload a log when this happens ? -l http
Hi @lars18th, thanks for the repro. Can you upload a log when this happens ? -l http
Hi @catalinii ,
The log is not necessary at all. This is REPRODUCIBLE. You only need to execute the 5 steps commented at start. With any pair of FTA channels in the same transponder. Please, check it. The problem appears every time with any recent version of minisatip. I prefer that you see it and debug it in realtime.
Hi @catalinii , only for curiosity: What you use to debug/test minisatip ?
Hi @lars18th, thanks for the repro. Can you upload a log when this happens ? -l http
Hi @catalinii ,
The log is not necessary at all. This is REPRODUCIBLE. You only need to execute the 5 steps commented at start. With any pair of FTA channels in the same transponder. Please, check it. The problem appears every time with any recent version of minisatip. I prefer that you see it and debug it in realtime.
To indentify properly the problem, please see that the pid of the PMT of the stoped program is not in the pid list. Therefore the problem is inside the internal processing of the PMTs. And I repeat: the problem appears every time if a client opens a Channel A, another client a Channel B, and after a third the same Channel A. The error appears then if first client closes the session and then the third... until the second is playing the Channel B the PMT of the Channel A continues inside the list.
Please, check it and try to fix this bug.
Hi @catalinii ,
You done the test?
Hi @catalinii ,
With recent changes, the issue has gone. Thank you.
Hi @catalinii ,
Please, reproduce this using three different clients:
Therefore a bug exists inside the PMT handling, because when a channel is opened multiple times, but after it will be closed, the PMT continues selected and not removed. Please check it.
Regards.