1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

Bug/Issue smapi crash

Discussion in 'Support' started by lxs597, Sep 20, 2017.

  1. lxs597

    lxs597 Void-Bound Voyager

    I`m sorry,I don`t know where to say it.

    My smapi usually crash,unless delete all mods.Most of the situation is nothing in log when it crash.So I don`t know how is it.But today I got the it.So who can help me?Thank you

    [10:49:24 ERROR SMAPI] The game failed unexpectedly: System.AccessViolationException: Try to read or write protected memory. This usually indicates that other memory is corrupted.
    在 Microsoft.Xna.Framework.Audio.UnsafeNativeMethods.SoundBank.PlayCue(UInt32 hSoundBank, String string, Int32 length)
    在 Microsoft.Xna.Framework.Audio.SoundBank.PlayCue(String name)
    在 StardewValley.Game1.playSound(String cueName)
    在 StardewValley.FarmerSprite.checkForFootstep()
    在 StardewValley.FarmerSprite.animate(Int32 Milliseconds)
    在 StardewValley.FarmerSprite.animate(Int32 whichAnimation, Int32 milliseconds)
    在 StardewValley.FarmerSprite.animate(Int32 whichAnimation, GameTime time)
    在 StardewValley.Farmer.MovePosition(GameTime time, Rectangle viewport, GameLocation currentLocation)
    在 StardewValley.Farmer.Update(GameTime time, GameLocation location)
    在 StardewValley.Game1.UpdateCharacters(GameTime time)
    在 StardewValley.Game1.Update(GameTime gameTime)
    在 StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) 位置 D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:行号 614
    在 Microsoft.Xna.Framework.Game.Tick()
    在 Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
    在 Microsoft.Xna.Framework.GameHost.OnIdle()
    在 Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
    在 Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
    在 System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
    在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    在 System.Windows.Forms.Application.Run(Form mainForm)
    在 Microsoft.Xna.Framework.WindowsGameHost.Run()
    在 Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
    在 Microsoft.Xna.Framework.Game.Run()
    在 StardewModdingAPI.Program.RunInteractively() 位置 D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Program.cs:行号 225
    [10:49:24 INFO SMAPI] Game has ended. Press any key to exit.

    stardew is 1.2.33 smapi is 1.15.4 system is windows 10 1703
    Mod have fastanimations\getdress\skipintro\calendaranywhere
     
    • Pathoschild

      Pathoschild Tiy's Beard

    • waterloofarms

      waterloofarms Intergalactic Tourist

      I've been having this issue with my game the past couple days where it keeps crashing mid-game and I'm not sure what is causing it.

      Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
      Repeat 2 times:
      --------------------------------
      at FAudio.FAudioSourceVoice_GetState(IntPtr, FAudioVoiceState ByRef, UInt32)
      --------------------------------
      at Microsoft.Xna.Framework.Audio.SoundEffectInstance.PlatformGetState()
      at CustomMusic.ActiveMusic.Update()
      at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
      at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      at System.Threading.ThreadHelper.ThreadStart()

      I've tried looking it up and from what I've seen people are saying this is an issue wit my computer and not the actual game but I've tried checking if there's something wrong with my memory, removing all my mods, checking if my Stardew valley folder has read/write permissions and I can't seem to find the issue. If anyone can please help that would be great, it was working fine one day and then it just starting doing this. Here's the full log:
      https://smapi.io/log/e78bff4f10884746b89e2f652dc823d9
       
        Last edited: Dec 22, 2021
      • Pangaea

        Pangaea Forum Moderator

      Share This Page