ShootMe / CelesteTAS

Simple TAS tools for the game Celeste
79 stars 14 forks source link

System.Threading.ThreadAbortException: Thread was being aborted. #15

Closed tbodt closed 5 years ago

tbodt commented 6 years ago

I'm trying to get this to run on Mac. I modified the Celeste.exe, used mkbundle to turn it into a modified Celeste.bin.osx, and I get this in error_log.txt:

System.Threading.ThreadAbortException: Thread was being aborted.
  at System.Threading.ManualResetEventSlim.Wait () [0x00000] in <b6017b108c4148adad3826865cf5dd25>:0 
  at Microsoft.Xna.Framework.Graphics.OpenGLDevice.ForceToMainThread (System.Action action) [0x0006b] in <6e45e729ae164627b77cae3c338ab33b>:0 
  at Microsoft.Xna.Framework.Graphics.OpenGLDevice.CreateTexture2D (Microsoft.Xna.Framework.Graphics.SurfaceFormat format, System.Int32 width, System.Int32 height, System.Int32 levelCount) [0x00031] in <6e45e729ae164627b77cae3c338ab33b>:0 
  at Microsoft.Xna.Framework.Graphics.Texture2D..ctor (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.Int32 width, System.Int32 height, System.Boolean mipMap, Microsoft.Xna.Framework.Graphics.SurfaceFormat format) [0x0008a] in <6e45e729ae164627b77cae3c338ab33b>:0 
  at Microsoft.Xna.Framework.Graphics.Texture2D..ctor (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.Int32 width, System.Int32 height) [0x00000] in <6e45e729ae164627b77cae3c338ab33b>:0 
  at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.IO.Stream stream) [0x0000f] in <6e45e729ae164627b77cae3c338ab33b>:0 
  at Monocle.VirtualTexture.Reload () [0x003d0] in <9cb0e351d2424839beffe8327094289d>:0 
  at Monocle.VirtualTexture..ctor (System.String path) [0x0001a] in <9cb0e351d2424839beffe8327094289d>:0 
  at Monocle.VirtualContent.CreateTexture (System.String path) [0x00001] in <9cb0e351d2424839beffe8327094289d>:0 
  at Monocle.PixelFont.AddFontSize (System.String path, System.Xml.XmlElement data, Monocle.Atlas atlas, System.Boolean outline) [0x000f7] in <9cb0e351d2424839beffe8327094289d>:0 
  at Celeste.Fonts.Load () [0x00089] in <9cb0e351d2424839beffe8327094289d>:0 
  at Celeste.GameLoader.LoadThread () [0x00083] in <9cb0e351d2424839beffe8327094289d>:0 
  at Celeste.RunThread.RunThreadWithLogging (System.Action method) [0x00002] in <9cb0e351d2424839beffe8327094289d>:0 

How can I debug this?

ShootMe commented 6 years ago

I have basically zero experience with Mac, so I have no clue how you would go about debugging it. Based on the stack trace might be because it can't create an OpenGL graphics device.