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 341 342 343 344 345 433 Next »
crash at 1:30am almost every night

crash at 1:30am almost every night
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#31
2011-07-30, 07:51 AM
well now I'm getting these "async stop taking too long" crashes way more often. I'd stopped getting these almost completely, and now 3 in a week (one earlier today for some reason didn't produce a crash.mdmp). it crashed at 12:30am trying to end the recording of "King of the Hill". The recording itself is fine, it ended on time at 12:30am and is playable.

logs attached, in case anything leads you to a possible fix.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#32
2011-07-30, 06:43 PM
I checked this dump, and the crash was the same as the last one I posted the screenshot for. ie, inside MSNP.AX in the UpdateSignalAndServiceStatus function.

I'm guessing this is a function that is called regularly behind the scenes in MSNP.ax on some background thread, but it has some logic flaw that means its not entirely thread safe, and occasionally when the graph stops mid way through one of those UpdateSignalAndServiceStatus() calls, it crashes when the graph component it was about to use disappears (or is stopped or similar).

I'm not really sure what I could do to work around this. There might be some random combinations of steps I could perform that might help, but it's hard to guess what they might be.

I could try giving you a patch to force it to use the old 'Microsoft ATSC Network Provider' MSDvbNP.ax instead of the newer 'Microsoft Network Provider' MSNP.ax. It might help if this older version doesnt have the same problem. Alternatively, it might behave exactly the same if one just delegates its functionality to the other.

Or we could look at an option to never stop the graph. ie, it's always running, but not be capturing any files between recordings.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#33
2011-07-30, 07:28 PM
You could see if this helps. It attempts to explicitly stop the network provider, waits 200 ms, then stops the main graph. It also adds a couple of logging message around these new activities.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#34
2011-07-30, 07:48 PM
thanks sub, I'll put that patch in today. unfortunately the nature of this crash type is that it might be weeks before it comes up again, or it might come up again tomorrow.

it does seem that since your second patch to NPVRTSMon.ax which added defensive checks, I've not had any occurance of the original 1:30am crash in the exact same scenario. the crash I reported on 7-24 did look like the same crash, though it happened at 1:35am instead because the recording sequence was a little different; but that's the one where we were out of sync on NPVRTSMon versions so the crash dump was no help.

so it does look like we're making progress. fingers crossed!
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#35
2011-07-31, 09:17 AM
I guess I typed too loud... the 1:30am crash has returned tonight, actually at 1:31am (timestamp of the crash.mdmp). The suspect Zula Patrol recording is 1 minute, 24 seconds long. What's interesting about this crash is that part of NRecord survived long enough to cleanly end the Grey's Anatomy recording at 1:35am, and it even marked it successful in the database.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#36
2011-07-31, 05:59 PM
That one was in npvrtsmon.ax, but unfortunately no longer matches my version, so I cant tell exactly where the crash occurred.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#37
2011-07-31, 06:24 PM
argh!
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#38
2011-07-31, 07:27 PM
can you send me your version of NPVRTSMon.ax when you get it a little stabilized? Or have you moved beyond 2.1.5 compatibility now?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#39
2011-08-07, 05:00 AM (This post was last modified: 2011-08-07, 05:25 AM by johnsonx42.)
sub Wrote:You could see if this helps. It attempts to explicitly stop the network provider, waits 200 ms, then stops the main graph. It also adds a couple of logging message around these new activities.
I've had two of these 'graph won't stop' crashes in two days. No crash.mdmp created yesterday, but I did get one tonight (it didn't pop up the message saying it made a crash.mdmp tonight, but when I checked later I found it was there). Last night also I had to reboot the machine to get NRecord going again, but tonight it did exit cleanly.

The Family Guy recording tonight that it crashed trying to stop did stop on time and is playable, but is of course marked "Failed"

Yesterday's crash was also on Family Guy; that recording is zero length. there was another recording going on at the same time, Frasier on a different channel and tuner which completed without issue; that recording was fine as far as I know (it's been deleted, but my 'processing.log' indicates comskip ran on Frasier for the full 30 minutes, while it aborted in less than 5 seconds on the Family Guy recording)

I don't know if any of the log messages will help.

final edit: ok, I'm done changing this message. the above is now the correct story.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#40
2011-08-07, 05:23 AM
sub, sorry I keep changing the post above, I keep realizing I'm not giving you the correct story... please wait a moment

ok, the version above is my final answer. thanks for your patience, if any Wink
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 2 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR 4 hangs/crash/frezze WIPE 23 6,596 2019-12-18, 06:26 PM
Last Post: sub
  Recording Service Crash seattlefog 6 1,855 2019-02-02, 09:48 PM
Last Post: seattlefog
  NextPVR crash and won't now run - how do I recover? LeoL 7 1,849 2019-01-05, 12:03 AM
Last Post: sub
  Had a crash.mdmp Barry10 3 1,384 2018-06-14, 05:51 PM
Last Post: sub
  Intermittent NRecord Crash When Changing Channels (using Kodi) mutichip 22 5,985 2018-06-10, 05:05 PM
Last Post: mutichip
  crash on certian shows Dale Dewing 10 2,974 2018-03-11, 08:22 PM
Last Post: mvallevand
  immediate NRecord crash on 4.05 > 4.10 upgrade shaunpatrick77 6 2,072 2018-03-05, 08:38 PM
Last Post: KyleC_USA
  NPVR service flakes out at the same time every night ptpivot 1 939 2018-02-25, 09:00 AM
Last Post: ptpivot
  Crash on channel change, some channels bad roy 11 4,534 2017-12-18, 01:49 AM
Last Post: roy
  Crash when starting IPTV playback with 4.0.5 Mergrim 18 5,968 2017-12-17, 08:02 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode