stretchly icon indicating copy to clipboard operation
stretchly copied to clipboard

[Bug]: Stretchly crashes in Ubuntu 20.04/Gnome

Open niclasborlin opened this issue 1 year ago • 3 comments

Version

  • [X] I'm using version 1.11.0

Known issues

  • [X] I've checked Known issues

Existing issues

  • [X] I've checked Existing issues

What operating system are you using?

Linux

Operating System Version

Ubuntu 20.04, Linux earth 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Reproduction steps

  1. Start stretchly
  2. Work, leave computer
  3. Come back, stretchly has crashed ... Reproduces how often: 100% (sooner or later)

Expected Behavior

no crash

Actual Behavior

crash after some time

Relevant log output

First half is from log file, second part is printout to terminal.

LOG:

[2022-08-25 15:59:07.603] [info]  Stretchly: initializing...
[2022-08-25 15:59:07.610] [info]  Stretchly: loading preferences
[2022-08-25 15:59:07.615] [info]  Stretchly: starting Idle time monitoring
[2022-08-25 15:59:07.615] [info]  Stretchly: starting Do Not Disturb monitoring
[2022-08-25 15:59:07.656] [info]  Stretchly: loading default break ideas
[2022-08-25 15:59:07.675] [info]  Stretchly: loading default break ideas
[2022-08-25 15:59:08.995] [info]  Stretchly: checking for new version (local: v1.11.0, remote: 1.11.0)
[2022-08-25 16:08:57.618] [info]  Stretchly: showing Mini Break notification
[2022-08-25 16:09:07.815] [info]  Stretchly: showing window 1 of 3
[2022-08-25 16:09:07.816] [info]  Stretchly: starting Mini Break
[2022-08-25 16:09:07.866] [info]  Stretchly: showing window 2 of 3
[2022-08-25 16:09:07.886] [info]  Stretchly: showing window 3 of 3
[2022-08-25 16:09:27.819] [info]  Stretchly: finishing Mini Break (shouldPlanNext: true)
[2022-08-25 16:19:17.821] [info]  Stretchly: showing Mini Break notification
[2022-08-25 16:19:28.006] [info]  Stretchly: showing window 1 of 3
[2022-08-25 16:19:28.008] [info]  Stretchly: starting Mini Break
[2022-08-25 16:19:28.027] [info]  Stretchly: showing window 2 of 3
[2022-08-25 16:19:28.059] [info]  Stretchly: showing window 3 of 3
[2022-08-25 16:19:48.011] [info]  Stretchly: finishing Mini Break (shouldPlanNext: true)
[2022-08-25 16:29:18.013] [info]  Stretchly: showing Long Break notification
...
[2022-08-26 11:41:25.593] [info]  Stretchly: finishing Mini Break (shouldPlanNext: true)
[2022-08-26 11:50:55.596] [info]  Stretchly: showing Long Break notification
[2022-08-26 11:51:25.795] [info]  Stretchly: showing window 1 of 3
[2022-08-26 11:51:25.796] [info]  Stretchly: starting Long Break
[2022-08-26 11:51:25.836] [info]  Stretchly: showing window 2 of 3
[2022-08-26 11:51:25.838] [info]  Stretchly: showing window 3 of 3
[2022-08-26 11:51:29.222] [info]  Stretchly: postponing Long Break
[2022-08-26 11:55:59.217] [info]  Stretchly: showing Long Break notification
[2022-08-26 11:56:29.430] [info]  Stretchly: showing window 1 of 3
[2022-08-26 11:56:29.431] [info]  Stretchly: starting Long Break
[2022-08-26 11:56:29.434] [info]  Stretchly: showing window 2 of 3
[2022-08-26 11:56:29.481] [info]  Stretchly: showing window 3 of 3
[2022-08-26 11:56:33.416] [info]  Stretchly: finishing Long Break (shouldPlanNext: true)
[2022-08-26 12:03:40.580] [info]  Stretchly: pausing breaks because of idle time

TERMINAL OUTPUT:

(base) niclas@earth:~$ stretchly 

(stretchly:665338): Gtk-WARNING **: 15:59:07.574: Theme parsing error: gtk.css:3536:25: 'font-feature-settings' is not a valid property name
15:59:07.603 › Stretchly: initializing...
15:59:07.610 › Stretchly: loading preferences
15:59:07.615 › Stretchly: starting Idle time monitoring
15:59:07.615 › Stretchly: starting Do Not Disturb monitoring
/usr/share/libdrm/amdgpu.ids: No such file or directory
15:59:07.656 › Stretchly: loading default break ideas
15:59:07.675 › Stretchly: loading default break ideas
[665338:0825/155907.718317:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.716" (uid=1106 pid=665338 comm="/snap/stretchly/17/stretchly --no-sandbox --enable" label="snap.stretchly.stretchly (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1612 comm="/lib/systemd/systemd-logind " label="unconfined")
16:08:57.618 › Stretchly: showing Mini Break notification
16:09:07.815 › Stretchly: showing window 1 of 3
16:09:07.816 › Stretchly: starting Mini Break
16:09:07.866 › Stretchly: showing window 2 of 3
16:09:07.886 › Stretchly: showing window 3 of 3
16:09:27.819 › Stretchly: finishing Mini Break (shouldPlanNext: true)
[665338:0825/160927.867497:ERROR:bus.cc(561)] Failed to get the ownership of org.mpris.MediaPlayer2.chromium.instance665338: Connection ":1.1056" is not allowed to own the service "org.mpris.MediaPlayer2.chromium.instance665338" due to AppArmor policy
[665338:0825/160928.194612:ERROR:object_proxy.cc(623)] Failed to call method: org.gnome.SessionManager.Inhibit: object_path= /org/gnome/SessionManager: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1057" (uid=1106 pid=665338 comm="/snap/stretchly/17/stretchly --no-sandbox --enable" label="snap.stretchly.stretchly (enforce)") interface="org.gnome.SessionManager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.gnome.SessionManager" (uid=1106 pid=3258 comm="/usr/libexec/gnome-session-binary --systemd-servic" label="unconfined")
[665338:0825/160928.194647:ERROR:power_save_blocker_linux.cc(338)] No response to Inhibit() request!
16:19:17.821 › Stretchly: showing Mini Break notification
16:19:28.006 › Stretchly: showing window 1 of 3
16:19:28.008 › Stretchly: starting Mini Break
16:19:28.027 › Stretchly: showing window 2 of 3
16:19:28.059 › Stretchly: showing window 3 of 3
16:19:48.011 › Stretchly: finishing Mini Break (shouldPlanNext: true)
[665338:0825/161948.354262:ERROR:object_proxy.cc(623)] Failed to call method: org.gnome.SessionManager.Inhibit: object_path= /org/gnome/SessionManager: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1068" (uid=1106 pid=665338 comm="/snap/stretchly/17/stretchly --no-sandbox --enable" label="snap.stretchly.stretchly (enforce)") interface="org.gnome.SessionManager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.gnome.SessionManager" (uid=1106 pid=3258 comm="/usr/libexec/gnome-session-binary --systemd-servic" label="unconfined")
[665338:0825/161948.354288:ERROR:power_save_blocker_linux.cc(338)] No response to Inhibit() request!
16:29:18.013 › Stretchly: showing Long Break notification
...
11:41:25.593 › Stretchly: finishing Mini Break (shouldPlanNext: true)
[665338:0826/114125.934257:ERROR:object_proxy.cc(623)] Failed to call method: org.gnome.SessionManager.Inhibit: object_path= /org/gnome/SessionManager: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1293" (uid=1106 pid=665338 comm="/snap/stretchly/17/stretchly --no-sandbox --enable" label="snap.stretchly.stretchly (enforce)") interface="org.gnome.SessionManager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.gnome.SessionManager" (uid=1106 pid=3258 comm="/usr/libexec/gnome-session-binary --systemd-servic" label="unconfined")
[665338:0826/114125.934281:ERROR:power_save_blocker_linux.cc(338)] No response to Inhibit() request!
11:50:55.596 › Stretchly: showing Long Break notification
11:51:25.795 › Stretchly: showing window 1 of 3
11:51:25.796 › Stretchly: starting Long Break
11:51:25.836 › Stretchly: showing window 2 of 3
11:51:25.838 › Stretchly: showing window 3 of 3
11:51:29.222 › Stretchly: postponing Long Break
11:55:59.217 › Stretchly: showing Long Break notification
11:56:29.430 › Stretchly: showing window 1 of 3
11:56:29.431 › Stretchly: starting Long Break
11:56:29.434 › Stretchly: showing window 2 of 3
11:56:29.481 › Stretchly: showing window 3 of 3
11:56:33.416 › Stretchly: finishing Long Break (shouldPlanNext: true)
12:03:40.580 › Stretchly: pausing breaks because of idle time
Segmentation fault (core dumped)

Preferences

"microbreakDuration": 20000,
	"microbreakInterval": 600000,
	"breakDuration": 300000,
	"breakInterval": 2,
	"breakNotification": true,
	"microbreakNotification": true,
	"breakNotificationInterval": 30000,
	"microbreakNotificationInterval": 10000,
	"microbreak": true,
	"break": true,
	"microbreakStrictMode": false,
	"breakStrictMode": false,
	"morningHour": 6,
	"microbreakPostpone": true,
	"breakPostpone": true,
	"microbreakPostponeTime": 120000,
	"breakPostponeTime": 300000,
	"microbreakPostponesLimit": 1,
	"microbreakPostponableDurationPercent": 30,
	"breakPostponesLimit": 1,
	"breakPostponableDurationPercent": 30,
	"mainColor": "#478484",
	"transparentMode": false,
	"opacity": 0.9,
	"audio": "crystal-glass",
	"volume": 1,
	"fullscreen": true,
	"ideas": true,
	"naturalBreaks": true,
	"naturalBreaksInactivityResetTime": 300000,
	"allScreens": true,
	"useIdeasFromSettings": false,
	"language": "en",
	"notifyNewVersion": true,
	"isFirstRun": false,
	"posLatitude": 0,
	"posLongitude": 0,
	"useMonochromeTrayIcon": false,
	"useMonochromeInvertedTrayIcon": false,
	"silentNotifications": false,
	"monitorDnd": true,
	"microbreakStartSoundPlaying": false,
	"breakStartSoundPlaying": false,
	"themeSource": "system",
	"endBreakShortcut": "CmdOrCtrl+X",
	"breakWindowWidth": 0.85,
	"breakWindowHeight": 0.85,
	"checkNewVersion": true,
	"breakIdeas": [
		{
			"data": [
				"Not alone",
				"Do you find it hard to take a break alone? Try to do it with a co-worker. Aside from making it easier to stick to breaks, you will have a chance to get to know them better. Taking breaks together increases productivity."
			],
			"enabled": true
		},
		{
			"data": [
				"Step away",
				"Do you ever notice how your brain can figure things out by itself? All it takes is to step away from the computer and take a break to think about something totally unrelated."
			],
			"enabled": true
		},
		{
			"data": [
				"Microbreaks",
				"Rest is a key component in ensuring the performance of the musculoskeletal system. Frequent breaks can decrease the duration of a task and help lower the exposure to ergonomic injury risk."
			],
			"enabled": true
		},
		{
			"data": [
				"Meditation",
				"Research studies suggest that mindfulness-based exercises help decrease anxiety, depression, stress, and pain, and help improve general health, mental health, and quality of life. Not sure how to start? There are numerous apps to help you out."
			],
			"enabled": true
		},
		{
			"data": [
				"Blink",
				"Looking at screens for a long time causes you to blink less, thus exposing your eyes to the air. Blink rapidly for a few seconds to refresh the tear film and clear dust from the eye surface."
			],
			"enabled": true
		},
		{
			"data": [
				"Ergonomics",
				"Improper height and angle of the keyboard, mouse, monitor or working surface can cause health problems. Take some time to read about desk ergonomics."
			],
			"enabled": true
		},
		{
			"data": [
				"Move",
				"There are a lot of ways you can exercise within your office. Try marching in place or doing desk push-ups."
			],
			"enabled": true
		},
		{
			"data": [
				"Change",
				"Do you have a stability ball or standing work desk? Consider replacing your desk chair with them for a while."
			],
			"enabled": true
		},
		{
			"data": [
				"Notice",
				"Are you daydreaming or having trouble focusing? It is a sign that you need to take a break."
			],
			"enabled": true
		},
		{
			"data": [
				"Tech",
				"How about taking a no-tech walk?"
			],
			"enabled": true
		},
		{
			"data": [
				"Metabolism",
				"Emerging research shows that sitting for long periods of time contributes to risk of metabolic syndrome, heart attack and stroke risk and overall death risk, among others. Taking regular walking breaks can help your circulation, working to counteract some of those problems."
			],
			"enabled": true
		},
		{
			"data": [
				"Active Meetings",
				"How about moving meetings from the conference room to the concourse? Walking not only burns calories but it may even foster a sense of collaboration."
			],
			"enabled": true
		},
		{
			"data": [
				"Fruit",
				"Take your time and eat some fruit. Slowly. Notice the flavor, the texture, the freshness."
			],
			"enabled": true
		},
		{
			"data": [
				"Bathrooms",
				"Walk to the farthest bathroom in the worksite facility when going to the restroom."
			],
			"enabled": true
		},
		{
			"data": [
				"Coffee break",
				"Going on coffee break? Consider doing a 5-minute walk every time you go for one."
			],
			"enabled": true
		},
		{
			"data": [
				"Colleagues",
				"Do not email or message office colleagues, walk to their desks to communicate with them."
			],
			"enabled": true
		},
		{
			"data": [
				"Learning",
				"In a study of healthy volunteers, NIH researchers found that taking short breaks, early and often, may help our brains learn new skills."
			],
			"enabled": true
		},
		{
			"data": [
				"Exercise",
				"Evidence suggests small amounts of regular exercise can bring dramatic health benefits, including measurably reducing stress."
			],
			"enabled": true
		},
		{
			"data": [
				"Repeat",
				"Have you found your stretch-ly-routine? Do not forget to repeat it for more than once to better fight effects of prolonged sitting."
			],
			"enabled": true
		},
		{
			"data": [
				"Wrist and forearm",
				"Extend your arms with the palms facing towards you, then slowly rotate the hands four times clockwise, then four times counter-clockwise."
			],
			"enabled": true
		},
		{
			"data": [
				"Back stretching",
				"Join your hands behind your head, then lift them together up above your head ending with your palms facing upward."
			],
			"enabled": true
		},
		{
			"data": [
				"Mobilize",
				"For every thirty minutes of stagnation, you should have at least one minute of stimulation."
			],
			"enabled": true
		},
		{
			"data": [
				"7 Minute Workout",
				"This workout packs in a full-body exercise routine in a fraction of the time. But as with any exercise, be careful. There are numerous apps to get you started."
			],
			"enabled": true
		},
		{
			"data": [
				"Pulse",
				" Raise your pulse rate to 120 beats per minute for 20 straight minutes four or five times a week doing anything you enjoy. Regularly raising your heart rate results in improved cardiovascular health."
			],
			"enabled": true
		},
		{
			"data": [
				"Take the stairs ",
				"Studies have shown that stair climbing, which is considered vigorous-intensity physical activity, burns more calories per minute than jogging."
			],
			"enabled": true
		},
		{
			"data": [
				"Make art",
				"Art therapy is known to have great mental health benefits, especially when it comes to stress management. How about writing a quick poem, taking a picture or painting something small?"
			],
			"enabled": true
		},
		{
			"data": [
				"Declutter",
				"A clean space helps your focus at work and is often linked to positive emotions like happiness."
			],
			"enabled": true
		},
		{
			"data": [
				"Lunch outside",
				"Nature is linked to positive emotions and decreased stress and anxiety. Whenever possible, try to take your daily lunch break outside, surrounded by some greenery."
			],
			"enabled": true
		},
		{
			"data": [
				"Public transport",
				"If you use public transport regularly, you can stand instead of sitting. If it is possible, try to replace as many of your daily trips as possible with walking or cycling."
			],
			"enabled": true
		},
		{
			"data": [
				"Yawning",
				"Yawning can be really helpful, as it produces tears to help moisten and lubricate the eyes."
			],
			"enabled": true
		},
		{
			"data": [
				"Focus change",
				"Hold one finger close to the eye and focus on it. Slowly move the finger away, focus far into the distance and then back to the finger. Bring the finger back and focus on something far away."
			],
			"enabled": true
		},
		{
			"data": [
				"Palming",
				"While seated, brace elbows on the desk and close to the desk edge. Let your weight fall forward and cup hands over eyes. Close your eyes and inhale slowly through nose and hold for few seconds. Continue deep breathing."
			],
			"enabled": true
		},
		{
			"data": [
				"Hand squeezes",
				"Squeeze a pair of balled-up socks or a soft rubber ball, hold for 5 seconds. Repeat whole process few times."
			],
			"enabled": true
		},
		{
			"data": [
				"Slow Breathing",
				"Emerging research suggests potential for use of controlled slow breathing techniques as a means of optimising physiological parameters that appear to be associated with health and longevity."
			],
			"enabled": true
		}
	],
	"microbreakIdeas": [
		{
			"data": "Go grab a glass of water.",
			"enabled": true
		},
		{
			"data": "Slowly look all the way left, then right.",
			"enabled": true
		},
		{
			"data": "Slowly look all the way up, then down.",
			"enabled": true
		},
		{
			"data": "Close your eyes and take few deep breaths.",
			"enabled": true
		},
		{
			"data": "Close your eyes and relax.",
			"enabled": true
		},
		{
			"data": "Stretch your legs.",
			"enabled": true
		},
		{
			"data": "Stretch your arms.",
			"enabled": true
		},
		{
			"data": "Is your sitting posture correct?",
			"enabled": true
		},
		{
			"data": "Slowly turn head to side and hold for 10 seconds.",
			"enabled": true
		},
		{
			"data": "Slowly tilt head to side and hold for 5-10 seconds.",
			"enabled": true
		},
		{
			"data": "Stand from your chair and stretch.",
			"enabled": true
		},
		{
			"data": "Refocus your eyes on an object at least 20 meters away.",
			"enabled": true
		},
		{
			"data": "Take a moment to think about something you appreciate.",
			"enabled": true
		},
		{
			"data": "Take a moment to smile at being alive.",
			"enabled": true
		},
		{
			"data": "A truly ergonomic workstation is one that you regularly push away from.",
			"enabled": true
		},
		{
			"data": "Close your eyes and count your breaths.",
			"enabled": true
		},
		{
			"data": "Close your eyes and name the things you hear.",
			"enabled": true
		},
		{
			"data": "Place your fingertips on your shoulders. Roll your shoulders forward for 10 seconds, then backward.",
			"enabled": true
		},
		{
			"data": "Raise your right arm, stretch it over your head to the left, and hold for 10 seconds. Repeat on the other side.",
			"enabled": true
		},
		{
			"data": "With your right hand, grab each finger of your left hand in turn and squeeze. Repeat on the other side.",
			"enabled": true
		},
		{
			"data": "Stand up and do a lunge. Hold for 10 seconds, then do the other leg.",
			"enabled": true
		},
		{
			"data": "Close your eyes and simply notice whatever arises in current moment, without judgement.",
			"enabled": true
		},
		{
			"data": "Focus every 20 minutes for 20 seconds on an object at 20 feet distance.",
			"enabled": true
		},
		{
			"data": "If you need help, ask for it.",
			"enabled": true
		},
		{
			"data": "Do one thing at a time.",
			"enabled": true
		},
		{
			"data": "Is your attention spent wisely?",
			"enabled": true
		},
		{
			"data": "Change your sitting posture.",
			"enabled": true
		},
		{
			"data": "Expose your eyes to natural light.",
			"enabled": true
		},
		{
			"data": "With your eyes closed, slowly and gently raise your eyes to the ceiling and back down to the floor.",
			"enabled": true
		},
		{
			"data": "With your eyes closed, slowly and gently move your eyes to the left, then slowly to the right.",
			"enabled": true
		},
		{
			"data": "Shake your hands out to get some relief.",
			"enabled": true
		},
		{
			"data": "One at a time, touch the tip of each finger to the tip of your thumb so they make an O-shape.",
			"enabled": true
		},
		{
			"data": "Make a fist and then slide your fingers up until they point toward the ceiling, like you're telling someone to stop.",
			"enabled": true
		},
		{
			"data": "Make a fist and then fan your fingers out and stretch them as far as you can.",
			"enabled": true
		},
		{
			"data": "Sit tall, arms hanging at your sides, and slowly rotate neck in one direction in a large circle.",
			"enabled": true
		},
		{
			"data": "Stand tall and slowly tilt your head toward the shoulder using the same hand until you feel a strech.",
			"enabled": true
		},
		{
			"data": "Stand tall with your arms by your side. Squeeze your shoulder blades together and hold.",
			"enabled": true
		},
		{
			"data": "Stand tall with your arms raised along your shoulders. Move hands slightly behind your back, hold for a second and return.",
			"enabled": true
		}
	],
	"showBreaksAsRegularWindows": false,
	"appExclusions": [],
	"appExclusionsCheckInterval": 1000,
	"pauseForSuspendOrLock": true,
	"pauseBreaksShortcut": "",
	"resumeBreaksShortcut": "",
	"screen": "primary",
	"timeToBreakInTray": false,
	"currentTimeInBreaks": false
}

Additional information

My graphics setup is a three-monitor setup on

0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev ca)

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

niclasborlin avatar Aug 26 '22 14:08 niclasborlin

Ubuntu 20.04.5 LTS

AMD® Ryzen 7 3800x 8-core processor × 16

AMD® Radeon rx 5600 xt

GNOME version 3.36.8

niclasborlin avatar Aug 26 '22 14:08 niclasborlin

Similar behavior is happening for me for:

Ubuntu 22.04.1 LTS with Regolith 2.1

AMD® Ryzen 7 pro 5850u with radeon graphics × 16

AMD® Renoir

GNOME version 42.4

Tested both with .deb package and AppImage.

Update: After below comment I also tested 1.10.0 and Stretchly still crashes.

cedrak avatar Sep 15 '22 06:09 cedrak

Same happening to me for:

  • Fedora Linux 36 (Workstation Edition), 64 bit
  • Intel(R) Core i7-8550U x 8
  • Mesa Intel(R) UHD Graphics 620 (KBL GT2)
  • Gnome Version 42.4
  • Wayland Windowing System

I noticed the pattern since upgrading Stretchly to v. 1.11.0.

stefan@fedora ~ $ stretchly
09:58:12.888 › Stretchly: initializing...
09:58:12.900 › Stretchly: loading preferences
09:58:12.911 › Stretchly: starting Idle time monitoring
09:58:12.912 › Stretchly: starting Do Not Disturb monitoring
09:58:12.959 › Stretchly: loading default break ideas
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
09:58:12.989 › Stretchly: loading default break ideas
10:13:02.916 › Stretchly: showing Mini Break notification
10:13:13.159 › Stretchly: showing window 1 of 2
10:13:13.160 › Stretchly: starting Mini Break
10:13:13.180 › Stretchly: showing window 2 of 2
10:13:33.161 › Stretchly: finishing Mini Break (shouldPlanNext: true)
10:13:50.946 › Stretchly: arguments received from second instance: 
10:13:50.947 › Stretchly: command 'help' executed in second instance, dropped in main instance
10:28:13.164 › Stretchly: showing Long Break notification
10:28:33.425 › Stretchly: showing window 1 of 2
10:28:33.427 › Stretchly: starting Long Break
10:28:33.437 › Stretchly: showing window 2 of 2
10:32:28.195 › Stretchly: finishing Long Break (shouldPlanNext: true)

Update: Problem persists after downgrading to 1.10.0.

stefanedwards avatar Sep 15 '22 08:09 stefanedwards

A similar thing is happening to me after I log back in after putting my computer to sleep. Ubuntu 20.4

Citvej avatar Sep 28 '22 09:09 Citvej

could you guys see this issue, might be the same: https://github.com/hovancik/stretchly/issues/633#issuecomment-687633349

trying with gdb might give more useful debug info

hovancik avatar Sep 30 '22 13:09 hovancik

@hovancik Thanks for the pointer. I've been running Stretchly 1.12.0 for a half day now with gdb debugging, but this error hasn't occurred (before it took less than that to surface). After running 1.11.0 with gdb debugging again this error hasn't surfaced. Something must have change in the underlying system - in my case Ubuntu 22.04.

After reviewing apt history for the hunt of libappindicator upgrade I found out that in my system it is provided via libayatana-appindicator3-1:amd64 (0.5.5-3) and it hasn't been touched since system installation in fall last year. Hard to tell what else has changed that could have fixed this issue, however it does not occur to me anymore.

Thanks for you work!

cedrak avatar Oct 03 '22 13:10 cedrak

I've commented on the testing prematurely. Stretchly 1.11.0 just crashed on me with following gdb stack trace:

Thread 1 "stretchly" received signal SIGSEGV, Segmentation fault.
0x00007fffe55fcdc5 in ?? () from /lib/x86_64-linux-gnu/libappindicator3.so.1

I'm going back to running 1.12.0…

cedrak avatar Oct 03 '22 14:10 cedrak

After running Stretchly 1.12.0 for straight two days now, with one hibernate in the meantime I haven't encountered this error.

@hovancik In the changelog you've mentioned you've trimmed down tray requests. I suppose it could have fixed or hidden this bug. As per bug report you've linked this is a bug in upstream library, with fix that probably hasn't been introduced to all distros, yet.

cedrak avatar Oct 05 '22 11:10 cedrak

Yeah, with latest version, the tray is updated much less frequent, so probably lower chance of the issue happening :)

hovancik avatar Oct 15 '22 13:10 hovancik