home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugreports
Archive
Access violation in MPCSubs.dll
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="doskabouter" data-source="post: 1233964" data-attributes="member: 98267"><p><strong>MediaPortal Version:</strong> 1.18.0</p><p></p><p><strong>Description</strong></p><p>Don't know if it was already present in 1.17 (did use that for a really short time, 1.16 didn't had this problem) but since 1.18 I get regular crashes of mediaportal when using the onlinevideos plugin.</p><p>They especially occur when it's buffering and I stop the process (f.e. because buffering is too slow), but also occurs sometimes as fetching the url doesn't give the expected result.</p><p></p><p>The crash dialog from windows gives me:</p><p>[SPOILER]</p><p>Problem signature:</p><p> Problem Event Name: APPCRASH</p><p> Application Name: MediaPortal.exe</p><p> Application Version: 1.18.0.0</p><p> Application Timestamp: 59d9d5bc</p><p> Fault Module Name: mpcSubs.dll</p><p> Fault Module Version: 0.0.0.0</p><p> Fault Module Timestamp: 59d9d5ad</p><p> Exception Code: c0000005</p><p> Exception Offset: 00001db0</p><p> OS Version: 6.1.7601.2.1.0.256.1</p><p> Locale ID: 2057</p><p> Additional Information 1: 0a9e</p><p> Additional Information 2: 0a9e372d3b4ad19135b953a78882e789</p><p> Additional Information 3: 0a9e</p><p> Additional Information 4: 0a9e372d3b4ad19135b953a78882e789</p><p></p><p>Read our privacy statement online:</p><p> <a href="http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409" target="_blank">Datenschutzbestimmungen für Windows 7</a></p><p></p><p>If the online privacy statement is not available, please read our privacy statement offline:</p><p> C:\Windows\system32\en-US\erofflps.txt</p><p>[/SPOILER]</p><p></p><p>and attaching visual studio to the crashed mediaportal sends me to base.Dispose() in OnlineVideosPlayer.Dispose()</p><p>full stacktrace:</p><p>[SPOILER]</p><p> at MediaPortal.Player.Subtitles.MpcEngine.MpcSubtitles.FreeSubtitles()</p><p> at MediaPortal.Player.Subtitles.MpcEngine.FreeSubtitles()</p><p> at MediaPortal.Player.VideoPlayerVMR9.Cleanup()</p><p> at MediaPortal.Player.VideoPlayerVMR9.CloseInterfaces()</p><p> at MediaPortal.Player.VideoPlayerVMR7.Dispose()</p><p> at OnlineVideos.MediaPortal1.Player.OnlineVideosPlayer.Dispose() in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\Player\OnlineVideosPlayer.cs:line 778</p><p> at OnlineVideos.MediaPortal1.GUIOnlineVideos.Play_Step5(PlayListItem playItem, String lsUrl, Boolean goFullScreen, PlayerFactory factory, Nullable`1 factoryPrepareResult, Boolean showMessage) in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\GUIOnlineVideos.cs:line 2442</p><p> at OnlineVideos.MediaPortal1.GUIOnlineVideos.<>c__DisplayClass128_0.<Play_Step4>b__1(Boolean success, Object result) in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\GUIOnlineVideos.cs:line 2423</p><p> at OnlineVideos.MediaPortal1.Gui2UtilConnector.ExecuteTaskResultHandler() in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\Gui2UtilConnector.cs:line 193</p><p> at OnlineVideos.MediaPortal1.Gui2UtilConnector.<ExecuteInBackgroundAndCallback>b__19_1(Int32 p1, Int32 p2, Object o) in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\Gui2UtilConnector.cs:line 112</p><p> at MediaPortal.GUI.Library.GUIWindowManager.CallbackMsg(GUIMessage msg)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()</p><p> at MediaPortalApp.FrameMove()</p><p> at MediaPortal.D3D.OnIdle(Object sender, EventArgs e)</p><p> at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)</p><p> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.Run(Form mainForm)</p><p> at MediaPortalApp.Main(String[] args)</p><p>[/SPOILER]</p><p>P.s. I did remove mediaportal.xml and trakt logging from the logs.zip as that contained usernames and passwords...</p><p></p><p>Edit: checking mpcSubs.cpp in FreeSubtitles, it's only one of 2 places where the use of g_subManager isn't guarded by an if (g_subManager), but there is a try/catch around it so that should (although not the nicest solution) be sufficient?</p><p>Edit2: after polishing my c++ skills it seems that access violations aren't caught by try/catch blocks, so perhaps an if should do the trick there?</p><p>I'm not able to compile the mpcSubs.dll myself, but if I can have a test version I can try and see if the error is gone.</p><p></p><p><strong>Steps to Reproduce:</strong></p><p>Try to play videos in onlinevideos and stop them when buffering.</p><p>If I do my best, it'll crash in about 1 in 10 attempts</p></blockquote><p></p>
[QUOTE="doskabouter, post: 1233964, member: 98267"] [B]MediaPortal Version:[/B] 1.18.0 [B]Description[/B] Don't know if it was already present in 1.17 (did use that for a really short time, 1.16 didn't had this problem) but since 1.18 I get regular crashes of mediaportal when using the onlinevideos plugin. They especially occur when it's buffering and I stop the process (f.e. because buffering is too slow), but also occurs sometimes as fetching the url doesn't give the expected result. The crash dialog from windows gives me: [SPOILER] Problem signature: Problem Event Name: APPCRASH Application Name: MediaPortal.exe Application Version: 1.18.0.0 Application Timestamp: 59d9d5bc Fault Module Name: mpcSubs.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 59d9d5ad Exception Code: c0000005 Exception Offset: 00001db0 OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 2057 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 Read our privacy statement online: [URL='http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409']Datenschutzbestimmungen für Windows 7[/URL] If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt [/SPOILER] and attaching visual studio to the crashed mediaportal sends me to base.Dispose() in OnlineVideosPlayer.Dispose() full stacktrace: [SPOILER] at MediaPortal.Player.Subtitles.MpcEngine.MpcSubtitles.FreeSubtitles() at MediaPortal.Player.Subtitles.MpcEngine.FreeSubtitles() at MediaPortal.Player.VideoPlayerVMR9.Cleanup() at MediaPortal.Player.VideoPlayerVMR9.CloseInterfaces() at MediaPortal.Player.VideoPlayerVMR7.Dispose() at OnlineVideos.MediaPortal1.Player.OnlineVideosPlayer.Dispose() in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\Player\OnlineVideosPlayer.cs:line 778 at OnlineVideos.MediaPortal1.GUIOnlineVideos.Play_Step5(PlayListItem playItem, String lsUrl, Boolean goFullScreen, PlayerFactory factory, Nullable`1 factoryPrepareResult, Boolean showMessage) in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\GUIOnlineVideos.cs:line 2442 at OnlineVideos.MediaPortal1.GUIOnlineVideos.<>c__DisplayClass128_0.<Play_Step4>b__1(Boolean success, Object result) in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\GUIOnlineVideos.cs:line 2423 at OnlineVideos.MediaPortal1.Gui2UtilConnector.ExecuteTaskResultHandler() in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\Gui2UtilConnector.cs:line 193 at OnlineVideos.MediaPortal1.Gui2UtilConnector.<ExecuteInBackgroundAndCallback>b__19_1(Int32 p1, Int32 p2, Object o) in D:\MediaPortal Sources\mp-onlinevideos2.3\OnlineVideos.MediaPortal1\Gui2UtilConnector.cs:line 112 at MediaPortal.GUI.Library.GUIWindowManager.CallbackMsg(GUIMessage msg) at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message) at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages() at MediaPortalApp.FrameMove() at MediaPortal.D3D.OnIdle(Object sender, EventArgs e) at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at MediaPortalApp.Main(String[] args) [/SPOILER] P.s. I did remove mediaportal.xml and trakt logging from the logs.zip as that contained usernames and passwords... Edit: checking mpcSubs.cpp in FreeSubtitles, it's only one of 2 places where the use of g_subManager isn't guarded by an if (g_subManager), but there is a try/catch around it so that should (although not the nicest solution) be sufficient? Edit2: after polishing my c++ skills it seems that access violations aren't caught by try/catch blocks, so perhaps an if should do the trick there? I'm not able to compile the mpcSubs.dll myself, but if I can have a test version I can try and see if the error is gone. [B]Steps to Reproduce:[/B] Try to play videos in onlinevideos and stop them when buffering. If I do my best, it'll crash in about 1 in 10 attempts [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugreports
Archive
Access violation in MPCSubs.dll
Contact us
RSS
Top
Bottom