Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS crash when press play button to build the game [Mono] #39246

Open
dtori opened this issue Jun 2, 2020 · 5 comments
Open

macOS crash when press play button to build the game [Mono] #39246

dtori opened this issue Jun 2, 2020 · 5 comments

Comments

@dtori
Copy link

dtori commented Jun 2, 2020

Godot version:

Godot_mono_3.2.2 Beta 3, using C#

OS/device including version:

GLES2 , Macbook pro, Catalina (check the crash.txt
for more details

Issue description:

Sometimes (seems to happen randomly), when I press the "play" button to build and run the game, an emergent dialog asking for admin user/password shows. If you press cancel button, godot editor crash (check the crash report), if you enter user/password, a process in the background uses 100% of CPU, and you can't kill, even with kill -9 pid. The only way to kill is by rebooting the macbook pro.

Steps to reproduce:
It's randomly

Crash Report
crash.txt

@bruvzg
Copy link
Member

bruvzg commented Jun 2, 2020

dialog asking for admin user/password shows. If you press cancel button, godot editor crash (check the crash report), if you enter user/password, a process in the background uses 100% of CPU, and you can't kill, even with kill -9 pid. The only way to kill is by rebooting the macbook pro.

Password dialog is shown by system crash report collector (atos) called by Godot, for some reason it's quite slow and usually take few minutes to complete (that's what causing high CPU usage). Since macOS itself is also collecting reports and atos output is not displayed if Godot is not started from the terminal we should probably disable it when running as .app bundle (or remove it completely, it's pretty much useless).

@dtori
Copy link
Author

dtori commented Jun 3, 2020

Hi bruvzg,
the dialog:

Screen Shot 2020-06-03 at 14 45 45

then Godot editor crash. After killall Godot I get the following processes, And I can't kill them without reboot.

diego@macson:~$ ps aux | grep -i godot
diego              816   0.0  5.3  5243444 444412   ??  TXs   1:04PM   5:29.30 /Users/diego/Desktop/Godot_mono-3.2.2-b3.app/Contents/MacOS/Godot --path /Users/diego/Develop/GameDev/Godot/PlatformerTemplateX --editor
diego             1200   0.0  0.0  4296512    524 s000  R+    2:49PM   0:00.00 grep -i godot
diego             1157   0.0  0.0        0      0   ??  ?Es   2:45PM   0:00.00 (Godot)
diego@macson:~$ kill -9 816; kill -9 1157
diego@macson:~$ ps aux | grep -i godot
diego              816   0.0  5.3  5243444 444412   ??  TXs   1:04PM   5:29.30 /Users/diego/Desktop/Godot_mono-3.2.2-b3.app/Contents/MacOS/Godot --path /Users/diego/Develop/GameDev/Godot/PlatformerTemplateX --editor
diego             1202   0.0  0.0  4268284    676 s000  S+    2:49PM   0:00.00 grep -i godot
diego             1157   0.0  0.0        0      0   ??  ?Es   2:45PM   0:00.00 (Godot)

@ksvslk
Copy link

ksvslk commented Jul 1, 2020

Can confirm that same issue exists in: v3.2.2.stable.mono.official

System info:
MacBook Pro (Mid 2015)
macOS Catalina 10.15.3

Makes development with above setup nearly impossible. Crashing multiple times a day.
Killing the processes does not help and only system shut down helps. Any workaround or is it 4.0 goal?

@Calinou
Copy link
Member

Calinou commented Jul 1, 2020

Any workaround or is it 4.0 goal?

We don't know why the issue is occurring, so it may take a while to be fixed. In the meantime, try using a non-Mono-enabled version of Godot.

@ksvslk
Copy link

ksvslk commented Jul 1, 2020

Any workaround or is it 4.0 goal?

We don't know why the issue is occurring, so it may take a while to be fixed. In the meantime, try using a non-Mono-enabled version of Godot.

I worked with non-Mono about 4 months but decided to go with Mono instead. I have not found any other issues with it but this. Maybe I will try to dual-boot and use Linux instead. Thanks for the update!

@akien-mga akien-mga added the bug label Jul 1, 2020
@akien-mga akien-mga changed the title MacOs crash when press play button to build the game macOS crash when press play button to build the game [Mono] Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants