Updated description with SRU.

** Description changed:

- Endeavour sometimes crashes when it is left running in background. I can
- reproduce this consistently on Ubuntu 24.04. It probably also affects
- 24.10 and 25.04 since they all have Endeavour 43.
+ [ Impact ]
  
- This is the upstream bug for this issue:
- https://gitlab.gnome.org/World/Endeavour/-/issues/496
+ Endeavour crashes when left idling in the background with the following
+ message: SIGFPE: integer divide by zero.
  
- And here is a possible fix for it:
- 
https://gitlab.gnome.org/philippun1/Endeavour/-/commit/94f01090ad388dd5508a8e7ec317d79c8b4fba94
+ My patch fixes the divide by zero crash by checking if n_messages is
+ greater zero before performing the division.
+ 
+ [ Test Plan ]
+ 
+ 1. Start Endeavour
+ 2. Let it idle in the background (for a possibly long time)
+ 
+ Endeavour should not crashes.
+ 
+ [ Where problems could occur ]
+ 
+ Since Endeavour crashed with an n_messages value of 0 before, it might
+ be possible that show_message() can not handle 0 in some cases. The
+ remainder in the calculation could always have been 0, so I assume this
+ case is working.
+ 
+ [ Other Info ]
+ 
+ Upstream issue: https://gitlab.gnome.org/World/Endeavour/-/issues/496

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089604

Title:
  Crashes when left in background after a couple of minutes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/endeavour/+bug/2089604/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to