I think this build needs to be updated, that's all.Is this normal? I press alt+tab and the game breaks, how to fix it? 64 bit
[17:52:16] [1/ERROR] [Terraria]: System.AccessViolationException: Попытка чтения или записи в защищенную память. Это часто свидетельствует о том, что другая память повреждена.
в Microsoft.Xna.Framework.Graphics.OpenGLDevice.<>c__DisplayClass177_0.<SetVertexBufferData>b__0()
в DMD<Microsoft.Xna.Framework.Graphics.OpenGLDevice::ForceToMainThread>(OpenGLDevice , Action )
в Terraria.ModLoader.Engine.GLCallLocker.HookForceToMainThread(orig_ForceToMainThread orig, Object self, Action action)
в Microsoft.Xna.Framework.Graphics.SpriteBatch.UpdateVertexBuffer(Int32 count)
в Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushBatch()
в Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
в DMD<Terraria.Main:oDraw>(Main , GameTime )
в Terraria.Main.Draw(GameTime gameTime)
[17:52:16] [1/ERROR] [tML]: Unhandled Exception
System.AccessViolationException: Попытка чтения или записи в защищенную память. Это часто свидетельствует о том, что другая память повреждена.
в Microsoft.Xna.Framework.Graphics.OpenGLDevice.<>c__DisplayClass177_0.<SetVertexBufferData>b__0()
в DMD<Microsoft.Xna.Framework.Graphics.OpenGLDevice::ForceToMainThread>(OpenGLDevice , Action )
в Terraria.ModLoader.Engine.GLCallLocker.HookForceToMainThread(orig_ForceToMainThread orig, Object self, Action action)
в Microsoft.Xna.Framework.Graphics.SpriteBatch.UpdateVertexBuffer(Int32 count)
в Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushBatch()
в Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
в DMD<Terraria.Main:oDraw>(Main , GameTime )
в Terraria.Main.Draw(GameTime gameTime)
в Microsoft.Xna.Framework.Game.RedrawWindow()
в Microsoft.Xna.Framework.SDL2_FNAPlatform.Win32OnPaint(IntPtr func, IntPtr evtPtr)
Необработанное исключение: System.AccessViolationException: Попытка чтения или записи в защищенную память. Это часто свидетельствует о том, что другая память повреждена.
в Microsoft.Xna.Framework.Graphics.OpenGLDevice.<>c__DisplayClass177_0.<SetVertexBufferData>b__0()
в DMD<Microsoft.Xna.Framework.Graphics.OpenGLDevice::ForceToMainThread>(OpenGLDevice , Action )
в Terraria.ModLoader.Engine.GLCallLocker.HookForceToMainThread(orig_ForceToMainThread orig, Object self, Action action)
в Microsoft.Xna.Framework.Graphics.SpriteBatch.UpdateVertexBuffer(Int32 count)
в Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushBatch()
в Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
в DMD<Terraria.Main:oDraw>(Main , GameTime )
в Terraria.Main.Draw(GameTime gameTime)
в Microsoft.Xna.Framework.Game.RedrawWindow()
в Microsoft.Xna.Framework.SDL2_FNAPlatform.Win32OnPaint(IntPtr func, IntPtr evtPtr)
Check the update device the your graphics deviceIs there any way to fix this?
[08:01:51] [1/WARN] [tML]: Silently Caught Exception:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Xna.Framework.Graphics.OpenGLDevice.Clear(ClearOptions options, Vector4 color, Single depth, Int32 stencil)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Clear(ClearOptions options, Vector4 color, Single depth, Int32 stencil)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Clear(Color color)
at DMD<Terraria.Main:oDraw>(Main , GameTime )
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop(Game game)
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.FNALaunch.Main(String[] args)
[08:01:51] [1/ERROR] [Terraria]: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Xna.Framework.Graphics.OpenGLDevice.Clear(ClearOptions options, Vector4 color, Single depth, Int32 stencil)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Clear(ClearOptions options, Vector4 color, Single depth, Int32 stencil)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Clear(Color color)
at DMD<Terraria.Main:oDraw>(Main , GameTime )
at Terraria.Main.Draw(GameTime gameTime)
Me and my friends keep getting game running out of memory no matter who hosts the world. Our biggest mods are Calamity, Calamity Vanities and Mr. Plagues Authentic Races. The rest are small qol mods.
Here's the Server Log .
Yeah, that keeps happening with me too, i dont know how to solve it, i alredy try multiple things, and it wont workSo i have a friend who has this issue with tmodloader 64. Don't know how to help him with this.
Still an issue with the newest version... No logs for me though, just a segmentation fault. Happens soon after first spawn. It seems that a few people experience the same thing with slightly different timing and logsSo i am running a Calamity world with some other mods with my friend, and every time the Old One's Army event start, this error occurred after the first wave:
09/07/2021 1:14:58 AM
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SDL2.SDL.SDL_GL_SwapWindow(IntPtr window)
at Microsoft.Xna.Framework.Graphics.OpenGLDevice.SwapBuffers(Nullable`1 sourceRectangle, Nullable`1 destinationRectangle, IntPtr overrideWindowHandle)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Present()
at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.EndDraw()
at Microsoft.Xna.Framework.Game.EndDraw()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop(Game game)
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_()
This error doesn't appear in the 32bit version, only in the 64bit and only in the Old One's Army event
Any help would be greatly appreciated, thank you.
[01:04:14] [1/WARN] [tML]: Silently Caught Exception:
System.BadImageFormatException: Nieprawidłowy dostęp do lokalizacji w pamięci. (Exception from HRESULT: 0x800703E6)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.FreeHGlobal(IntPtr hglobal)
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.Dispose(Boolean disposing)
at DMD<Terraria.Main::UpdateAudio>(Main )
at Terraria.Main.DoUpdate(GameTime gameTime)
at Terraria.Main.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop(Game game)
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.FNALaunch.Main(String[] args)