Crash on wayland/sway: Lost connection to Wayland compositor.
Environment/Versions
- GIMP version: 2.99.4 (commit db996f21)
- Package: https://copr.fedorainfracloud.org/coprs/yingted/gimp-2.99/
- Operating System: Fedora 33 x86_64
Description of the bug
Gimp 2.99.4 sometimes (not always) crashes when I attempt to open Preferences.
If I launch it from the terminal, here's what I see:
Gimp-Config-Message: 13:33:55.681: Error while parsing '/etc/gimp/2.99/gimprc' in line 1166: unexpected end of file, expected end of file - fatal parse error
Gimp-Config-Message: 13:33:55.684: Error while parsing '/etc/gimp/2.99/gimprc' in line 1166: unexpected end of file, expected character ')' - fatal parse error
This is a development version of GIMP. Debug messages may appear here.
set device 'Wayland Pointer' to mode: disabled
/usr/bin/luajit: .../org.gimp.extension.goat-exercises/goat-exercise-lua.lua:22: module 'lgi' not found:
no field package.preload['lgi']
no file './lgi.lua'
no file '/usr/share/luajit-2.1.0-beta3/lgi.lua'
no file '/usr/local/share/lua/5.1/lgi.lua'
no file '/usr/local/share/lua/5.1/lgi/init.lua'
no file '/usr/share/lua/5.1/lgi.lua'
no file '/usr/share/lua/5.1/lgi/init.lua'
no file './lgi.so'
no file '/usr/local/lib/lua/5.1/lgi.so'
no file '/usr/lib64/lua/5.1/lgi.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
.../org.gimp.extension.goat-exercises/goat-exercise-lua.lua:22: in main chunk
[C]: at 0x55af46cf9220
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error
Gdk-Message: 13:34:21.281: Lost connection to Wayland compositor.
(script-fu:93364): LibGimpBase-WARNING **: 13:34:21.317: script-fu: gimp_wire_read(): error
Everything up to GIMP-WARNING
is printed at startup, while the last two lines are printed during the crash.
Reproduction
Is the bug reproducible? Randomly
Reproduction steps:
- Go to Edit/Preferences
Additional information
This is under sway-1.5 (https://swaywm.org/).