Minidisplay crash when stopping TV/video (1 Viewer)

Magnus1

New Member
January 16, 2008
1
0
MiniDisplay sometimes crash Mp when stopping TV/Video.

Steps to reproduce:
Start MP.
Goto TV.
Open a channel in fullscrean.
Stop using remote control.

I looked in the error log and found this:
Exception : System.NullReferenceException: Object reference not set to an instance of an object.
at MediaPortal.Player.BaseTSReaderPlayer.UpdateCurrentPosition()
at MediaPortal.Player.BaseTSReaderPlayer.get_CurrentPosition()
at MediaPortal.Player.g_Player.get_CurrentPosition()
at MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.GetSystemStatus(SystemStatus& CurrentStatus)
at MediaPortal.ProcessPlugins.MiniDisplayPlugin.Drivers.iMONLCDg.UpdateIcons()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


The error does not happen every time so I would guess that the error is a timing error. The minidisplay pluging is updating at the same time as the player object is stopping.

I would propose to make the minidisplay code more robust so that it survives exceptions from other MP systems.


Hardware/software:
TV-Server Version: MediaPortal SVN-Snapshot:-11-08-2008 16-42h - Revision:20755
MediaPortal Version: MediaPortal SVN-Snapshot:-11-08-2008 16-42h - Revision:20755
MediaPortal Skin: Blue3
Windows Version: XP SP3
CPU Type: Athlon 1 GHZ
HDD: ST3120023A + WD7500AACS
Memory: 640MB
Motherboard: Abit Kt7a
Video Card: ATI Radeon 9700
Video Card Driver: omega drivers v4.8.442
Sound Card: Creative 5.12.4.1196
Sound Card AC3:
Sound Card Driver:
1. TV Card: Hauppaug Nova T-500
1. TV Card Type: DVB-T
1. TV Card Driver: Hauppauge 4.3.25080.0
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Silverstone GD01-MX
Cooling:
Power Supply corsair 520W:
Remote: imon (bundled with case)
TV: CRT
TV - HTPC Connection: s-video


Best regards
Magnus
 

Users who are viewing this thread

Top Bottom