Austria
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
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)]: Exceptionystem.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 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)]: Exceptionystem.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.
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.
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.
@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?
Germany