kodi segfault using xvfb
steps to reproduce:
- # docker run -it alpine:latest /bin/sh
/ # apk update
fetch
http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86\_64/APKINDEX.tar.gz
fetch
http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86\_64/APKINDEX.tar.gz
v3.4.3-109-g46279424 [http://dl-cdn.alpinelinux.org/alpine/v3.4/main\]
v3.4.4-1-g77d84e1e
[http://dl-cdn.alpinelinux.org/alpine/v3.4/community\]
OK: 5972 distinct packages available
/ # apk add xvfb kodi
(1/148) Installing libbz2 (1.0.6-r5)
(2/148) Installing expat (2.1.1-r1)
(3/148) Installing libffi (3.2.1-r2)
….
(147/148) Installing pixman (0.34.0-r0)
(148/148) Installing xvfb (1.18.3-r0)
Executing busybox-1.24.2-r11.trigger
Executing ca-certificates-20160104-r4.trigger
Executing glib-2.48.0-r0.trigger
Executing dbus-1.10.8-r1.trigger
Executing mkfontscale-1.0.7-r2.trigger
Executing mkfontdir-1.0.5-r1.trigger
Executing fontconfig-2.12.1-r0.trigger
OK: 200 MiB in 159 packages
/ # export DISPLAY=:0
/ # Xvfb :0 -screen 0 1024x768x16 &
/ # kodi
/usr/lib/kodi/kodi-xrandr: Failed to get size of gamma for output
screen
Segmentation fault (core dumped)
Crash report available at /root/kodi_crashlog-20161001_045234.log
I’ve enclosed the crash log and an strace capture run with gdb.
I have a similar setup in ubuntu which works and gives the same “Failed to get size of gamma for output screen” warning.
Thanks.
(from redmine: issue id 6251, created on 2016-10-01)