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

Crash on sleep #1969

Open
gorans opened this issue May 27, 2024 · 74 comments
Open

Crash on sleep #1969

gorans opened this issue May 27, 2024 · 74 comments
Labels
bug Something isn't working

Comments

@gorans
Copy link

gorans commented May 27, 2024

I noticed couple of times that Stats is no longer active after waking from (deep) sleep. Checked logs and there were several crash logs that I think correspondent with entering sleep. I attached the last one.

MacOS 12.7.5
Stats 2.10.15
stats crash log.txt

@exelban
Copy link
Owner

exelban commented May 27, 2024

It's a bug in macOS. You need to disable monospaced font or static size for the Stack widget if it's enabled.

@gorans
Copy link
Author

gorans commented May 27, 2024

I don't have Stack widget. I also don't have monospaced font or static width enabled in any widget.
I had combined modules enabled. I disabled it now and will monitor if anything changes.

@exelban
Copy link
Owner

exelban commented May 27, 2024

please share what the widgets look like. Because the crash report says that it crashes when trying to show that widget.

@gorans
Copy link
Author

gorans commented May 27, 2024

Here are all widgets that I use:
Screenshot 2024-05-27 at 17 49 24
Screenshot 2024-05-27 at 17 49 54
Screenshot 2024-05-27 at 17 50 28
Screenshot 2024-05-27 at 17 49 45
Screenshot 2024-05-27 at 17 50 09

@exelban
Copy link
Owner

exelban commented May 27, 2024

thx, it's a sensors widget. Please share the setting that you have for that widget in the Sensors module.

@gorans
Copy link
Author

gorans commented May 27, 2024

There You go:
Screenshot 2024-05-27 at 20 27 12

@exelban
Copy link
Owner

exelban commented May 28, 2024

hmm, interesting. Will check that.

@gorans
Copy link
Author

gorans commented May 28, 2024

Just for test, I turned "Combined modules" back on and had another crash.

@exelban
Copy link
Owner

exelban commented May 28, 2024

So if combined modules is off there are no crashes?

@gorans
Copy link
Author

gorans commented May 28, 2024

It seems so.. :)

@exelban
Copy link
Owner

exelban commented May 28, 2024

hmm, strange

@ryadom
Copy link

ryadom commented May 28, 2024

Same for me. I also using combined module.

Stats-2024-05-27-153617.txt

@svkirillov
Copy link

I have the same issue. I use GPU, CPU, RAM, Sensors (stack, defaults), and Network modules. Modules are combined, details are not combined.

stats-crash-log.txt

@exelban
Copy link
Owner

exelban commented Jun 3, 2024

Please try this build

Stats.dmg.zip

@exelban exelban added the bug Something isn't working label Jun 3, 2024
@gorans
Copy link
Author

gorans commented Jun 3, 2024

I don't know what was this crash, but report attached.
I just put machine to sleep and wake it up and Stats still running with posted build.

crash.txt.zip

@exelban
Copy link
Owner

exelban commented Jun 3, 2024

thx. Please try this one:

Stats.dmg.zip

@gorans
Copy link
Author

gorans commented Jun 3, 2024

So far so good. :)

@exelban
Copy link
Owner

exelban commented Jun 3, 2024

ok, please try this one:

Stats.dmg.zip

@gorans
Copy link
Author

gorans commented Jun 5, 2024

No crashes since v2.10.15, latest from here.
Thanks!

@exelban
Copy link
Owner

exelban commented Jun 5, 2024

hmm, interesting.

@exelban
Copy link
Owner

exelban commented Jun 5, 2024

try this one please:

Stats.dmg.zip

@kuba2kopec
Copy link

I've recently noticed the same issue. In my case, Stats was installed via homebrew, and today, after I found this thread, I overwrote it with the build you sent above. I'll monitor the situation and let you know if it crashes again :)

@gorans
Copy link
Author

gorans commented Jun 8, 2024

I had another crash. Report attached.

stats_crash.txt.zip

@exelban
Copy link
Owner

exelban commented Jun 8, 2024

hi. thx.
Please download the release version of the Stats, and enable the static width option in the sensors widget.

@gorans
Copy link
Author

gorans commented Jun 9, 2024

Crash with release version.
crash.txt.zip

@exelban
Copy link
Owner

exelban commented Jun 9, 2024

do you have enabled static width?

@gorans
Copy link
Author

gorans commented Jun 9, 2024

Yes.
Screenshot 2024-06-10 at 03 08 41

@exelban
Copy link
Owner

exelban commented Jun 10, 2024

could you please run the latest release?
and share the report, I do not have links for the build you shared crash from(

@gorans
Copy link
Author

gorans commented Jun 11, 2024

Another crash with newest version:
crash.txt.zip

@exelban
Copy link
Owner

exelban commented Jul 6, 2024

@kuba2kopec thx for the feedback

@gorans
Copy link
Author

gorans commented Jul 6, 2024

I had no crashes with 2.10.18. Just updated to .19.
I'm using CPU, RAM, sensors and network widgets, combined.

I consider this bug solved. Thanks. :)

Best regards.

@kuba2kopec
Copy link

I just added the sensors widget in 2.11.1. That means I'm back to my original setup of widgets.

Hope @gorans is right saying that the bug is solved. If I have another crash I'll of course let you know ;)

@ryadom
Copy link

ryadom commented Jul 8, 2024

I've added all widgets (except bluetooth and clock) a few days ago. No more crashes. It seems resolved for me completely. Version: 2.10.17
Thank you!

@exelban
Copy link
Owner

exelban commented Jul 8, 2024

so only confirmation from @gorans left

@gorans
Copy link
Author

gorans commented Jul 8, 2024

I had no crashes with 2.10.18. Just updated to .19. I'm using CPU, RAM, sensors and network widgets, combined.

I consider this bug solved. Thanks. :)

I suppose You missed it. :)

Best regards.

@kuba2kopec
Copy link

For me the sensors widget was added just 4 hours ago, so I wouldn't consider it confirmed yet, but I hope I won't have another crash since all of you are saying it shouldn't be an issue anymore

@exelban
Copy link
Owner

exelban commented Jul 8, 2024

@gorans oh, yeap. Missed that, thx.
@kuba2kopec yeap, ping me in case it will repeat.

@exelban exelban closed this as completed Jul 8, 2024
@kuba2kopec
Copy link

@exelban literally had another crash after writing the above message :/

I saw it now because I was AFK

Stats-2024-07-08-204103.txt

@kuba2kopec
Copy link

@exelban And another one :(

Seems like the issue isn't fixed

Stats-2024-07-09-160817.txt

@exelban exelban reopened this Jul 9, 2024
@exelban
Copy link
Owner

exelban commented Jul 9, 2024

@kuba2kopec it's not the same problem as it was originally

@kuba2kopec
Copy link

Oh, okay. So what seems to be the issue now and can I help to solve it?

@kuba2kopec
Copy link

Now the app seems to be crashing way more often, regardless of the enabled modules. I've had 5 crashes in the last 2 days. Do you want me to submit all of the reports?

@exelban
Copy link
Owner

exelban commented Jul 13, 2024

for now let's keep this issue, so please post the crash reports here if there are different than first one

@kuba2kopec
Copy link

Sure, I don't really know what differences to look for in the reports, so here are the reports that I had since last week.

reports_11_12_07.zip

I also disabled everything except CPU and will enable them one-by-one to see if maybe I can pinpoint the issue to one module

@gorans
Copy link
Author

gorans commented Jul 16, 2024

I'm on vacation and I only accessed my machine remotely for the last 16 days. I had one crash two days ago, report attached.
stats crash.txt

@gorans
Copy link
Author

gorans commented Jul 17, 2024

Another...
crash16072024.txt

@exelban
Copy link
Owner

exelban commented Jul 17, 2024

@gorans thx, I can debug this one because it's from a new release)

@exelban
Copy link
Owner

exelban commented Jul 17, 2024

@gorans Do you have enabled sensors module with one sensor enabled?

@gorans
Copy link
Author

gorans commented Jul 17, 2024

Yes, only CPU diode enabled in module.

Screenshot 2024-07-17 at 22 17 41

@exelban
Copy link
Owner

exelban commented Jul 17, 2024

please change the view mode to 2 rows, or add another sensor

@gorans
Copy link
Author

gorans commented Jul 18, 2024

Another crash this morning (with two rows).
Probably unrelated: 10 minutes after this I had WindowServer crash. Quick google search points on the "Apps that modify the menu bar, like Hidden Bar".
crash18072024.txt

@gorans
Copy link
Author

gorans commented Jul 19, 2024

Another one. Do You need more?
crash19072024.txt

@exelban
Copy link
Owner

exelban commented Jul 19, 2024

nope. I know where is the problem. But for now I don't have any solution.

@kuba2kopec
Copy link

Seems to no longer be an issue for me, running 2.11.3

@kuba2kopec
Copy link

Update: crashed again
Stats-2024-07-26-214232.ips.zip

@KevinWu2017
Copy link

stats.txt
Crash with 2.11.3, with only CPU, GPU, Memory and Network enabled, modules are combined.

@kuba2kopec
Copy link

I had another crash with 2.11.4. This time the computer wasn't entering sleep mode - the crash happened during normal use.
Stats-2024-07-29-230816.ips.zip

@exelban since this issue is named "Crash on sleep", do you want me to create a new one for this?

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
Status: Done
Development

No branches or pull requests

6 participants