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

Mockoon on Apple Silicon M1 quite unexpectedly #837

Closed
blackat opened this issue Oct 19, 2022 · 14 comments
Closed

Mockoon on Apple Silicon M1 quite unexpectedly #837

blackat opened this issue Oct 19, 2022 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@blackat
Copy link

blackat commented Oct 19, 2022

Hello,
I have spent a bit of time to test the app, I have tried the Universal, the Silicon and and the brew installation but the application quite unexpectedly as soon as I start it, I am using the latest version 1.21.0 and MacOS Monterey version 12.4.

Do you have any suggestion?

@255kb
Copy link
Member

255kb commented Oct 19, 2022

Hi,

Have you tried with the previous version? https://github.com/mockoon/mockoon/releases/tag/v1.20.0
Can you check the logs also to see if there is any crash?
Thank you

@255kb 255kb added bug Something isn't working need feedback Feedback from the requester/community is needed labels Oct 19, 2022
@ghost
Copy link

ghost commented Oct 20, 2022

I am having the same crash experience with 1.21.0 on M1 with Ventura RC, I installed 1.20.0 works fine.

Did the same tests as the op, universal and silicon on M1, downloaded from here and from the web, the app never runs, crashes immediately.

I tested on Intel Ventura works fine 1.21.0.

@mr-rohankumar
Copy link

mr-rohankumar commented Oct 20, 2022

I am having the same issue as well. Mockoon v1.20.0 works fine for me. Nothing is written to Mockoon app logs.

Mockoon 1.21.1 Apple Crash Report.txt

@kajweb
Copy link

kajweb commented Oct 20, 2022

I am having the same issue as well.

Mockoon v1.20.0 works fine for me.

Nothing is written to Mockoon app logs.

System:OSX 12.6

@255kb
Copy link
Member

255kb commented Oct 20, 2022

This may be related to this issue:
electron/electron#35355
I will rebuild with the recommended fix and let you try the new version

@255kb 255kb removed the need feedback Feedback from the requester/community is needed label Oct 20, 2022
@255kb
Copy link
Member

255kb commented Oct 20, 2022

I updated the binaries with a fix:
https://github.com/mockoon/mockoon/releases/tag/v1.21.0
Could you please retry?

/!\ Brew is not updated yet.

@255kb 255kb self-assigned this Oct 20, 2022
@kajweb
Copy link

kajweb commented Oct 20, 2022

it works at OSX 12.6(M1).
By the way, why is exiting the program so slow, not just this version。

@ghost
Copy link

ghost commented Oct 20, 2022

I updated the binaries with a fix: https://github.com/mockoon/mockoon/releases/tag/v1.21.0 Could you please retry?

/!\ Brew is not updated yet.

It works on Ventura M1.

What I have noticed is that the Exit (Quit) from the Menu doesn't actually quit the apps, it stays running, I have to go to the dock, right mouse button, then quit or from Activity Monitor

@ghost
Copy link

ghost commented Oct 20, 2022

it works at OSX 12.6(M1).
By the way, why is exiting the program so slow, not just this version。

Same problem here, in my case didn't exist after waiting 30 seconds, how long it takes to quit on your case?

@255kb
Copy link
Member

255kb commented Oct 20, 2022

Glad it works again.

Concerning closing the app, keeping the app in the dock is/was the recommended way in Electron's documentation.
If you think this behavior should be changed you can discuss this in a new discussion. I am also not a mac user, so, I just followed blindly the recommendation.

Concerning the app taking some time to close: it's waiting for some tasks to finish (data saving, telemetry, etc.) before closing. But it shouldn't take more than a second or two. Anyway, you shouldn't even notice this as the window is closed immediately.
If it's taking more than a couple of seconds, or if the window stays open, it may be a bug and I would gladly look into it if you can provide a way to reproduce this.

@255kb 255kb closed this as completed Oct 20, 2022
@ghost
Copy link

ghost commented Oct 20, 2022

Glad it works again.

Concerning closing the app, keeping the app in the dock is/was the recommended way in Electron's documentation. If you think this behavior should be changed you can discuss this in a new discussion. I am also not a mac user, so, I just followed blindly the recommendation.

Concerning the app taking some time to close: it's waiting for some tasks to finish (data saving, telemetry, etc.) before closing. But it shouldn't take more than a second or two. Anyway, you shouldn't even notice this as the window is closed immediately. If it's taking more than a couple of seconds, or if the window stays open, it may be a bug and I would gladly look into it if you can provide a way to reproduce this.

I have the app in the dock, I noticed it didn't close because it will have the dot under the app icon, indicating the app is running, even after a few minutes it will still be running, if I go to Activity Monitor it will be there as well:

image

If I quit it from the Dock it works immediately:

image

Command + Q or from the Menu bar doesn't work at all:

image

@255kb
Copy link
Member

255kb commented Oct 20, 2022

@idevelop-app Indeed, it seems odd.
Could you please open an new issue, so we can properly track this?
Thank you.

@ghost
Copy link

ghost commented Oct 20, 2022

@idevelop-app Indeed, it seems odd.
Could you please open an new issue, so we can properly track this?
Thank you.

Done, thank you

@blackat
Copy link
Author

blackat commented Oct 20, 2022

Thanks a lot, it works now 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants