MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar (1 Viewer)

Status
Not open for further replies.

te3hpurp

Retired Team Member
  • Premium Supporter
  • September 23, 2008
    910
    231
    Rovaniemi
    Home Country
    Finland Finland
    Re: MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar

    gibman

    Just got it from svn. I'll try it as soon as Kids give me some free time.

    regards,
     

    este22

    MP Donator
  • Premium Supporter
  • February 13, 2007
    1,753
    120
    Home Country
    Austria Austria
    AW: MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar

    hi,
    something to dropped frames during 1080i:
    i have tested same hardware with vista und mp 1.0.2. (that i can be sure my core i3 is not the reason ;-) ) this is working mutch better. 40 dropped frames / hour. and no issues in live tv.
     

    fmulders

    MP Donator
  • Premium Supporter
  • June 3, 2009
    99
    14
    53
    Home Country
    Netherlands Netherlands
    When stopping a recording, not possible to start a new one!

    please state what kind of schedule type u r recording.
    Where u start it (in what context).
    Wehre u stop it (in what context).

    does it happen all the time or only sometimes ?
    did u verify the the recording is indeed stopped when looking at the setuptv app ( manual section) ?

    /gibman

    :oops:

    I found what caused it! I added a Hybrid card and forgot to set it like that.
    I corrected that now and can not reproduce anymore.

    But!:(



    When I start a recording like this.
    • Selecting a program from the guide and than push record button on my MS remote.
    • Answer the popup question by selecting "1-current show"
    • The program lites up in the guide and I can see it is recording in the manual section of TV-setup.
    • Now I select the recording show in the guide again and push the record button again to stop it!
    • I can see, in the manual section, it stopped recording.
    • Now it is not possible to start a new recording anymore, I need to reboot MP to get it running again.
    • (restart TV-service did not help)
    Here are my logs
     

    te3hpurp

    Retired Team Member
  • Premium Supporter
  • September 23, 2008
    910
    231
    Rovaniemi
    Home Country
    Finland Finland
    Re: Mp crashing in unknown pattern.

    Hi thanks for the bug report.

    0002689: teletextpagerenderer null pointer exception. - MediaPortal Bugtracker
    fixed and committed to svn.

    could u try this simple patch in the mean time.
    All it does is to protect itself from a null pointer exception in pageBitmap.

    teletextpagerenderer.cs

    Code:
        public void RenderPage(ref Bitmap pageBitmap, byte[] byPage, int mPage, int sPage)
        {
          int col;
          int hold;
          int foreground, background, doubleheight, charset, mosaictype;
          byte held_mosaic;
          bool flag = false;
          bool isBoxed = false;
          byte[] pageChars = new byte[31 * 40];
          int[] pageAttribs = new int[31 * 40];
          bool row24 = false;
    
          if (pageBitmap == null)
          {
            return;
          }
    
          ....

    /gibman

    Hi.

    Here is logs about crash. Mp is in normal use: zapping, using teletex,
    some channels might have had normal dvb subtitles.

    I hope logs have catched some clues, as these few things that dev's wanted us to
    look at in first page of this therad are quite new, i mean Mp has been more stable
    about a month ago. Now this crash happens totally without any certain behavior i do.
    Sometimes it crashes just after i've rebooted and started to watch first channel after reboot.
    Sometimes it happens only after using teletex and few hours later. No pattern how to make it happen.

    I'm sorry not been able to help more. My system specs are just below my avatar.


    regards

    EDIT:

    Just happened again. And log shows the same as attaced log:

    2010-02-07 12:48:10.601994 [ERROR][Teletext Updater(36)]: MediaPortal: Unhandled exception occured
    2010-02-07 12:48:10.674998 [ERROR][Teletext Updater(36)]: Exception :confused:ystem.ArgumentNullException: Value cannot be null.
    Parameter name: image
    at System.Drawing.Graphics.FromImage(Image image)
    at TvLibrary.Teletext.TeletextPageRenderer.RenderPage(Bitmap& pageBitmap, Byte[] byPage, Int32 mPage, Int32 sPage)
    at TvPlugin.TvTeletextBase.Redraw()
    at TvPlugin.TvTeletextBase.GetNewPage()
    at TvPlugin.TvTeletextBase.UpdatePage()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

    That's killing my Mp

    I looked a code a bit and i don't understand how that image variable could be null as it is created few lines above hmm...

    Maybe if this RenderPage is called twice in a row before previous call has not ended.

    Hi

    Your fixchanged behavior, but still teletex crashes Mp. New logs attached.
    Exception is now different.

    It crashes on UnLockMemoryImageTexture in same(i guess) renderpage function that calls
    MediaPortal.GUI.Library.GUIImage.UnLockMemoryImageTexture.

    EDIT:
    It seems to me that this happens after teletext has been used and then i exit teletex. Not allways at first time but second
    I usually read teletext news from two channels and after i exit teletex, this crash happens.

    Could it be that teletext updater thread is still kicking pages, even though other resources have been disposed allready for
    receiving pages.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    Re: Mp crashing in unknown pattern.

    Please try the attached patch.

    I think it lacks thread safety.

    /gibman

    Hi thanks for the bug report.

    0002689: teletextpagerenderer null pointer exception. - MediaPortal Bugtracker
    fixed and committed to svn.

    could u try this simple patch in the mean time.
    All it does is to protect itself from a null pointer exception in pageBitmap.

    teletextpagerenderer.cs

    Code:
        public void RenderPage(ref Bitmap pageBitmap, byte[] byPage, int mPage, int sPage)
        {
          int col;
          int hold;
          int foreground, background, doubleheight, charset, mosaictype;
          byte held_mosaic;
          bool flag = false;
          bool isBoxed = false;
          byte[] pageChars = new byte[31 * 40];
          int[] pageAttribs = new int[31 * 40];
          bool row24 = false;
    
          if (pageBitmap == null)
          {
            return;
          }
    
          ....

    /gibman

    Hi.

    Here is logs about crash. Mp is in normal use: zapping, using teletex,
    some channels might have had normal dvb subtitles.

    I hope logs have catched some clues, as these few things that dev's wanted us to
    look at in first page of this therad are quite new, i mean Mp has been more stable
    about a month ago. Now this crash happens totally without any certain behavior i do.
    Sometimes it crashes just after i've rebooted and started to watch first channel after reboot.
    Sometimes it happens only after using teletex and few hours later. No pattern how to make it happen.

    I'm sorry not been able to help more. My system specs are just below my avatar.


    regards

    EDIT:

    Just happened again. And log shows the same as attaced log:

    2010-02-07 12:48:10.601994 [ERROR][Teletext Updater(36)]: MediaPortal: Unhandled exception occured
    2010-02-07 12:48:10.674998 [ERROR][Teletext Updater(36)]: Exception :confused:ystem.ArgumentNullException: Value cannot be null.
    Parameter name: image
    at System.Drawing.Graphics.FromImage(Image image)
    at TvLibrary.Teletext.TeletextPageRenderer.RenderPage(Bitmap& pageBitmap, Byte[] byPage, Int32 mPage, Int32 sPage)
    at TvPlugin.TvTeletextBase.Redraw()
    at TvPlugin.TvTeletextBase.GetNewPage()
    at TvPlugin.TvTeletextBase.UpdatePage()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

    That's killing my Mp

    I looked a code a bit and i don't understand how that image variable could be null as it is created few lines above hmm...

    Maybe if this RenderPage is called twice in a row before previous call has not ended.

    Hi

    Your fixchanged behavior, but still teletex crashes Mp. New logs attached.
    Exception is now different.

    It crashes on UnLockMemoryImageTexture in same(i guess) renderpage function that calls
    MediaPortal.GUI.Library.GUIImage.UnLockMemoryImageTexture.

    EDIT:
    It seems to me that this happens after teletext has been used and then i exit teletex. Not allways at first time but second
    I usually read teletext news from two channels and after i exit teletex, this crash happens.

    Could it be that teletext updater thread is still kicking pages, even though other resources have been disposed allready for
    receiving pages.
     

    Attachments

    • teletext_crash1.patch
      30.6 KB

    domb

    Portal Pro
    October 30, 2006
    213
    7
    Re: MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar

    Can I provide more info on this to get it in the bug tracker? Here is a 1 minute test file which displays wrongly:

    www.domsyard.com/test-001.mkv

    More info related to the following problem here...

    www.makemkv.com • View topic - Extra aspect ratio flag

    Looks like its MediaPortal not make MKV.

    When playing back MKVs MediaPortal seems to the 'Original Display Aspect Ratio' flag rather than the 'Display Aspect Ratio' flag causing video to be displayed at the wrong aspect. File plays back at correct aspect ratio in VLC, WMP and MPC-HC. Tried different decoders in MP with no effect. Below is the MediaInfo from a problem file. Files without the 'Original Display Aspect Ratio' play back correctly.

    General
    Complete name : D:\MEDIA\TV SERIES\The Mighty Boosh\2\3 Nanageddon.mkv
    Format : Matroska
    File size : 1 010 MiB
    Duration : 27mn 25s
    Overall bit rate : 5 153 Kbps
    Encoded date : UTC 2010-01-17 22:36:08
    Writing application : MakeMKV v1.4.9 beta win(x64-release)
    Writing library : libmakemkv v1.4.9 beta (0.7.7/0.8.1) win(x64-release)

    Video
    ID : 1
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, BVOP : No
    Format settings, Matrix : Default
    Codec ID : V_MPEG2
    Codec ID/Info : MPEG 1 or 2 Video
    Duration : 27mn 25s
    Bit rate mode : Variable
    Bit rate : 4 858 Kbps
    Nominal bit rate : 9 400 Kbps
    Width : 720 pixels
    Height : 576 pixels
    Display aspect ratio : 16:9
    Original display aspect ratio : 2.35:1
    Frame rate : 25.000 fps
    Standard : PAL
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Interlaced
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.469
    Stream size : 953 MiB (94%)

    Audio
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Codec ID : A_AC3
    Duration : 27mn 25s
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 2 channels
    Channel positions : L R
    Sampling rate : 48.0 KHz
    Stream size : 37.7 MiB (4%)
    Title : 2/0
    Language : English

    Menu
    00:00:00.000 : en:Chapter 01
    00:04:51.240 : en:Chapter 02
    00:09:26.320 : en:Chapter 03
    00:17:00.000 : en:Chapter 04
    00:20:23.760 : en:Chapter 05
    00:25:07.040 : en:Chapter 06

    Logs attached.
     

    te3hpurp

    Retired Team Member
  • Premium Supporter
  • September 23, 2008
    910
    231
    Rovaniemi
    Home Country
    Finland Finland
    Re: Mp crashing in unknown pattern.

    Please try the attached patch.

    I think it lacks thread safety.

    /gibman

    Hi thanks for the bug report.

    0002689: teletextpagerenderer null pointer exception. - MediaPortal Bugtracker
    fixed and committed to svn.

    could u try this simple patch in the mean time.
    All it does is to protect itself from a null pointer exception in pageBitmap.

    teletextpagerenderer.cs

    Code:
        public void RenderPage(ref Bitmap pageBitmap, byte[] byPage, int mPage, int sPage)
        {
          int col;
          int hold;
          int foreground, background, doubleheight, charset, mosaictype;
          byte held_mosaic;
          bool flag = false;
          bool isBoxed = false;
          byte[] pageChars = new byte[31 * 40];
          int[] pageAttribs = new int[31 * 40];
          bool row24 = false;
    
          if (pageBitmap == null)
          {
            return;
          }
    
          ....

    /gibman

    Hi

    Your fixchanged behavior, but still teletex crashes Mp. New logs attached.
    Exception is now different.

    It crashes on UnLockMemoryImageTexture in same(i guess) renderpage function that calls
    MediaPortal.GUI.Library.GUIImage.UnLockMemoryImageTexture.

    EDIT:
    It seems to me that this happens after teletext has been used and then i exit teletex. Not allways at first time but second
    I usually read teletext news from two channels and after i exit teletex, this crash happens.

    Could it be that teletext updater thread is still kicking pages, even though other resources have been disposed allready for
    receiving pages.

    Hi.
    I tried patch but,
    Still not working. Same errors in log. New logs attached.
     

    Fredd_1001

    Portal Pro
    October 28, 2007
    79
    0
    Almere
    Home Country
    Netherlands Netherlands
    Re: AW: MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar

    @gibman
    even with cat 10.2 RC2 ZDF HD, ARD HD and Arte HD are still blocky heavy stuttering and not viewable. Have you tested the .ts file i've uploaded?

    Also i cnanot access the video acceleration settings with dxvachecker anymore since 10.2 :-(

    For me it is exactly the same. Just ried the same 10.2 RC2 driver and I still have blocky HD picture.
    However, I would like to add that it is not 100% for me. That means sometimes one HD channel plays fine but after a channel change, the same channel is not watchable any more. So I still assume a problem within MP...

    Has anybody checked my TS file that I have uploaded into the DVB-S folder?

    Just my two cents ont this:

    I allso had these problems using win7 and the ATI 10.1 driver package, and this SVN 24975 and allso with SVN 24923.
    Indeed allways in ARD HD stuttering and dropping frames.
    But now I switched back to SVN 24669, and I it is haven't experienced it anymore. In fact switching channels HD and SD has never been more stable. :D Using PowerDVD codecs.
    But I agree that this is probably not the best driver package from ATI for my videocard. I cannot really put my finger on it, but I constantly have the impression that it produces a (too) high intense and not really sharp image on my (LCD) TV. :confused:
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,979
    11,879
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar

    gibman: Just encountered the same teletext bug. Excerpt from log:
    2010-02-07 22:21:13.661539 [ERROR][Teletext Updater(27)]: MediaPortal: Unhandled exception occured
    2010-02-07 22:21:13.683023 [ERROR][Teletext Updater(27)]: Exception :confused:ystem.ArgumentNullException: Der Wert darf nicht NULL sein.
    Parametername: image
    bei System.Drawing.Graphics.FromImage(Image image)
    bei TvLibrary.Teletext.TeletextPageRenderer.RenderPage(Bitmap& pageBitmap, Byte[] byPage, Int32 mPage, Int32 sPage)
    bei TvPlugin.TvTeletextBase.Redraw()
    bei TvPlugin.TvTeletextBase.GetNewPage()
    bei TvPlugin.TvTeletextBase.UpdatePage()
    bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart()
    2010-02-07 22:21:13.684000 [ERROR][Teletext Updater(27)]: Exception :Der Wert darf nicht NULL sein.
    Parametername: image
    2010-02-07 22:21:13.684976 [ERROR][Teletext Updater(27)]: site :confused:ystem.Drawing.Graphics FromImage(System.Drawing.Image)
    2010-02-07 22:21:13.686929 [ERROR][Teletext Updater(27)]: source :confused:ystem.Drawing
    2010-02-07 22:21:13.688882 [ERROR][Teletext Updater(27)]: stacktrace: bei System.Drawing.Graphics.FromImage(Image image)
    bei TvLibrary.Teletext.TeletextPageRenderer.RenderPage(Bitmap& pageBitmap, Byte[] byPage, Int32 mPage, Int32 sPage)
    bei TvPlugin.TvTeletextBase.Redraw()
    bei TvPlugin.TvTeletextBase.GetNewPage()
    bei TvPlugin.TvTeletextBase.UpdatePage()
    bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart()
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: MediaPortal SVN-Snapshot:-02-06-2010 13-59h - Revision:24975.rar

    Fredd_1001
    are you able to play ARD HD / ZDF HD with old SVN and MS DTV Win7 codec?
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom