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 … 340 341 342 343 344 … 433 Next »
Index errors stopping a video

Index errors stopping a video
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2011-09-26, 08:18 AM
Hi

Been finding some index errors coming up after stopping a video. Seems to happen on from the video library and from existing a recording.

Here's the JIT error:
Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at NextPVR.TV.TVGuide.UpdateGuide()
   at NextPVR.TV.TVGuide.Notify(String eventName, Object eventArg)
   at NUtility.EventBus.Notify(String eventName, Object eventArg)
   at NUtility.EventBus.Notify(String eventName)
   at NextPVR.Players.VideoPlayer.Stop(Boolean informController)
   at NextPVR.Players.VideoPlayer.Stop()
   at NextPVR.Players.VideoPlayer.HandleCommand(String command)
   at NextPVR.ControllerForm.HandleCommand(String command)
   at NextPVR.VideoWindow.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
NextPVR
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NextPVR.exe
----------------------------------------
NShared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NShared.DLL
----------------------------------------
NUtility
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.DLL
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.65.0
    Win32 Version: 1.0.65.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/System.Data.SQLite.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.Entity
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.Entity/3.5.0.0__b77a5c561934e089/System.Data.Entity.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Test1
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll
----------------------------------------
Test2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll
----------------------------------------
Test3
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll
----------------------------------------
SlimDX
    Assembly Version: 2.0.8.42
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/SlimDX.DLL
----------------------------------------
msvcm90
    Assembly Version: 9.0.30729.4940
    Win32 Version: 9.00.30729.4940
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb9a742/msvcm90.dll
----------------------------------------
taglib-sharp
    Assembly Version: 2.0.3.0
    Win32 Version: 2.0.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/taglib-sharp.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Unmanaged
    Assembly Version: 1.0.4209.34330
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/Unmanaged.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

There's nothing in the npvr.log but here's the stop:
Code:
2011-09-26 21:00:41.162    [DEBUG][1]    OnKeyDown() done. Took 208.984298706055 ms
2011-09-26 21:08:00.853    [DEBUG][1]    OnKeyDown() called: {CTRL}ControlKey, Control
2011-09-26 21:08:00.853    [DEBUG][1]    OnKeyDown() called: {CTRL}S, Control
2011-09-26 21:08:00.854    [DEBUG][1]    About to store playback position information
2011-09-26 21:08:00.856    [DEBUG][1]    PlaybackPositionHelper.StorePlaybackPosition(G:\Recordings\Shortland Street\Shortland Street_20110926_19001930.ts, 2236, 2928)
2011-09-26 21:08:00.987    [DEBUG][1]    UiStatic.Dispose()
2011-09-26 21:08:00.989    [DEBUG][1]    Stopping graph@1
2011-09-26 21:08:01.227    [DEBUG][1]    Stopping graph@2
2011-09-26 21:08:01.228    [DEBUG][1]    Stopping graph@2.1
2011-09-26 21:08:01.245    [DEBUG][1]    Stopping graph@3
2011-09-26 21:08:01.262    [DEBUG][1]    Removing filter  EVR Renderer
2011-09-26 21:08:01.272    [DEBUG][1]    Removing filter  NPVR PES Collector (Teletext)
2011-09-26 21:08:01.273    [DEBUG][1]    Removing filter  NPVR PES Collector (DVBSubs)
2011-09-26 21:08:01.273    [DEBUG][1]    Removing filter  AAC Audio Renderer
2011-09-26 21:08:01.274    [DEBUG][1]    Removing filter  Microsoft DTV-DVD Video Decoder
2011-09-26 21:08:01.321    [DEBUG][1]    Removing filter  MONOGRAM AAC Decoder
2011-09-26 21:08:01.322    [DEBUG][1]    Removing filter  MPEG-2 Demultiplexer
2011-09-26 21:08:01.322    [DEBUG][1]    Removing filter  NPVR TS Reader
2011-09-26 21:08:01.389    [DEBUG][1]    LoadList@0
2011-09-26 21:08:01.390    [DEBUG][1]    LoadList@1
2011-09-26 21:08:01.573    [DEBUG][1]    LoadList@2
2011-09-26 21:08:01.573    [DEBUG][1]    LoadList@3
2011-09-26 21:08:01.605    [DEBUG][1]    LoadList@setobjects
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#2
2011-09-26, 04:31 PM
Are you able to reproduce this at will?

I've narrowed it down to a specific function, but its a big function so not sure exactly where the problem might be. If you can reproduce it, I'll several log messages through that function to help narrow it down.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#3
2011-09-26, 04:32 PM
Strangely the exception and log message dont seem to agree on where the problem is happening.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#4
2011-09-26, 05:56 PM
I gave npvr a restart yesterday. So I'll see if it's doing it again. I have a sneaking suspicion it might be to do with deleting recordings from the db without restarting services.

If it doesn't do it tonight then that will be it.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2011-09-27, 09:23 AM
Hi. So it wasn't happening tonight. I suspect it was to do with removing entries from the database without giving npvr a restart.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG Update Errors jcole998 23 2,077 2025-05-11, 06:03 PM
Last Post: mvallevand
  Not recording errors vidwiz 4 1,134 2024-04-17, 05:39 PM
Last Post: mvallevand
Information Audio Video Sync Fixed with AC3Filter! gearsofwoe 0 1,137 2022-11-18, 04:36 AM
Last Post: gearsofwoe
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,067 2022-04-14, 04:33 AM
Last Post: Antmannz
  Video Meta information made from scratch MPMovieBuff 1 1,735 2020-04-06, 02:51 PM
Last Post: mvallevand
Photo video in recordings slow to display jimbojones 7 2,893 2020-04-02, 10:37 PM
Last Post: jimbojones
  Will not play recorded video on 1st computer but will play same video on second compu Krepps 5 2,216 2020-02-28, 05:33 PM
Last Post: Krepps
  No video or audio from start of playback smiffypr 8 3,771 2020-02-05, 05:11 PM
Last Post: smiffypr
  Choppy Video NND 5 2,956 2020-01-14, 09:31 PM
Last Post: NND
  Audio/video sync problem on playback and program freeze when resuming zer 34 13,969 2019-12-21, 02:49 PM
Last Post: HarryH3

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

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

Linear Mode
Threaded Mode