Gimp crashes Xorg on HiDPI screen with Nvidia Prime
GIMP version: 2.10.14, 2.99.1 (git commit 39e6670c)
Operating System: Arch Linux, kernel 5.3.13-arch1-1, Xorg 1.20.6, nvidia 440.36 with prime configuration.
The bug occurs only on HiDPI screens (see also https://bugs.archlinux.org/task/62612).
Package: pacman (official Arch Linux package manager).
Description of the bug
Gimp starts without problems. When an image is opened or created, as soon as the mouse cursor is moved over the canvas, Xorg crashes.
Reproduction
The bug is always reproducible.
Reproduction steps:
- Open gimp
- Load an image or create a new one
- Move the mouse cursor over the image's canvas
Expected result: Gimp and Xorg don't crash :)
Actual result: Gimp and Xorg do crash :'(
Additional information
xorg core dump
nov 30 13:22:54 pantagruel systemd-coredump[1361]: Process 775 (Xorg) of user 0 dumped core.
Stack trace of thread 775:
#0 0x00007f7756efff25 raise (libc.so.6)
#1 0x00007f7756ee9897 abort (libc.so.6)
#2 0x00005651026afcda OsAbort (Xorg)
#3 0x00005651026b3521 FatalError (Xorg)
#4 0x00005651026b6d52 n/a (Xorg)
#5 0x00007f7756efffb0 __restore_rt (libc.so.6)
#6 0x00005651026534a8 n/a (Xorg)
#7 0x0000565102659f5f n/a (Xorg)
#8 0x00005651027b15c6 mieqProcessInputEvents (Xorg)
#9 0x000056510269dda9 ProcessInputEvents (Xorg)
#10 0x0000565102645953 n/a (Xorg)
#11 0x00007f7756eeb153 __libc_start_main (libc.so.6)
#12 0x00005651026463be _start (Xorg)
Stack trace of thread 796:
#0 0x00007f775696ac45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f7751a535fc n/a (i965_dri.so)
#2 0x00007f7751a531f8 n/a (i965_dri.so)
#3 0x00007f77569644cf start_thread (libpthread.so.0)
#4 0x00007f7756fc32d3 __clone (libc.so.6)
/var/log/Xorg.0.log
[ 113.953] (EE)
[ 113.953] (EE) Backtrace:
[ 113.954] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x4d) [0x5651026c075d]
[ 113.954] (EE) 1: /usr/lib/Xorg (0x56510260e000+0xa8ce8) [0x5651026b6ce8]
[ 113.954] (EE) 2: /usr/lib/libc.so.6 (0x7f7756ec4000+0x3bfb0) [0x7f7756efffb0]
[ 113.954] (EE) 3: /usr/lib/Xorg (0x56510260e000+0x454a8) [0x5651026534a8]
[ 113.954] (EE) 4: /usr/lib/Xorg (0x56510260e000+0x4bf5f) [0x565102659f5f]
[ 113.954] (EE) 5: /usr/lib/Xorg (mieqProcessInputEvents+0x166) [0x5651027b15c6]
[ 113.954] (EE) 6: /usr/lib/Xorg (ProcessInputEvents+0x19) [0x56510269dda9]
[ 113.954] (EE) 7: /usr/lib/Xorg (0x56510260e000+0x37953) [0x565102645953]
[ 113.954] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xf3) [0x7f7756eeb153]
[ 113.954] (EE) 9: /usr/lib/Xorg (_start+0x2e) [0x5651026463be]
[ 113.954] (EE)
[ 113.955] (EE) Segmentation fault at address 0x0
[ 113.955] (EE)
Fatal server error:
[ 113.955] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 113.955] (EE)
[ 113.955] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 113.955] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 113.955] (EE)
[ 114.059] (EE) Server terminated with error (1). Closing log file.