terminate called after throwing an instance of 'std::invalid_argument' what(): Invalid fraction
After updating from Debian Jessie (Shotwell 0.20.1) to Buster (Shotwell 0.30.1) Shotwell dies with the following error message when clicking on a thumbnail:
terminate called after throwing an instance of 'std::invalid_argument'
what(): Invalid fraction
Apparently, this is caused by either (broken) metadata or photos, as Shotwell works fine when moving ~/.local/share/shotwell
out of the way and starting a new import.
The latest stable version (0.30.9, self-compiled from tarball) shows the same problem. Downgrading to 0.20.1 solves it and thus is a reasonable workaround.
Attached you find a shotwell.gdb and shotwell.log.
Mandatory: Shotwell version the issue was seen with
0.30.1 and 0.30.9
Kernel version:
Linux edge 4.19.0-8-amd64 shotwell#1 (moved) SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux
The expected behaviour
Clicking on a thumbnail should show the large photo.
What was actually happening
Shotwell dies leaving the following error message in the console:
terminate called after throwing an instance of 'std::invalid_argument'
what(): Invalid fraction
Steps to reproduce the issue
Very likely this issue happens only with certain image databases. Maybe some data is corrupt?
Attachements: