Bug 1536633

Summary: [abrt] xorg-x11-server-Xorg: OsLookupColor(): Segmentation fault at address 0x0
Product: [Fedora] Fedora Reporter: John Slade <redhatbugzilla>
Component: libinputAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: a_idm, alexl, bskeggs, caillon+fedoraproject, dchen, jglisse, john.j5live, massi.ergosum, ofourdan, peter.hutterer, rhughes, rstrode, sandmann, xgl-maint, yajo.sk8
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:16c885ae8b26e9fa0da6509ae2d18c0d3c50877c;VARIANT_ID=workstation;
Fixed In Version: libinput-1.10.0-2.fc27 libinput-1.9.4-3.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-19 20:04:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: Xorg.0.log
none
File: backtrace
none
File: cpuinfo
none
File: dmesg
none
File: dso_list
none
File: etc_X11_xorg_conf_d.tar.gz
none
File: usr_share_xorg_conf_d.tar.gz none

Description John Slade 2018-01-19 19:29:21 UTC
Description of problem:
Resume from standby.

Version-Release number of selected component:
xorg-x11-server-Xorg-1.19.3-4.fc26

Additional info:
reporter:       libreport-2.9.1
crash_function: OsLookupColor
executable:     /usr/libexec/Xorg
kernel:         4.14.13-200.fc26.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59c629]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7fce5975c3ff]
2: /usr/lib64/xorg/modules/input/libinput_drv.so (_init+0x12b7) [0x7fce523447e7]
3: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x2d12) [0x7fce52119152]
4: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x1774f) [0x7fce5214254f]
5: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x17963) [0x7fce52142a23]
6: /lib64/libinput.so.10 (libinput_path_add_device+0xdf) [0x7fce5212b2df]
7: /usr/lib64/xorg/modules/input/libinput_drv.so (_init+0x5810) [0x7fce5234c990]
8: /usr/libexec/Xorg (EnableDevice+0xb4) [0x42d7b4]
9: /usr/libexec/Xorg (xf86EnableInputDeviceForVTSwitch+0x2a) [0x47769a]
10: /usr/libexec/Xorg (xf86RemoveSIGIOHandler+0x628) [0x49ca78]
11: /usr/libexec/Xorg (xf86RemoveSIGIOHandler+0x101a) [0x49da8a]
12: /lib64/libdbus-1.so.3 (dbus_connection_dispatch+0x2cd) [0x7fce5b88b34d]
13: /lib64/libdbus-1.so.3 (dbus_connection_dispatch+0x6e8) [0x7fce5b88bdd8]
14: /usr/libexec/Xorg (config_fini+0x471) [0x496c41]
15: /usr/libexec/Xorg (OsCleanup+0x621) [0x59d591]
16: /usr/libexec/Xorg (WaitForSomething+0x1fb) [0x59603b]
17: /usr/libexec/Xorg (SendErrorToClient+0x113) [0x435643]
18: /usr/libexec/Xorg (InitFonts+0x420) [0x439890]
19: /lib64/libc.so.6 (__libc_start_main+0xea) [0x7fce5939588a]
20: /usr/libexec/Xorg (_start+0x2a) [0x42357a]

Comment 1 John Slade 2018-01-19 19:29:27 UTC
Created attachment 1383569 [details]
File: Xorg.0.log

Comment 2 John Slade 2018-01-19 19:29:28 UTC
Created attachment 1383570 [details]
File: backtrace

Comment 3 John Slade 2018-01-19 19:29:30 UTC
Created attachment 1383571 [details]
File: cpuinfo

Comment 4 John Slade 2018-01-19 19:29:32 UTC
Created attachment 1383572 [details]
File: dmesg

Comment 5 John Slade 2018-01-19 19:29:34 UTC
Created attachment 1383573 [details]
File: dso_list

Comment 6 John Slade 2018-01-19 19:29:35 UTC
Created attachment 1383574 [details]
File: etc_X11_xorg_conf_d.tar.gz

Comment 7 John Slade 2018-01-19 19:29:37 UTC
Created attachment 1383575 [details]
File: usr_share_xorg_conf_d.tar.gz

Comment 8 Peter Hutterer 2018-02-13 04:13:41 UTC
*** Bug 1539046 has been marked as a duplicate of this bug. ***

Comment 9 Peter Hutterer 2018-02-13 04:42:42 UTC
*** Bug 1539783 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2018-02-13 04:45:27 UTC
libinput-1.9.4-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bdea546d95

Comment 11 Fedora Update System 2018-02-13 04:51:11 UTC
libinput-1.10.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3cc91ce983

Comment 12 Fedora Update System 2018-02-13 16:22:02 UTC
libinput-1.9.4-3.fc26 has been pushed to the Fedora 26 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-2018-bdea546d95

Comment 13 Fedora Update System 2018-02-13 16:42:07 UTC
libinput-1.10.0-2.fc27 has been pushed to the Fedora 27 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-2018-3cc91ce983

Comment 14 Yajo 2018-02-14 08:10:14 UTC
Description of problem:
Computer was suspended. I booted it up and tried to log into my gnome session. It became crazy.

Version-Release number of selected component:
xorg-x11-server-Xorg-1.19.6-2.fc27

Additional info:
reporter:       libreport-2.9.3
crash_function: OsLookupColor
executable:     /usr/libexec/Xorg
kernel:         4.14.16-300.fc27.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59d5f9]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7fc50ef82b3f]
2: /usr/lib64/xorg/modules/input/libinput_drv.so (_init+0x1a17) [0x7fc50b2f86a7]
3: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x2d14) [0x7fc50b094704]
4: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x18b2f) [0x7fc50b0c02bf]
5: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x18d43) [0x7fc50b0c0793]
6: /lib64/libinput.so.10 (libinput_path_add_device+0xdf) [0x7fc50b0a7c6f]
7: /usr/lib64/xorg/modules/input/libinput_drv.so (_init+0x5f50) [0x7fc50b300810]
8: /usr/libexec/Xorg (EnableDevice+0xb4) [0x42d814]
9: /usr/libexec/Xorg (xf86EnableInputDeviceForVTSwitch+0x2a) [0x47788a]
10: /usr/libexec/Xorg (xf86RemoveSIGIOHandler+0xb6c) [0x49d5ec]
11: /usr/libexec/Xorg (xf86RemoveSIGIOHandler+0xe55) [0x49d995]
12: /lib64/libdbus-1.so.3 (dbus_connection_dispatch+0x2cd) [0x7fc5115d71ad]
13: /lib64/libdbus-1.so.3 (dbus_connection_dispatch+0x6e8) [0x7fc5115d7c38]
14: /usr/libexec/Xorg (config_fini+0x471) [0x496e31]
15: /usr/libexec/Xorg (OsCleanup+0x621) [0x59e561]
16: /usr/libexec/Xorg (WaitForSomething+0x1fb) [0x59701b]
17: /usr/libexec/Xorg (SendErrorToClient+0x113) [0x4356d3]
18: /usr/libexec/Xorg (InitFonts+0x420) [0x439950]
19: /lib64/libc.so.6 (__libc_start_main+0xea) [0x7fc50eba900a]
20: /usr/libexec/Xorg (_start+0x2a) [0x4235fa]

Comment 15 Peter Hutterer 2018-02-15 00:12:56 UTC
Yajo, was that with libinput 1.10 or libinput 1.9.4-3?

Comment 16 Yajo 2018-02-15 08:20:18 UTC
It was libinput-1.9.3-2.fc27.x86_64, before I updated to the testing package. Since then I have not reproduced the problem.

Comment 17 Fedora Update System 2018-02-19 20:04:21 UTC
libinput-1.10.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2018-02-20 16:38:48 UTC
libinput-1.9.4-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Massimiliano 2018-02-26 22:33:20 UTC
My fedora 27 continuously crashes. Here some info:

# uname -a
Linux hostname 4.15.4-300.fc27.x86_64 #1 SMP Mon Feb 19 23:31:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

# rpm -q libinput                                                                                                                                    
libinput-1.10.0-2.fc27.x86_64

From Xorg log:
[  2118.049] (EE) 
[  2118.049] (EE) Backtrace:
[  2118.049] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59d609]
[  2118.051] (EE) 1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f3b77e00b3f]
[  2118.052] (EE) 2: /lib64/libc.so.6 (gsignal+0xcb) [0x7f3b77a4266b]
[  2118.053] (EE) 3: /lib64/libc.so.6 (abort+0x141) [0x7f3b77a44381]
[  2118.055] (EE) 4: /lib64/libc.so.6 (__assert_fail_base+0x14a) [0x7f3b77a3a8fa]
[  2118.056] (EE) 5: /lib64/libc.so.6 (__assert_fail+0x42) [0x7f3b77a3a972]
[  2118.057] (EE) 6: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0xf42e) [0x7f3b7449c1ae]
[  2118.058] (EE) 7: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0xa897) [0x7f3b744923a7]
[  2118.058] (EE) 8: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0xc7d0) [0x7f3b74496bb0]
[  2118.059] (EE) 9: /lib64/libinput.so.10 (libinput_device_config_rotation_get_default_angle+0x1091) [0x7f3b7447faf1]
[  2118.060] (EE) 10: /lib64/libinput.so.10 (libinput_dispatch+0x5f) [0x7f3b7447ae1f]
[  2118.060] (EE) 11: /usr/lib64/xorg/modules/input/libinput_drv.so (_init+0x3760) [0x7f3b746d2140]
[  2118.061] (EE) 12: /usr/libexec/Xorg (input_unlock+0x293) [0x59bbe3]
[  2118.061] (EE) 13: /usr/libexec/Xorg (OsCleanup+0x621) [0x59e571]
[  2118.061] (EE) 14: /usr/libexec/Xorg (input_unlock+0xde) [0x59b7de]
[  2118.062] (EE) 15: /lib64/libpthread.so.0 (start_thread+0xdb) [0x7f3b77df561b]
[  2118.063] (EE) 16: /lib64/libc.so.6 (clone+0x3f) [0x7f3b77b229c8]
[  2118.063] (EE) 
[  2118.063] (EE) 
Fatal server error:
[  2118.063] (EE) Caught signal 6 (Aborted). Server aborting
[  2118.063] (EE) 
[  2118.063] (EE) 
Please consult the Fedora Project support 
         at http://wiki.x.org
 for help. 
[  2118.063] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2118.063] (EE) 
[  2118.063] (II) AIGLX: Suspending AIGLX clients for VT switch
[  2118.147] (EE) Server terminated with error (1). Closing log file.

Comment 20 Massimiliano 2018-04-07 20:37:55 UTC
(In reply to Massimiliano from comment #19)
> My fedora 27 continuously crashes. Here some info:
> 
> # uname -a
> Linux hostname 4.15.4-300.fc27.x86_64 #1 SMP Mon Feb 19 23:31:15 UTC 2018
> x86_64 x86_64 x86_64 GNU/Linux
> 
> # rpm -q libinput                                                           
> 
> libinput-1.10.0-2.fc27.x86_64
> 

After latest updates my problem seems to be solved:

# uname -a
Linux hostname 4.15.14-300.fc27.x86_64 #1 SMP Thu Mar 29 16:13:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

# rpm -q libinput
libinput-1.10.2-4.fc27.x86_64