YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
22 stars 8 forks source link

I couldn't open my project. #7836

Closed gm-bug-reporter[bot] closed 2 hours ago

gm-bug-reporter[bot] commented 2 hours ago

Description

I did Forced termination because GameMaker was not been exit. Then I restert it and try to open my project. But it is not opend and crushed.

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Mac 14.4.1

b5a25c4d-f3c5-43d3-bcb3-94ef8b838076

YYDan commented 2 hours ago

The crash is due to https://github.com/YoYoGames/GameMaker-Bugs/issues/7657 (which I have now pinned to the known issues also):

[22:46:57:329(d743)] --------------------------------------------------------------------------------
[22:46:57:329(d743)] Unhandled Exception: System.InvalidOperationException
[22:46:57:329(d743)] Exception message: An attempt was made to transition a task to a final state when it had already completed.
[22:46:57:368(d743)] Exception stack:    at System.Threading.Tasks.TaskCompletionSource`1.SetResult(TResult result)
   at YoYoStudio.Sound.FFMpegAudioStream.OnPropertyChanged(Object sender, PropertyChangedEventArgs e)
   at YoYoStudio.Sound.FFMpegAudioStream.SetProperty[T](T& property, T value, String propertyName)
   at YoYoStudio.Sound.FFMpegAudioStream.set_HasRetrievedProperties(Boolean value)
   at YoYoStudio.Sound.FFMpegAudioStream.<RetrieveAudioStreamProperties>b__79_0(Object s, EventArgs e)
   at System.Diagnostics.Process.RaiseOnExited()
   at System.Diagnostics.Process.CompletionCallback(Object waitHandleContext, Boolean wasSignaled)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.PortableThreadPool.CompleteWait(RegisteredWaitHandle handle, Boolean timedOut)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
[22:46:57:368(d743)] --------------------------------------------------------------------------------

Closing as Duplicate.

YYDan commented 2 hours ago

And the project was not attached, so I can't say 100%, but it looks to me like just bad luck/timing, as while the project was loading you got the same crash a second time.

I strongly suspect the project itself is absolutely fine - you just need us to fix the crash asap.