Skip to content

Second day save crash on Mac #65

Description

@morgendave

There is a second day crash on Mac OS for both 10.10 and 10.12, After connect to host, the first day works fine. After slept and trying to start second day, it crashes. This would also happen on the saved data(the one used to launch in multi players) loading in single player mode. Stacktrace below.

Stacktrace:

at <0xffffffff>
at (wrapper managed-to-native) object.wrapper_native_0x7fff8b3d8d4b (OpenGL.TextureTarget,int) <0x0005e>
at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformGetData<Microsoft.Xna.Framework.Color> (int,int,System.Nullable1<Microsoft.Xna.Framework.Rectangle>,Microsoft.Xna.Framework.Color[],int,int) <0x0009f> at Microsoft.Xna.Framework.Graphics.Texture2D.GetData<Microsoft.Xna.Framework.Color> (int,int,System.Nullable1<Microsoft.Xna.Framework.Rectangle>,Microsoft.Xna.Framework.Color[],int,int) <0x0013c>
at Microsoft.Xna.Framework.Graphics.Texture2D.GetData<Microsoft.Xna.Framework.Color> (int,System.Nullable`1<Microsoft.Xna.Framework.Rectangle>,Microsoft.Xna.Framework.Color[],int,int) <0x0004f>
at Microsoft.Xna.Framework.Graphics.Texture2D.GetData<Microsoft.Xna.Framework.Color> (Microsoft.Xna.Framework.Color[]) <0x00054>
at StardewValley.FarmerRenderer.changeShirt (int) <0x000ec>
at StardewValley.Farmer.changeShirt (int) <0x000ee>
at StardewValley.Farmer.changeGender (bool) <0x00134>
at StardewValleyMP.Vanilla.NewSaveGame.loadDataToFarmer (StardewValley.Farmer) <0x00577>
at StardewValleyMP.Vanilla.NewSaveGame/<>c.b__2_3 () <0x0004e>
at System.Threading.Tasks.Task.InnerInvoke () <0x00051>
at System.Threading.Tasks.Task.Execute () <0x0006c>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0005b>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x0023f>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00028>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00187>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000e2>
at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x00016>
at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x00222>
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x00010>
at (wrapper runtime-invoke) .runtime_invoke_bool (object,intptr,intptr,intptr) <0x0006e>

Assuming it fails on this line:
https://github.com/MonoGame/MonoGame/blob/develop/MonoGame.Framework/Graphics/Texture2D.OpenGL.cs#L238

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions