NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 53 54 55 56 57 … 433 Next »
Bug report: NextPVR "Not Responding" when menus in Settings are selected.

Bug report: NextPVR "Not Responding" when menus in Settings are selected.
techtony
Offline

Junior Member

Posts: 16
Threads: 1
Joined: May 2018
#21
2018-05-30, 09:32 PM
WinTV works now: I moved the tuner card from a x16 to a x1 PCIe slot and also updated the motherboard UEFI. I'm not sure which change caused WinTV to recognize the tuner, but it works fine now.

I downloaded and installed K-lite, and it found a problem and fixed it, but NPVR still hangs on the Decoders dialog (and the DVD dialog).
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#22
2018-05-30, 09:49 PM
If you go to the Settings->Advanced Settings screen in WinTV, and tick the 'enable 3rd party decoders', does it successfully load the decoder drop downs? If so, zip and attach the c:\users\public\wintv\logs\wintv.log and I'll compare.
techtony
Offline

Junior Member

Posts: 16
Threads: 1
Joined: May 2018
#23
2018-05-30, 09:55 PM
sub Wrote:There is no error or exception. It's simply taking windows a very very long time to return on the call to get the list of decoders. If I had to work around this unusual circumstance in NextPVR, I could put the call on a background thread, and time it out after a few seconds or something - but you're still not going have anything in your list of decoders, so it wouldn't really help you.

You're not entirely alone though - I think we've seen this maybe 3 or 4 times in the 15 years of NextPVR (and the earlier GBPVR software), from 10's of thousands of users, so certainly not a common problem. I don't see it as a NextPVR problem, but rather a bug in one of the DirectShow decoders in your machine. I'm not aware of any other way I could get the list of decoders that would avoid this problem.

Starting a timer or using a thread were things I was going to "suggest", but I don't know enough about the actual problem. It seems generally on-track though. Personally, I'd fix all problems like that, not just "common" ones. "Defensive programming", you know. You seem sure that it's a bug in a decoder on my machine. NPVR has to be implemented as a fragile program not robust against decoder bugs? How many lines of code execute between clicking on "Decoders" and displaying the dialog? A list of decoders isn't available in the Windows Registry? Again, I don't know the area, but intuitively, it seems this *exceptional condition* ("exception") should not hang the program, and that a bit of redesign and reimplementation may be prudent.
techtony
Offline

Junior Member

Posts: 16
Threads: 1
Joined: May 2018
#24
2018-05-30, 10:01 PM
sub Wrote:If you go to the Settings->Advanced Settings screen in WinTV, and tick the 'enable 3rd party decoders', does it successfully load the decoder drop downs? If so, zip and attach the c:\users\public\wintv\logs\wintv.log and I'll compare.

No it doesn't! Guess what it does? It does the same thing NPVR does! Oh well, I guess it's a design problem at a larger scope than just NPVR.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#25
2018-05-30, 10:11 PM
techtony Wrote:Starting a timer or using a thread were things I was going to "suggest", but I don't know enough about the actual problem. It seems generally on-track though. Personally, I'd fix all problems like that, not just "common" ones. "Defensive programming", you know. You seem sure that it's a bug in a decoder on my machine. NPVR has to be implemented as a fragile program not robust against decoder bugs? How many lines of code execute between clicking on "Decoders" and displaying the dialog? A list of decoders isn't available in the Windows Registry? Again, I don't know the area, but intuitively, it seems this *exceptional condition* ("exception") should not hang the program, and that a bit of redesign and reimplementation may be prudent.
It's a bit of a tough one to do anything about - I think it's a single Windows API call that just never returns. That shouldn't happen, and works as expected for the vast majority of users. I'm not aware of any alternative call I can make to get this information, so that I can avoid making this call.

It's so rare though, that I'm not sure it's worth investing a huge amount of time one - particularly given I have no way to reproduce it here so can't test fixes.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#26
2018-05-30, 10:17 PM
If you're able to offer remote access to your machine, for an hour or so, I'm happy to take a closer look at the problem, and see if there is any potential fixes.
techtony
Offline

Junior Member

Posts: 16
Threads: 1
Joined: May 2018
#27
2018-05-31, 02:19 AM (This post was last modified: 2018-05-31, 02:29 AM by techtony.)
sub Wrote:If you're able to offer remote access to your machine, for an hour or so, I'm happy to take a closer look at the problem, and see if there is any potential fixes.

I can't give you access to my machine, but I can send the detailed logs of WinTV that I have if that would help the analysis. Some of the logs show a repetitive pattern of calls upon quick look at them. The .zip is a bit less than 7 MB, so it exceeds the ~3 MB attachment limit of this forum.
techtony
Offline

Junior Member

Posts: 16
Threads: 1
Joined: May 2018
#28
2018-05-31, 02:24 AM
sub Wrote:It's a bit of a tough one to do anything about - I think it's a single Windows API call that just never returns. That shouldn't happen, and works as expected for the vast majority of users. I'm not aware of any alternative call I can make to get this information, so that I can avoid making this call.

It's so rare though, that I'm not sure it's worth investing a huge amount of time one - particularly given I have no way to reproduce it here so can't test fixes.

I found "Shark007" codec software on the web, and with that I may be able to disable the codecs and enable them one at a time and narrow down the problem, but I don't have too much time to spend on this either, especially since WinTV is working now and I don't need the 3rd party decoder (unsupported) feature.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#29
2018-05-31, 03:20 AM
techtony Wrote:I can't give you access to my machine, but I can send the detailed logs of WinTV that I have if that would help the analysis. Some of the logs show a repetitive pattern of calls upon quick look at them. The .zip is a bit less than 7 MB, so it exceeds the ~3 MB attachment limit of this forum.
Nah, the logs won't show the cause. There was more detailed steps needed to investigate.

Nevermind.
techtony
Offline

Junior Member

Posts: 16
Threads: 1
Joined: May 2018
#30
2018-05-31, 03:53 AM
sub Wrote:Nah, the logs won't show the cause. There was more detailed steps needed to investigate.

Nevermind.

So the debug logs that fill micro-second detail of a product that behaves exactly like yours does, wouldn't provide any insight? What I am wondering, if there was something like reverse-engineering of a design pattern and that is why two products (at least two) behave exactly the same. So, I, would attack the problem from a more abstract view rather than from a detailed (implementation/code) perspective.

I was probably wrong to offer the logs, so I retract that offer. I wonder a little bit about the details of 3rd-party codecs and software that uses them, and things like how WinTV software has always been a PITA. It just seems like after decades, this should not be a problem.

That said, I'm going to bring up my PC from scratch soon and will put WinTV and NPVR at the top of the software install list (but that this kind of software requires such finesse, is a statement in itself), to eliminate as much potential interacting conflict as possible.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 139,882 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,152 2023-06-18, 03:54 AM
Last Post: sub
  npvr is not responding johndutcher 3 1,440 2022-05-05, 07:57 PM
Last Post: sub
  Cannot Access Settings beach40 8 3,334 2022-03-24, 02:50 PM
Last Post: audge218
  Colossus2 Advanced Settings meccano 1 1,101 2021-10-06, 02:50 PM
Last Post: mvallevand
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,098 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,620 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,377 2021-07-23, 07:01 PM
Last Post: sub
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,511 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,860 2021-02-03, 01:29 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode