https://bugs.kde.org/show_bug.cgi?id=404794

            Bug ID: 404794
           Summary: Gwenview crashes when opening a very specific picture
           Product: gwenview
           Version: 18.12.2
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: acc12345...@gmail.com
  Target Milestone: ---

Created attachment 118345
  --> https://bugs.kde.org/attachment.cgi?id=118345&action=edit
subject.

SUMMARY
Here I am attaching a TIFF picture, which when opened using Gwenview (and
sometimes also happens when just rendering its thumbnail) will crash the
program.

STEPS TO REPRODUCE
1. Open the attachment.

OBSERVED RESULT
With a 40% chance:
```
Segmentation fault (core dumped)
```
otherwise with a 10% chance:
```
free(): invalid pointer
Aborted (core dumped)
```
otherwise the image will open and look corrupted and cropped off, but moving
will result in the following:
```
gwenview: malloc.c:4009: _int_malloc: Assertion `(unsigned long) (size) >=
(unsigned long) (nb)' failed.
Aborted (core dumped)
```

EXPECTED RESULT
No crashes and proper image (Krita works, eog displays nothing but does not
crash).

SOFTWARE/OS VERSIONS
Windows: None
MacOS: None
Linux/KDE Plasma: 4.18.5-rt3-1-rt-bfq
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to