It seems like the text reversing (for LTR languages such as Hebrew) has some kind of bug.
I've noticed for a while that some strings are displayed in MP with a missing character at the end of the line, while "language contains left-to-right..." option is checked in the configuration. This mostly happens when the line also contains special characters, such as quotes.
I didn't mind for a while, since MP is still usable in Hebrew.
(Working with MP for a few years now, remembering the days before Hebrew and LTR in MP was even a plan... I had no complaints )
However, lately MP seems to crash from time to time for an unknown reason. It does happen while a video or TV is playing in fullscreen mode (it might happen in other cases too, but I couldn't catch one yet).
Viewing the logs, I've found the same repeating error, which points to an LTR function:
MP seems to live with those errors for a while (log contains hundreds of those messages, for a 4-hour session), I'm not sure if that's what makes MP crash.
Near the crash, the error message seems a bit different:
Is it possible there's a memory leak in this function, that eventually makes MP crash?
The behaviour of such crash is that MP simply stops responding.
Sometimes I can fix it by pressing the key assigned for "Shutdown MP" on the remote. In other cases, I need to invoke task manager and stop the "MediaPortal.exe" process.
The attached file is a log gathered while MP is non-responsive. As you can see, there are no other errors, so I suspect a memory leak can be the cause.
I can not give up Hebrew (or LTR in general) since most of my MP content is now Hebrew: The GUI language, the EPG, some file names, music tags...
Can anyone check this function (or maybe other LTR related functions) for a bug?
Can the log I provided assist?
Are other logs or files required?
TV-Server Version: 1.0.0.0
MediaPortal Version: 1.0.0.0
MediaPortal Skin: Blue3 / Blue3Wide
Windows Version: Server 2008 Std SP1 (x86)
CPU Type: Intel Core2Duo E7300 2.66GHz
HDD: Seagate 500GB SATA
Memory: 4GB 800MHz
Motherboard: Gigabyte P35-DS3L
Video Card: Radeon HD3450
Video Card Driver: 8.522.0.0
Sound Card: Onboard (Realtek HD)
Sound Card AC3: optical out
Sound Card Driver: 6.0.1.5717
1. TV Card: Hauppauge WinTV PVR-150
1. TV Card Type: Analog
1. TV Card Driver: 2.0.48.25037
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: NVidia
MPEG2 Audio Codec: NVidia
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Thermaltake Bach
Cooling: Freezer 7 Pro + custom made
Power Supply: Thermaltake
Remote: MCE remote + Hauppauge 45-key
TV: Benq 6110 Projector 800x600 / 22" LCD Display 1440x900
TV - HTPC Connection: VGA (for Projector) / VGA (for LCD)
I've noticed for a while that some strings are displayed in MP with a missing character at the end of the line, while "language contains left-to-right..." option is checked in the configuration. This mostly happens when the line also contains special characters, such as quotes.
I didn't mind for a while, since MP is still usable in Hebrew.
(Working with MP for a few years now, remembering the days before Hebrew and LTR in MP was even a plan... I had no complaints )
However, lately MP seems to crash from time to time for an unknown reason. It does happen while a video or TV is playing in fullscreen mode (it might happen in other cases too, but I couldn't catch one yet).
Viewing the logs, I've found the same repeating error, which points to an LTR function:
Code:
2009-03-16 07:51:09.089227 [ERROR][MPMain]: Exception :System.IndexOutOfRangeException: Index was outside the bounds of the array.
at MediaPortal.GUI.Library.GUIFont.findDirections(String inLTRText)
2009-03-16 07:51:09.090227 [ERROR][MPMain]: Exception :Index was outside the bounds of the array.
2009-03-16 07:51:09.090227 [ERROR][MPMain]: site :System.String findDirections(System.String)
2009-03-16 07:51:09.090227 [ERROR][MPMain]: source :Core
2009-03-16 07:51:09.090227 [ERROR][MPMain]: stacktrace: at MediaPortal.GUI.Library.GUIFont.findDirections(String inLTRText)
MP seems to live with those errors for a while (log contains hundreds of those messages, for a 4-hour session), I'm not sure if that's what makes MP crash.
Near the crash, the error message seems a bit different:
Code:
2009-03-16 11:31:06.422451 [ERROR][VMRenderer]: Exception :System.IndexOutOfRangeException: Index was outside the bounds of the array.
at MediaPortal.GUI.Library.GUIFont.findDirections(String inLTRText)
2009-03-16 11:31:06.422451 [ERROR][VMRenderer]: Exception :Index was outside the bounds of the array.
2009-03-16 11:31:06.422451 [ERROR][VMRenderer]: site :System.String findDirections(System.String)
2009-03-16 11:31:06.422451 [ERROR][VMRenderer]: source :Core
2009-03-16 11:31:06.423451 [ERROR][VMRenderer]: stacktrace: at MediaPortal.GUI.Library.GUIFont.findDirections(String inLTRText)
Is it possible there's a memory leak in this function, that eventually makes MP crash?
The behaviour of such crash is that MP simply stops responding.
Sometimes I can fix it by pressing the key assigned for "Shutdown MP" on the remote. In other cases, I need to invoke task manager and stop the "MediaPortal.exe" process.
The attached file is a log gathered while MP is non-responsive. As you can see, there are no other errors, so I suspect a memory leak can be the cause.
I can not give up Hebrew (or LTR in general) since most of my MP content is now Hebrew: The GUI language, the EPG, some file names, music tags...
Can anyone check this function (or maybe other LTR related functions) for a bug?
Can the log I provided assist?
Are other logs or files required?
TV-Server Version: 1.0.0.0
MediaPortal Version: 1.0.0.0
MediaPortal Skin: Blue3 / Blue3Wide
Windows Version: Server 2008 Std SP1 (x86)
CPU Type: Intel Core2Duo E7300 2.66GHz
HDD: Seagate 500GB SATA
Memory: 4GB 800MHz
Motherboard: Gigabyte P35-DS3L
Video Card: Radeon HD3450
Video Card Driver: 8.522.0.0
Sound Card: Onboard (Realtek HD)
Sound Card AC3: optical out
Sound Card Driver: 6.0.1.5717
1. TV Card: Hauppauge WinTV PVR-150
1. TV Card Type: Analog
1. TV Card Driver: 2.0.48.25037
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: NVidia
MPEG2 Audio Codec: NVidia
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Thermaltake Bach
Cooling: Freezer 7 Pro + custom made
Power Supply: Thermaltake
Remote: MCE remote + Hauppauge 45-key
TV: Benq 6110 Projector 800x600 / 22" LCD Display 1440x900
TV - HTPC Connection: VGA (for Projector) / VGA (for LCD)