Access Violation after resume from hibernate (1 Viewer)

Aquarius

MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    MediaPortal Version: MediaPortal.svn / 11.12.2006 / 01.01.Rev11674
    MediaPortal Skin: Blue Two
    Windows Version: XPSP2
    CPU Type: Athlon 2500XP
    HDD: WD320GB
    Memory: 521MB CORSAIR TWINX
    Motherboard: ASUS A7N8X
    Motherboard Chipset: NFORCE2
    Motherboard Bios:
    Video Card: RADEON 9800 XXL
    Video Card Driver:
    Sound Card: Onboard AC97
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: PVR350
    1. TV Card Type: Analogue
    1. TV Card Driver:
    MPEG2 Video Codec: NVIDIA
    MPEG2 Audio Codec: NVIDIA
    Satelite/CableTV Provider: ISH NRW Germany
    HTPC Case:
    Cooling:
    Power Supply: NoName 420W
    Remote: MCE
    TV: DUAL CRT
    TV - HTPC Connection: RGB to SCART

    Synopsis:
    - Lets machine record something
    - machine goes to hibernate using powerscheduler
    - restart with MCE remote
    -> black screen

    error starts here:
    ------------------------------------------------------------------------
    crossbar routing done
    2006-11-12 14:25:25.518982 [Info.][11]: Exception :confused:ystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at MediaPortal.GUI.Library.GUIFont.FontEnginePresent3D(Int32 fontNumber)
    at MediaPortal.GUI.Library.GUIFontManager.Present()
    at MediaPortal.GUI.Library.GUILayerManager.Render(Single timePassed)
    at MediaPortalApp.Render(Single timePassed)
    ----------------------------------------------------------------------------------------------

    and results in an an infinite loop:

    006-11-12 14:25:25.549025 [Info.][11]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.BeginScene()
    at MediaPortalApp.Render(Single timePassed)
    2006-11-12 14:25:25.549025 [Info.][11]: Exception :Error in the application.
    2006-11-12 14:25:25.549025 [Info.][11]: site :Void BeginScene()
    2006-11-12 14:25:25.549025 [Info.][11]: source :Microsoft.DirectX.Direct3D
    2006-11-12 14:25:25.549025 [Info.][11]: stacktrace: at Microsoft.DirectX.Direct3D.Device.BeginScene()
    at MediaPortalApp.Render(Single timePassed)

    repeats endless
    ....
    ------------------------------------------------------------------------------------
    RAM is ok, checked with KNOPPIX memtester.

    Maybe the fonts are corrupt ? Does anybody have a clue how to fix them ?
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    could you please try:
    1.configure mediaportal to start in windowed mode
    2.start mediaportal
    3. wait until the powerscheduler hibernates the pc
    4.resume the pc
    5.do you get a GUI now?

    :D
     

    Aquarius

    MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    black screen problem still persists

    Hi infinityloop,
    thanks for your answer. I followed your instruction and have exactly the same result:

    .....

    2006-11-13 19:54:52.093729 [ERROR][11]: Exception :Error in the application.
    -2005530520 (D3DERR_DEVICELOST)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.Present()
    at MediaPortalApp.Render(Single timePassed)
    2006-11-13 19:54:52.093729 [ERROR][11]: Exception :Error in the application.
    2006-11-13 19:54:52.093729 [ERROR][11]: site :Void PresentInternal(Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, IntPtr)
    2006-11-13 19:54:52.103744 [ERROR][11]: source :Microsoft.DirectX.Direct3D
    2006-11-13 19:54:52.103744 [ERROR][11]: stacktrace: at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.Present()
    at MediaPortalApp.Render(Single timePassed)
    2006-11-13 19:54:52.213902 [ERROR][11]: Exception :Error in the application.
    -2005530520 (D3DERR_DEVICELOST)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.Present()
    at MediaPortalApp.Render(Single timePassed)


    ... repeating endlessly.

    So here are some more tests, I did.

    - uninstalled, cleaned , installed 0.2.0.0 + SVN of today: MediaPortal.svn / 11.13.2006 / 20.00.Rev11699 -> same result.

    - uninstalled, cleaned , installed 0.2.1.0 + SVN of today: MediaPortal.svn / 11.13.2006 / 20.00.Rev11699 -> same result.

    - let machine hibernate once via remote from GUI and once withPowerscheduler, both same result.

    - Uninstalled, cleaned, installed 0.2.1 freshly without any SVN -> NO problem.
    ( But 0.2.1 has issues with Powerscheduler, so I cannot use it.)


    The problem appeared with new animations and Powerscheduler trying to fix black screen issue.

    HTH
    /Gerd
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    I get the same thing. It's also in the other post here https://forum.team-mediaportal.com/showthread.php?t=12724

    Although I am not using the TV server, so it should not be in that forum, but the general bug one.

    My log shows the exact messages. I'm also using the NVIDIA codecs, but I boubt it's related to that.

    In the other thread it was suggested that if you have an MCE Remote you can press the live TV button, which forces a refresh and the screen comes back to life.
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Had same issues... I stopped using S1/S3 due to this. Like paloema, I don't use the TV-server.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    But unfortunately it doesnt seem that any dev can reproduce the error, since here is no reply of anyone of them...
     

    Edna

    Portal Member
    October 8, 2006
    35
    1
    53
    Home Country
    Denmark Denmark
    Same issue here and same error in log

    I have the same problem, so since the power scheduler does not work well in 2.10 and all builds with the new animations causes this crash I have reverted to 2.0.4

    I so miss my 2.10 features!


    I get the same issue on both my PC's - One using Nvidia and the other one using ATI.

    Both PC's run winxp home (Danish) I wonder if this is an XP home issue, I can't believe that this is not affecting more users.


    Ps Any change of getting a 2.10 released with the power scheduler bug fixed? That would really be awesome!

    :D
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    I am atm trying to track down with which svn this problem started. Maybe this helps.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    OK, found the SVN when it started to get buggy:

    Last working SVN:

    MediaPortal-svn--11-12-2006--01-01-Rev11674.exe


    First not working SVN:

    MediaPortal-svn--11-12-2006--20-00-Rev11685.exe


    Changes (from changelog.txt in SVN):

    12/11/2006 [09:29:18] _Frodo_ general fixed reentrancy in render call due to fact that GUI is now rendered in its own thread
    12/11/2006 [15:04:20] mPod General wait cursor is displayed when directories are loaded
    12/11/2006 [20:01:51] Bavarian home fixing broken hover animation
    12/11/2006 [23:43:35] rtv MyMovies changed behaviour of database views: show movie duration instead of filesize for sort = name

    Hopefully this helps to find the error!
     

    Users who are viewing this thread

    Top Bottom