Topic: MPC crashes at start of playback, script access violation error

I've been trying to solve this issue for a while now by first going back to 32-bit from 64-bit, then by reinstalling SVP, then by uninstalling every component before reinstalling, and even by deleting AppData folder contents.

Despite my efforts, I keep getting the same yellow text error at the top of the video seconds before MPC crashes.
I also have log entries for when this happens.

What else can I do to troubleshoot this? Is there a known solution that I missed?

Post's attachments

SVP error log.txt 1.23 kb, 1816 downloads since 2017-10-01 

Re: MPC crashes at start of playback, script access violation error

The error in the log:

20:18:06.034 [E]: Playback [2300fe]: AVS - System exception - Access Violation
20:18:06.034 [E]: Playback [2300fe]: AVS - (C:\Users\MidKnight Reign\AppData\Roaming\SVP4\scripts\2300fe.avs, line 41)

It is access error. Some file can not be written or can not be readed.

So. I need anwers on two questions:
1. Is any antivirus software are installed in your system?
2. Do you see this file in the windows explorer (...SVP4\scripts\2300fe.avs)?

Re: MPC crashes at start of playback, script access violation error

I just have Microsoft Security Essentials, nothing fancy

The script file is indeed in the mentioned directory.

Re: MPC crashes at start of playback, script access violation error

Can you attach this file?
It is interesting what special are placed at the line 41.

5 (edited by MidKnightReign 01-10-2017 10:19:01)

Re: MPC crashes at start of playback, script access violation error

Here it is.

Post's attachments

2300fe.avs 1.94 kb, 1736 downloads since 2017-10-01 

Re: MPC crashes at start of playback, script access violation error

Let check if it avisynth is the cause.
1. Download package AvisynthPlus-r2508-MT.7z from this link: https://github.com/pinterf/AviSynthPlus … g/r2508-MT
2.1. Unpack and place x64 version avisyth.dll file into 64 bit player's folder.
2.2. Or place x86 version avisyth.dll file into 32 bit player's folder.
3. Open player and check if the error still here?

Re: MPC crashes at start of playback, script access violation error

Same error (the script file keeps changing though), but now I'm getting some crash dumps as well.

https://drdump.com/DumpGroup.aspx?DumpGroupID=915198
https://drdump.com/DumpGroup.aspx?DumpGroupID=915199
https://drdump.com/DumpGroup.aspx?DumpGroupID=915203

Re: MPC crashes at start of playback, script access violation error

Then try another version of avisynth: Avisynth 2.6 MT (32 bit).
1. Download package avisynth_20150220.7z from this link: https://www.dropbox.com/s/dckxoowjlzwku … 0150220.7z
2. Or place avisyth.dll file into 32 bit player's folder.
3. Open player and check if the error still here?

Re: MPC crashes at start of playback, script access violation error

The error has changed, but the behavior of my issue is still the same. MPC doesn't crash after a few seconds of playback anymore, but the video is not enhanced by SVP and the player crashes when closed.

The log entry for the new error is attached.

Post's attachments

SVP error log 2.txt 1.34 kb, 1772 downloads since 2017-10-04 

10 (edited by MidKnightReign 28-10-2017 14:07:09)

Re: MPC crashes at start of playback, script access violation error

So I'm double-posting to let you all know of a new development: The issue only happens after my system wakes from sleep or hibernation. Restarting the computer resolves the issue temporarily, but the issue returns the moment it goes back to sleep/hibernation and wakes back up.

For now I've disabled sleep and hibernation on my system and just leave it on unless I'm leaving the house or going to bed, but this is not an ideal long-term solution given the cost of electricity in Hawaii and the way I use my system.

Further help in isolating the cause of this issue would be greatly appreciated, but it's not quite as urgent as before.

Re: MPC crashes at start of playback, script access violation error

As it looks like Avisynth error You can try to use VapourSynt.
1. Install PotPlayer (64bit version).
2. In PotPlayer enable VapourSynth: Preferences - Video - Vapoursynth - enable Use VapourSynth filters option.
3. In SVP enable PotPlayer's native VapourSynth engine - Application sttings - Additional options - enable option main.setup.potplayer.native = true
https://www.svp-team.com/forum/misc.php?action=pun_attachment&item=4592
https://www.svp-team.com/forum/misc.php?action=pun_attachment&item=4593

Post's attachments

main_setup_potplayer.png 67.01 kb, 121 downloads since 2017-10-29 

PotPlayer_Vapoursynth.png 53.23 kb, 116 downloads since 2017-10-29