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

            Bug ID: 516556
           Summary: COG files cause some other part of memory to be read
                    as the image data, and do not load the actual image
    Classification: Applications
           Product: kolourpaint
      Version First 25.12.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 189975
  --> https://bugs.kde.org/attachment.cgi?id=189975&action=edit
Screenshot of the application with this bug

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT

The image data that was loaded seems to be four pointers (I determined these
using the color picker, so take them with a grain of salt):
f0 72 3f 1e 22 7f 00 00 
f0 72 3f 1e 22 7f 00 00 
d0 6e 1b 4c 1f 56 00 00
d0 6e 1b 4c 1f 56 00 00
The rest of the image was null bytes.

This is a dump of the memory at those locations:
---
(gdb) x/16x 0x0000561f4c1b6ed0
0x561f4c1b6ed0: 0x00000060      0x00000000      0x00004011      0x00000000
0x561f4c1b6ee0: 0x00000000      0x00000000      0x00000000      0x00000000
0x561f4c1b6ef0: 0x00000000      0x00000000      0x00000000      0x00000000
0x561f4c1b6f00: 0x00000000      0x00000000      0x00000000      0x00000000
(gdb) x/16x 0x00007f221e3f72f0
0x7f221e3f72f0 <main_arena+2096>:       0x4c1cf0c0      0x0000561f     
0x4c1cf0c0      0x0000561f
0x7f221e3f7300 <main_arena+2112>:       0x1e3f72f0      0x00007f22     
0x1e3f72f0      0x00007f22
0x7f221e3f7310 <main_arena+2128>:       0x1e3f7300      0x00007f22     
0x1e3f7300      0x00007f22
0x7f221e3f7320 <main_arena+2144>:       0xf9febffc      0xffffff83     
0xb7ffffff      0x3d40847f
---

EXPECTED RESULT
The image should load properly just like in Okular/Krita.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to