[Bug 2080004] [NEW] Shotwell bug - Out of memory #5123
Launchpad Bug Tracker
2080004 at bugs.launchpad.net
Thu Sep 26 08:32:29 UTC 2024
You have been subscribed to a public bug by Nathan Teodosio (nteodosio):
Impact
------
A memory leak that will cause Shotwell process to increasingly eat
memory constantly during a slideshow.
Test case
---------
*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
** Affects: shotwell
Importance: Unknown
Status: Fix Released
** Affects: shotwell (Ubuntu)
Importance: High
Assignee: Nathan Teodosio (nteodosio)
Status: In Progress
** Affects: shotwell (Ubuntu Focal)
Importance: Undecided
Status: New
** Affects: shotwell (Ubuntu Jammy)
Importance: Undecided
Status: New
** Affects: shotwell (Ubuntu Noble)
Importance: Undecided
Status: New
** Tags: udeng-4471
--
Shotwell bug - Out of memory #5123
https://bugs.launchpad.net/bugs/2080004
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list