stretchly
stretchly copied to clipboard
Hangs on resume from sleep
Prerequisites
- [X] I'm using latest version: v0.21.0
- [X] I've checked Known issues
Description
Sometimes, after the system resumes from sleep, the Stretchly application fails to resume. The system tray icon cannot be interacted with and breaks do not trigger. Task Manager must be used to terminate the application and then it must be relaunched.
Operating system: Windows 10 Pro x64 1909
Steps to Reproduce
- Sleep system
- Resume from sleep
Expected behavior: Stretchly system tray icon will display a context menu on right-click and breaks occur according to schedule
Actual behavior: Stretchly system tray icon does not respond and breaks do not occur
Reproduces how often: 10-20% of the time
hi @Quitch and thanks for the report. What is the OS?
Can you check what's the RAM/Processor usage when this happens? I have seen stretchly being kinda slow to response when my Linux is overloaded.
Is task manager showing anything helpful?
Both CPU and RAM usage are normal, and no other applications are displaying unusual behaviour. I am using ~8GB RAM of my 32GB available.
OS is Windows 10 Pro x64 1909
When I am attempting to interact with the icon is usually a significant period after resume, this will be when I've noticed no breaks have triggered in a while.
I don't have a windows machine but I will try to repro in virtualbox. Will also try search in electron issues
I also have Stretchly crash on resume after hibernate on Ubuntu 20.04/22.04. If memory serves it only did this with the snap version on 20.04 but also does it with a manually installed (deb) on 22.04.
@AntonOfTheWoods any error messages or messages in log?
@hovancik , nothing suspicious, and it just happened...
...
[2022-07-22 20:31:18.798] [info] Stretchly: resuming breaks after idle time
[2022-07-22 20:36:35.111] [info] Stretchly: pausing breaks because of idle time
<-- crashed here
[2022-07-22 20:52:38.214] [info] Stretchly: initializing...
...
And actually there wasn't a resume here either. I'll turn off the pausing breaks on idle. Maybe it was that that was different on 20.04 that meant it stopped doing it with the deb.
It makes no difference. It always disappears when coming back from a systemctl hibernate
.
I'm trying to download the ubuntu virtualbox machine, but looks like it does not support hibernmation. Same for Windows :(
If there is any kind of extra logging we can add to electron that could be put in, I'd be more than happy to run a dev version to get to the bottom of this... I've never used electron so wouldn't know where to start.
maybe try running gdb stretchly
?
Hi, this is pretty old issue with v0.21.0 so I will close this. If it still persists, please open a new isssue so we can get up to date details.