ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #12601
[Bug 2100703] Re: Gimp crashes copying a 40x1 zone
An Intel:
0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
But I don't understand how you folks can't reproduce. It triggers an
assertion failure, it's not random.
To try to reproduce, first select a normal, approximately square zone
and copy it. Verify that you see it appear at the top left of the
Patterns dock:
https://www.colino.net/tmp/normal.png - here, the computer I just copied
is in the Patterns, highlighted in red.
Then try to select something REALLY flat (1px high), as in
https://www.colino.net/tmp/not_good.png (the selection is also
highlighted in red).
Copy it. My Gimp 2.10.36-3ubuntu0.24.04.1 crashes with an assertion
failure, showing the following in the terminal:
```
colin:a2tools/src/glider$ gimp assets/levels/level_a.xcf
using gegl copy
using gegl copy
gimp: Gimp-Core-CRITICAL: gimp_temp_buf_new: assertion 'width > 0 && height > 0 && bpp > 0' failed
gimp: fatal error: Segmentation fault
warning: could not find '.gnu_debugaltlink' file for /usr/bin/gimp-2.10
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-
gnu/libgimpwidgets-2.0.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
```
The important line is: Gimp-Core-CRITICAL: gimp_temp_buf_new: assertion
'width > 0 && height > 0 && bpp > 0' failed
Thanks for trying to help :)
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2100703
Title:
Gimp crashes copying a 40x1 zone
Status in gimp package in Ubuntu:
Fix Released
Status in gimp source package in Noble:
Incomplete
Status in gimp source package in Oracular:
Incomplete
Bug description:
Very small copies with a large aspect ratio get a preview rounded to 0
pixels when the Patterns dialog is visible, making Gimp crash.
The fix is already upstream at
https://gitlab.gnome.org/GNOME/gimp/-/commit/64f45df6ce6
Steps to reproduce:
- Open an image
- Open the patterns Dockable (Windows / Dockable Dialogs / Patterns)
- Select a 40x1 zone
- Copy it (Edit / Copy, or Ctrl-C).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/2100703/+subscriptions