Fix confirmed in 24.10.

** Description changed:

- Hello! I got in touch with Shotwell support for a memory leak that will
- cause Shotwell process to get killed during a slideshow. Jens said I
- should inform Ubuntu support so the fix can be considered for software
- updates.
+ Impact
+ ------
  
- Here's the ticket I opened with Shotwell
+ A memory leak that will cause Shotwell process to increasingly eat
+ memory constantly during a slideshow.
  
- https://gitlab.gnome.org/GNOME/shotwell/-/issues/5123
+ Test case
+ ---------
  
- And here's the case Jens Georg opened in response.
+ *Start Shotwell and import a folder with about 10 photos; End Shotwell.
  
+ *Save this script as tester.sh:
+ 
+ --->
+ #!/bin/sh
+ shotwell &
+ pid=$!
+ statm=/proc/$pid/statm
+ time=0
+ inc=1
+ 
+ while test -e "$statm"; do
+     stack=$(cut -f6 -d' ' "$statm")
+     printf "%s %s\n" "$time" "$stack"
+     sleep "$inc"
+     time=$((time+inc))
+ done >> "$pid.dat"
+ <---
+ 
+ *Execute it.
+ 
+ *Press F5 to start slideshow and keep pressing right arrow to cycle
+ through the photo set about 3 times.
+ 
+ *End Shotwell.
+ 
+ Expected: The memory logged in the PID.dat file stops increasing instead
+ of steadily and indefinidetely increasing.
+ 
+ You can use "xmgrace *.dat" to get a plot of the behavior before and
+ after the fix for easier visualization (see attached shotwell-stat.png).
+ 
+ 
+ Further information
+ -------------------
+ 
+ Bug upstream: https://gitlab.gnome.org/GNOME/shotwell/-/issues/5123
+ 
+ Fix upstream:
  
https://gitlab.gnome.org/GNOME/shotwell/-/commit/fa6884f73af83ccbc72b8fe0f7bc63a00630ee0b
- 
- Thank you!
- 
- Jon

** Attachment added: "shotwell-stat.png"
   
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/2080004/+attachment/5822094/+files/shotwell-stat.png

** Changed in: shotwell (Ubuntu)
     Assignee: (unassigned) => Nathan Teodosio (nteodosio)

** Changed in: shotwell (Ubuntu)
       Status: Triaged => In Progress

** Also affects: shotwell (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: shotwell (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: shotwell (Ubuntu Jammy)
   Importance: Undecided
       Status: New

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

Title:
  Shotwell bug - Out of memory #5123

To manage notifications about this bug go to:
https://bugs.launchpad.net/shotwell/+bug/2080004/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to