adennisa15
New member
- Joined
- Oct 3, 2021
- Messages
- 18
- Reaction score
- 0
- Points
- 1
- What type of support thread are you creating?
- Possible bug
- What OpenViX Image build number are you using?
- 6.8.007
- Have you tried re-flashing WITHOUT settings restore?
- NO
- Have you tried re-flashing WITH a settings restore?
- YES
Relatively new here, so not sure on the forum etiquette of starting a new thread (should it be in the "OpenViX 6.8 Release discussion thread"?), or even if this should be here (Github issue somewhere?) - forgive me if I'm wrong (but please do tell me what's right!)
I've had similar crashes before with 6.7.020 (see "Fairly frequent crash when no free tuner and coming out of watching a recording" thread), so immediately thought it was the same problem, somehow not quite fixed, but the backtrace this time is different from that time (and that fix is definitely in the source used for this build too).
Situation is, Mutant HD2400 with 2xT2 tuners and 1xS2 tuner. Live tv is an S2 service. I watch a recorded movie and whilst that's playing the S2 tuner is tuned to a different service for a timer record. The crash happens when the playback ends, when live tv can't tune S2 back to the service playing before the file play started, because the tuner is now busy recording a different service.
The exception backtrace looks like this...
The line of code is...
... so as a first iteration of a fix/workaround, I've added a null check to at line 61
I've had similar crashes before with 6.7.020 (see "Fairly frequent crash when no free tuner and coming out of watching a recording" thread), so immediately thought it was the same problem, somehow not quite fixed, but the backtrace this time is different from that time (and that fix is definitely in the source used for this build too).
Situation is, Mutant HD2400 with 2xT2 tuners and 1xS2 tuner. Live tv is an S2 service. I watch a recorded movie and whilst that's playing the S2 tuner is tuned to a different service for a timer record. The crash happens when the playback ends, when live tv can't tune S2 back to the service playing before the file play started, because the tuner is now busy recording a different service.
The exception backtrace looks like this...
Rich (BB code):
<135019.364456> 20:42:10.9639 [eDVBResourceManager] allocate channel.. 0802:0002
<135019.365134> 20:42:10.9646 [eDVBResourceManager] available channel.. 083f:0002
<135019.365763> 20:42:10.9652 [eDVBServicePMTHandler] allocate Channel: res -6
<135019.366476> 20:42:10.9659 [eDVBServicePlay] DVB service failed to tune - error 0
<135019.368353> 20:42:10.9678 [eDVBServicePlay] Encrypted channel, creating speculative CSA session
<135019.369973> 20:42:10.9694 [eDVBCSASession] Created for service 1:0:19:1B13:802:2:11A0000:0:0:0:
<135019.372386> 20:42:10.9718 [eDVBCSAEngine] init: csa_load_library failed
<135019.372477> 20:42:10.9719 [eDVBCSASession] Failed to initialize CSA engine
<135019.372539> 20:42:10.9720 [eDVBServicePlay] Failed to initialize CSA session
<135019.372617> 20:42:10.9721 [eDVBCSASession] Destroyed for service 1:0:19:1B13:802:2:11A0000:0:0:0:
<135019.436867> 20:42:11.0363 Traceback (most recent call last):
<135019.490735> 20:42:11.0902 File "/usr/lib/enigma2/python/StartEnigma.py", line 67, in processDelay
self.current_dialog.doClose()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
<135019.492305> 20:42:11.0917 File "/usr/lib/enigma2/python/Screens/Screen.py", line 108, in doClose
<135019.493218> 20:42:11.0927 File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 344, in __onClose
<135019.494138> 20:42:11.0936 File "/usr/lib/enigma2/python/Components/Sources/CurrentService.py", line 62, in newService
<135019.495299> 20:42:11.0947 AttributeError: 'NoneType' object has no attribute 'setChannelNum'
<135019.498668> 20:42:11.0981 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0x70168dd8>>,()) failed)
The line of code is...
Python:
61: if num > 0:
62: self.serviceref.setChannelNum(num)
... so as a first iteration of a fix/workaround, I've added a null check to at line 61
if num > 0 and self.serviceref is not None: , I'll see if that fixes it, or if it just moves the exception/reboot elsewhere...