Bug 1632123 - [abrt] xorg-x11-server-Xwayland: OsLookupColor(): Display server crashed
Summary: [abrt] xorg-x11-server-Xwayland: OsLookupColor(): Display server crashed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2b2ec1346453f504eb64716893e...
: 1656050 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-24 07:11 UTC by Tomas Popela
Modified: 2019-01-11 22:32 UTC (History)
22 users (show)

Fixed In Version: xorg-x11-server-1.20.3-2.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-19 02:28:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: Xorg.0.log (119.72 KB, text/plain)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details
File: backtrace (511 bytes, text/plain)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details
File: cpuinfo (1.32 KB, text/plain)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details
File: dmesg (104.59 KB, text/plain)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details
File: dso_list (339 bytes, text/plain)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details
File: etc_X11_xorg_conf_d.tar.gz (351 bytes, application/octet-stream)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details
File: usr_share_xorg_conf_d.tar.gz (1.92 KB, application/octet-stream)
2018-09-24 07:11 UTC, Tomas Popela
no flags Details

Description Tomas Popela 2018-09-24 07:11:10 UTC
Version-Release number of selected component:
xorg-x11-server-Xwayland-1.20.1-2.fc29

Additional info:
reporter:       libreport-2.9.5
crash_function: OsLookupColor
executable:     /usr/bin/Xwayland
kernel:         4.18.5-300.fc29.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x5917bd]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f58b077bfbf]
2: /usr/bin/Xwayland (present_extension_init+0xd42) [0x4f9412]
3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x4f99d8]
4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x607) [0x439867]
5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f58b04e7ace]
6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7f58b04e748f]
7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1efd) [0x7f58b0cde4dd]

Comment 1 Tomas Popela 2018-09-24 07:11:15 UTC
Created attachment 1486308 [details]
File: Xorg.0.log

Comment 2 Tomas Popela 2018-09-24 07:11:17 UTC
Created attachment 1486309 [details]
File: backtrace

Comment 3 Tomas Popela 2018-09-24 07:11:18 UTC
Created attachment 1486310 [details]
File: cpuinfo

Comment 4 Tomas Popela 2018-09-24 07:11:21 UTC
Created attachment 1486311 [details]
File: dmesg

Comment 5 Tomas Popela 2018-09-24 07:11:23 UTC
Created attachment 1486312 [details]
File: dso_list

Comment 6 Tomas Popela 2018-09-24 07:11:24 UTC
Created attachment 1486313 [details]
File: etc_X11_xorg_conf_d.tar.gz

Comment 7 Tomas Popela 2018-09-24 07:11:26 UTC
Created attachment 1486314 [details]
File: usr_share_xorg_conf_d.tar.gz

Comment 8 Olivier Fourdan 2018-09-24 08:35:09 UTC
The error message "Display server crashed" means the Wayland compositor crashed (on Wayland, the displays server is the wayland compositor, not Xwayland), ie this is gnome-shell/mutter.

Also seen in the dmesg (attachment 1486311 [details]):

[55892.541352] gnome-shell[1895]: segfault at 1c ip 00007f306c5b4fa4 sp 00007ffeeb385228 error 4 in libmutter-3.so.0.0.0[7f306c590000+ea000]

Comment 9 Olivier Fourdan 2018-09-24 08:36:02 UTC
Moving to mutter.

Can you please provide the backtrace of the crash in gnome-shell ?

Comment 10 Olivier Fourdan 2018-09-24 09:09:01 UTC
Humm, sory, I might have been fooled by the backtrace in comment 0 and the crash of gnome-shell in dmesg, looking at hte actual addresses in comment 0 gives :

  $ addr2line -fe /usr/lib/debug/usr/bin/Xwayland-1.20.1-2.fc29.x86_64.debug  0x4f9412 0x4f99d8 0x439867
  present_wnmd_event_notify
  /usr/src/debug/xorg-x11-server-1.20.1-2.fc29.x86_64/present/present_wnmd.c:235
  addr2line: DWARF error: mangled line number section (bad file number)
  present_set_tree_pixmap
  /usr/src/debug/xorg-x11-server-1.20.1-2.fc29.x86_64/present/present.c:149
  xwl_present_flip
  /usr/src/debug/xorg-x11-server-1.20.1-2.fc29.x86_64/hw/xwayland/xwayland-present.c:499

But that doesn't much. Could you provide the journalctl at the time of the issue and possibly a proper backtrace (obtained with "coredumptctl gdb" or similar)?

Comment 11 Stanislav Graf 2018-11-02 07:49:41 UTC
Description of problem:
* Have laptop in docking station with external monitors attached.
* Sleep laptop.
* Undock.
* Wakeup laptop.

Session crashed, all apps closed, and I had to login again.

Version-Release number of selected component:
xorg-x11-server-Xwayland-1.20.2-1.fc29

Additional info:
reporter:       libreport-2.9.6
crash_function: OsLookupColor
executable:     /usr/bin/Xwayland
kernel:         4.19.0-300.fc29.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x55ac2b0831dd]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7fd1e296afbf]
2: /usr/bin/Xwayland (present_extension_init+0xd42) [0x55ac2afeac82]
3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x55ac2afeb248]
4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x647) [0x55ac2af2afe7]
5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7fd1e26d3ace]
6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7fd1e26d348f]
7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d) [0x7fd1e2ecd4fd]

Comment 12 Tomas Popela 2018-11-02 08:11:27 UTC
(In reply to Stanislav Graf from comment #11)
> Description of problem:
> * Have laptop in docking station with external monitors attached.
> * Sleep laptop.
> * Undock.
> * Wakeup laptop.
> 
> Session crashed, all apps closed, and I had to login again.
> 
> Version-Release number of selected component:
> xorg-x11-server-Xwayland-1.20.2-1.fc29
> 
> Additional info:
> reporter:       libreport-2.9.6
> crash_function: OsLookupColor
> executable:     /usr/bin/Xwayland
> kernel:         4.19.0-300.fc29.x86_64
> runlevel:       N 5
> type:           xorg
> uid:            0
> 
> Truncated backtrace:
> 0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x55ac2b0831dd]
> 1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7fd1e296afbf]
> 2: /usr/bin/Xwayland (present_extension_init+0xd42) [0x55ac2afeac82]
> 3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x55ac2afeb248]
> 4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x647) [0x55ac2af2afe7]
> 5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7fd1e26d3ace]
> 6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7fd1e26d348f]
> 7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d)
> [0x7fd1e2ecd4fd]

That's a different bug: https://gitlab.freedesktop.org/xorg/xserver/merge_requests/45

Comment 13 František Zatloukal 2018-11-17 16:15:28 UTC
Description of problem:
Crashed after connecting external display and disabling the internal. 

GNOME was running on Wayland.

Version-Release number of selected component:
xorg-x11-server-Xwayland-1.20.3-1.fc29

Additional info:
reporter:       libreport-2.9.6
crash_function: OsLookupColor
executable:     /usr/bin/Xwayland
kernel:         4.18.16-300.fc29.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x55dacabb01ed]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f9fb19e1fbf]
2: /usr/bin/Xwayland (present_extension_init+0xe7f) [0x55dacab17dcf]
3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x55dacab18258]
4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x647) [0x55dacaa57ff7]
5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f9fb174aace]
6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7f9fb174a48f]
7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d) [0x7f9fb1f474fd]

Comment 14 wertstoffe 2018-12-04 14:38:28 UTC
*** Bug 1656050 has been marked as a duplicate of this bug. ***

Comment 15 Stewart Smith 2018-12-06 02:47:18 UTC
Description of problem:
occured just after plugging in laptop dock (where two external monitors become active and the built in display is turned off)

Version-Release number of selected component:
xorg-x11-server-Xwayland-1.20.3-1.fc29

Additional info:
reporter:       libreport-2.9.6
crash_function: OsLookupColor
executable:     /usr/bin/Xwayland
kernel:         4.19.5-300.fc29.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x55a99d0c71ed]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7feb90fa70bf]
2: /usr/bin/Xwayland (present_extension_init+0xe7f) [0x55a99d02edcf]
3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x55a99d02f258]
4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x647) [0x55a99cf6eff7]
5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7feb90d0face]
6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7feb90d0f48f]
7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d) [0x7feb9150d4fd]

Comment 16 Fedora Update System 2018-12-18 02:12:05 UTC
xorg-x11-server-1.20.3-2.fc29 has been pushed to the Fedora 29 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-e3ade0ccc7

Comment 17 Sander 2018-12-18 07:45:02 UTC
Description of problem:
Logged in, started an OpenConnect VPN, was logged out ( session  crash ) before the VPN dialog was even visible.

Version-Release number of selected component:
xorg-x11-server-Xwayland-1.20.3-1.fc29

Additional info:
reporter:       libreport-2.9.7
crash_function: OsLookupColor
executable:     /usr/bin/Xwayland
kernel:         4.19.8-300.fc29.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x55df4b9f71ed]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f57337480bf]
2: /usr/bin/Xwayland (present_extension_init+0xd42) [0x55df4b95ec92]
3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x55df4b95f258]
4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x647) [0x55df4b89eff7]
5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f57334b0ace]
6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7f57334b048f]
7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d) [0x7f5733cae4fd]

Comment 18 Sander 2018-12-18 07:51:05 UTC
(In reply to Sander from comment #17)
> Description of problem:
> Logged in, started an OpenConnect VPN, was logged out ( session  crash )
> before the VPN dialog was even visible.
> 
> Version-Release number of selected component:
> xorg-x11-server-Xwayland-1.20.3-1.fc29
> 
> Additional info:
> reporter:       libreport-2.9.7
> crash_function: OsLookupColor
> executable:     /usr/bin/Xwayland
> kernel:         4.19.8-300.fc29.x86_64
> runlevel:       N 5
> type:           xorg
> uid:            0
> 
> Truncated backtrace:
> 0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x55df4b9f71ed]
> 1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f57337480bf]
> 2: /usr/bin/Xwayland (present_extension_init+0xd42) [0x55df4b95ec92]
> 3: /usr/bin/Xwayland (present_extension_init+0xf88) [0x55df4b95f258]
> 4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x647) [0x55df4b89eff7]
> 5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f57334b0ace]
> 6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7f57334b048f]
> 7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d)
> [0x7f5733cae4fd]

I have updated the xorg-x11-server packages 1.20.3-2.fc29 and will see if those fix this issue.

Comment 19 Fedora Update System 2018-12-19 02:28:11 UTC
xorg-x11-server-1.20.3-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 redhatbugzilla 2019-01-11 22:32:23 UTC
Description of problem:
This happens pretty regularly but not all the time after the following steps:
1. Connect laptop to external display
2. Close laptop lid
3. Lock screen (turns off external display)
4. Press spacebar to wake up the machine

I think this happens more often when the laptop lid is closed - keeping it open seems to wake up and not crash.

Version-Release number of selected component:
xorg-x11-server-Xwayland-1.20.3-2.fc29

Additional info:
reporter:       libreport-2.9.7
crash_function: OsLookupColor
executable:     /usr/bin/Xwayland
kernel:         4.20.0-1.vanilla.knurd.1.fc29.x86_64
runlevel:       N 5
type:           xorg
uid:            0

Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+0x13d) [0x559208c6c26d]
1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7fd34a4ff07f]
2: /usr/bin/Xwayland (present_extension_init+0xd42) [0x559208bd3d52]
3: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x402) [0x559208b13b52]
4: /usr/bin/Xwayland (glamor_egl_fd_from_pixmap+0x5f0) [0x559208b13fd0]
5: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7fd34a267ace]
6: /lib64/libffi.so.6 (ffi_call+0x35f) [0x7fd34a26748f]
7: /lib64/libwayland-client.so.0 (wl_log_set_handler_client+0x1f0d) [0x7fd34aa654fd]


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