sidekick icon indicating copy to clipboard operation
sidekick copied to clipboard

Installing a new flutter version completely crashes mac

Open simunic-cz opened this issue 3 years ago • 8 comments

I've installed the Sidekick app in hopes of having FVM GUI, but something seems to be wrong. I have tried twice to install a flutter version using Sidekick and both times my mac completely crashed - I got a black screen: "Your computer restarted because of a problem. Press a key or wait a few seconds to continue starting up." The first time a tried installing flutter 'stable' second time a tried installing version 2.5.3. Despite crashing both time, the first time flutter version was actually installed, the second version (v2.5.3) was not installed at all. Interesting thing is, that just FVM alone works perfectly fine - I'm able to install and use any version I like - via CLI.

Versions: FVM: 2.2.6 Sidekick: 0.2.0 Osx: 11.6.1 (Big Sur)

simunic-cz avatar Jan 22 '22 16:01 simunic-cz

Hey @reoretfacio thanks for reporting this! Sorry about the crashes.

Do you have any logs on what caused the system to crash?

It should look something like: image

Thanks!

aguilaair avatar Jan 22 '22 16:01 aguilaair

Alternatively, simply launch the Console app, then in the sidebar, select the System Reports item, and then select the Kernel Panic item (the actual name will include the terms kernel and panic, but it will also have the date and the name of your Mac in the title).

Source: https://eshop.macsales.com/blog/39112-rocket-yard-guide-understanding-troubleshooting-kernel-panics/

aguilaair avatar Jan 22 '22 16:01 aguilaair

@aguilaair No problem, as long as software will exist, bugs will too 😄 Sorry for the delay - I've been waiting until I'll have time to intentionally crash my laptop - which I did 😄 and here is the report from system alert (after restart): https://gist.github.com/reoretfacio/9d81ef917c3fbf4f9ac33f3caf1a1282 (if you'd like, I can add also more verbose report from Console)

After looking at the report, I don't think it's a general issue on all macs, but rather some weird combo with some other software (coreaudiod?) specifically on my machine. However it's definitely somehow linked to Sidekick, because it crashes exclusively during latest stages of installing a new flutter version.

simunic-cz avatar Jan 24 '22 19:01 simunic-cz

Thanks for the report, I'll take a look at it ASAP, don't worry about the delay.

as long as software will exist, bugs will too

Sure, but they should not cause a whole system crash 🤣

aguilaair avatar Jan 24 '22 19:01 aguilaair

@reoretfacio Thanks for the report. Anyway, you can try building the app and running to see if you have the issue, and maybe have better debug logs?

leoafarias avatar Jan 24 '22 19:01 leoafarias

@leoafarias I've actually installed Sidekick with installer from latest .dmg release, but as soon as I'll have a few minutes, I'll try to build from source and let you know here 😊

(Btw. this is purely a hunch, but I have a Boom 3D installed, which is regularly eating up a ton of system resources, so I gather it might be somehow related (considering the coreaudiod) - idk, maybe it's all together (+ docker, ton of vscode and chrome instances, slack, mysql, mongo, a couple of BE&FE instances, etc.) just a bit too much for my machine. Since I'm actually picking up tomorrow a new M1, I'll also try to replicate the issue on the new killer machine 😄)

simunic-cz avatar Jan 24 '22 19:01 simunic-cz

There has been some process things fixed since last release which we will be deploying soon, I wonder if it has fixed this issue also.

Thanks

leoafarias avatar Jan 24 '22 19:01 leoafarias

Hey @reoretfacio, would you mind trying this build? It contains the binaries for the latest commit so you don't have to build it from scratch.

sidekick-macos-dev.dmg.zip

aguilaair avatar Mar 01 '22 20:03 aguilaair

I am closing this issue as it is stale

aguilaair avatar Sep 27 '22 21:09 aguilaair