Seg fault when trying to edit a text layer that was just restored from the undo stack
Environment/Versions
- GIMP version: 2.10.32
- Package: App Store
- Operating System: macOS
Description of the bug
The application seg faulted when I tried to edit the text of a text layer, having just restored that layer from the undo stack.
Reproduction
Is the bug reproducible?
I do not know if it is reproducible, but here are the steps I took leading to the crash
Reproduction steps:
- Create multiple layers, with the top-most layer being a text layer
- Merge the text layer down into the next layer
- make another top-most layer
- Undo until the original text layer is again the top-most layer
- Double click the text layer to try and edit the text, and maybe observe the seg fault
…
Expected result:
Actual result:
Additional information
GNU Image Manipulation Program version 2.10.32
git-describe: GIMP_2_10_32
Build: org.gimp.GIMP_official rev 0 for macos
# C compiler #
Configured with: --prefix=/Applications/Xcode-13.1.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode-13.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
# Libraries #
using babl version 0.1.92 (compiled against version 0.1.92)
using GEGL version 0.4.36 (compiled against version 0.4.36)
using GLib version 2.72.0 (compiled against version 2.72.0)
using GdkPixbuf version 2.42.8 (compiled against version 2.42.8)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.50.7 (compiled against version 1.50.7)
using Fontconfig version 2.14.0 (compiled against version 2.14.0)
using Cairo version 1.17.6 (compiled against version 1.17.6)
fatal error: Segmentation fault: 11
Stack trace:
0 libgimpbase-2.0.0.dylib 0x000000010e263853 gimp_stack_trace_print + 1059
1 gimp 0x00000001040dbf02 gimp_eek + 354
2 gimp 0x00000001040dbd98 gimp_fatal_error + 24
3 gimp 0x00000001040dca2d gimp_sigfatal_handler + 45
4 libsystem_platform.dylib 0x00007ff819193c1d _sigtramp + 29