elementary / photos

Photo viewer and organizer designed for elementary OS
https://elementary.io
GNU Lesser General Public License v2.1
107 stars 39 forks source link

Crashes on Olympus photos with error "Strip 0 is outside of the data area" #748

Closed wout closed 8 months ago

wout commented 10 months ago

What Happened?

I have a lot of Olympus photos (OMD-EM10 Mark I) and with every single one Photos crashes. This is an old library that I've used with elementary OS version 5 and 6 before, so this is a regression. I've been using this camera since 2014 and never experienced this issue.

Steps to Reproduce

  1. Open photo attached

P1011947

Expected Behavior

Photos should not crash.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

Aug 25 14:11:54 Framey io.elementary.p[1548486]: Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
Aug 25 14:11:54 Framey io.elementary.p[1548486]: Unsupported date format
Aug 25 14:11:54 Framey io.elementary.p[1548486]: Invalid JPEG preview image.
Aug 25 14:11:54 Framey io.elementary.p[1548486]: Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
Aug 25 14:11:54 Framey io.elementary.p[1548486]: Unsupported date format
Aug 25 14:11:54 Framey io.elementary.p[1548486]: Invalid JPEG preview image.
Aug 25 14:11:54 Framey kernel: [248628.608815] pool-io.element[1549333]: segfault at 0 ip 00007f1958e671c9 sp 00007f19037fce40 error 6 in libc.so.6[7f1958e28000+195000] likely on CPU 6 (core 12, socket 0)
Aug 25 14:11:54 Framey kernel: [248628.608835] Code: 0f 85 3e 1c 00 00 8b 8d 58 fa ff ff 83 f9 2f 0f 87 47 0d 00 00 89 c8 83 c1 08 48 03 85 68 fa ff ff 89 8d 58 fa ff ff 48 8b 00 <89> 10 e9 18 d0 ff ff 4c 89 ff e8 e8 68 02 00 41 89 c5 83 f8 ff 0f

Hardware Info

         eeeeeeeeeeeeeeeee            wout@Framey 
      eeeeeeeeeeeeeeeeeeeeeee         ----------- 
    eeeee  eeeeeeeeeeee   eeeee       OS: elementary OS 7 Horus x86_64 
  eeee   eeeee       eee     eeee     Host: Laptop (12th Gen Intel Core) A8 
 eeee   eeee          eee     eeee    Kernel: 6.2.0-26-generic 
eee    eee            eee       eee   Uptime: 2 days, 21 hours, 9 mins 
eee   eee            eee        eee   Packages: 1895 (dpkg), 58 (flatpak) 
ee    eee           eeee       eeee   Shell: bash 5.1.16 
ee    eee         eeeee      eeeeee   Resolution: 3000x2000, 3840x2160 
ee    eee       eeeee      eeeee ee   DE: Pantheon 
eee   eeee   eeeeee      eeeee  eee   WM: Mutter(Gala) 
eee    eeeeeeeeee     eeeeee    eee   Theme: io.elementary.stylesheet.mint [GTK3] 
 eeeeeeeeeeeeeeeeeeeeeeee    eeeee    Icons: elementary [GTK3] 
  eeeeeeee eeeeeeeeeeee      eeee     Terminal: io.elementary.t 
    eeeee                 eeeee       CPU: 12th Gen Intel i7-1280P (20) @ 4.700GHz 
      eeeeeee         eeeeeee         GPU: Intel Alder Lake-P 
         eeeeeeeeeeeeeeeee            Memory: 16324MiB / 64003MiB 
Claudio-code commented 8 months ago

I tried to reproduce the behavior but I couldn't, here this photo opened normally. Does this bug continue to occur in newer versions?

Screenshot from 2023-10-10 15 39 56

wout commented 8 months ago

Hi, thanks for looking into it. It looks like I can't reproduce this error anymore. I'll close this for now and re-open when it pops up again.