Bug 1405939 - Segmentation fault at /usr/libexec/Xorg (OsLookupColor+0x139) using Xspice
Summary: Segmentation fault at /usr/libexec/Xorg (OsLookupColor+0x139) using Xspice
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: spice
Version: 25
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Christophe Fergeau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-19 09:04 UTC by aannoaanno
Modified: 2017-01-29 00:21 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-29 00:21:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description aannoaanno 2016-12-19 09:04:05 UTC
Description of problem:
Segmentation fault at /usr/libexec/Xorg (OsLookupColor+0x139) using Xspice

Version-Release number of selected component (if applicable):
Fedora 25
Xspice 0.1.4-10.2016092



How reproducible:
$ sudo Xspice --config /etc/X11/spiceqxl.xorg.conf --disable-ticketing --vdagent --xsession startxfce4 :4

Actual results:
Console output:


X.Org X Server 1.19.0
Release Date: 2016-11-15
X Protocol Version 11, Revision 0
Build Operating System:  4.8.8-300.fc25.x86_64 
Current Operating System: Linux noah.siteos-lokal.de 4.8.14-300.fc25.x86_64 #1 SMP Mon Dec 12 16:31:04 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.8.14-300.fc25.x86_64 root=/dev/mapper/vg_sdd-root ro rd.luks.uuid=luks-a9eba963-ff2e-499b-a298-0659c5e29359 rd.lvm.lv=vg_sdd/root rd.lvm.lv=vg_sdd/swap rhgb quiet resume=/dev/disk/by-uuid/73299393-6bdb-4230-a1ca-096e5ee32396 splash=silent quiet video.use_native_backlight=1 LANG=de_DE.UTF-8
Build Date: 15 December 2016  12:16:01PM
Build ID: xorg-x11-server 1.19.0-2.fc25 
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.4.log", Time: Mon Dec 19 09:58:37 2016
(++) Using config file: "/etc/X11/spiceqxl.xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resizing surface0 to 16777216
memory space from 0x7f816bec5010 to 0x7f8172ec2010
memory space from 0x7f8162ec4010 to 0x7f816aec4010
resizing surface0 to 16777216
memory space from 0x7f816bec5010 to 0x7f8172ec2010
memory space from 0x7f8162ec4010 to 0x7f816aec4010
xspice: port = 5900, tls_port = 0
watch_add: adding 0x995f50, fd=13 at 0
watch_add: adding 0xab3150, fd=15 at 1
interface_get_init_info:
interface_attach_worker:
interface_set_compression_level: 0
playback: no audio FIFO directory, audio is disabled
watch_add: adding 0xabcf50, fd=19 at 2
ram_header at 134209536
surf0 size: 16777216
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
slots start: 0, slots end: 1
done reset
interface_get_command: native
interface_get_command: native
interface_get_command: native
qxl_surface_create: Bad bpp: 1 (1)
interface_get_command: native
qxl_surface_create: Bad bpp: 1 (1)
qxl_surface_create: Bad bpp: 1 (1)
interface_get_command: native
interface_get_command: native
interface_get_command: native
(EE) 
(EE) Backtrace:
(EE) 0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59e7d9]
(EE) 1: /lib64/libpthread.so.0 (__restore_rt+0x0) [0x7f817ae645bf]
(EE) 2: /usr/lib64/xorg/modules/drivers/spiceqxl_drv.so (_init+0x397b) [0x7f81764ab9eb]
(EE) 3: /usr/libexec/Xorg (BlockHandler+0x4e) [0x43b99e]
(EE) 4: /usr/libexec/Xorg (WaitForSomething+0x152) [0x598242]
(EE) 5: /usr/libexec/Xorg (SendErrorToClient+0x13a) [0x436e0a]
(EE) 6: /usr/libexec/Xorg (InitFonts+0x428) [0x43b018]
(EE) 7: /lib64/libc.so.6 (__libc_start_main+0xf1) [0x7f817aaad401]
(EE) 8: /usr/libexec/Xorg (_start+0x2a) [0x424cfa]
(EE) 9: ? (?+0x2a) [0x2a]
(EE) 
(EE) Segmentation fault at address 0x927c0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the Fedora Project support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.4.log" for additional information.
(EE) 
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
(EE) Server terminated with error (1). Closing log file.


Expected results:
Xspice should run (and should be connectable by 'remote-viewer spice://localhost:5900')

Comment 1 Christophe Fergeau 2016-12-19 09:15:43 UTC
Yes, Xspice cannot work with Xorg 1.19, these upstream patches are needed
https://lists.freedesktop.org/archives/spice-devel/2016-December/034524.html

Comment 2 Christophe Fergeau 2016-12-19 10:18:46 UTC
A fixed version is currently building in rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=16955889
Hopefully it will be installable on f25 too.

Comment 3 Fedora Update System 2017-01-24 17:17:35 UTC
xorg-x11-drv-qxl-0.1.5-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b19cfc4ee

Comment 4 Fedora Update System 2017-01-28 19:20:44 UTC
xorg-x11-drv-qxl-0.1.5-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b19cfc4ee

Comment 5 Fedora Update System 2017-01-29 00:21:07 UTC
xorg-x11-drv-qxl-0.1.5-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.