Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| X.Org X server |
Fix Released
|
Unknown
|
||
| xorg-server (Fedora) |
Won't Fix
|
Undecided
|
||
| xorg-server (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Recently, my the xserver on my system has started randomly crashing due to a segmentation fault. As far as I can tell, this segmentation fault occurs as a result of libglamoregl encountering a GL_OUT_OF_MEMORY error (see attached Xorg.log). I have had a hard time reproducing this bug reliably, but it mostly happens when I have been using Inkscape for a while.
This appears to be the same bug that has been reported here
https:/
https:/
In those bug reports, the usual recommendation is to switch from the -modesetting video driver to the -nouveau video driver. By default, Ubuntu is not configured in this way, so this bug probably needs to be addressed in some other way.
My graphics card is listed as follows:
*-display
description: VGA compatible controller
product: GK208B [GeForce GT 710]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:65:00.0
version: a1
width: 64 bits
clock: 33MHz
resources: irq:69 memory:
Please let me know if you need any additional information.
More information:
Release of Ubuntu: 19.04
Installed package versions:
xserver-
xserver-
xserver-
inkscape/disco,now 0.92.4-3 amd64 [installed]
|
#4 |
Created attachment 1503848
File: backtrace
|
#5 |
Created attachment 1503849
File: cpuinfo
|
#6 |
Created attachment 1503850
File: dmesg
|
#7 |
Created attachment 1503851
File: dso_list
|
#8 |
Created attachment 1503852
File: etc_X11_
|
#9 |
Created attachment 1503853
File: usr_share_
Description of problem:
x11-server crushes from time to time without any obvious reason. I have single monitor.
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.9.7
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.18.16-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x55ca3af1e915]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x55ca3af892e6]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x55ca3ae5735e]
Can you please atthach the journalctl logs for gnome-shell around the time of the crash?
(In reply to Olivier Fourdan from comment #8)
> Can you please atthach the journalctl logs for gnome-shell around the time
> of the crash?
Feb 05 14:47:26 work gnome-shell[27447]: The property brightness doesn't seem to be a normal object property of [0x56065eeffbb0 StWidget] or a registered special property
Feb 05 14:47:26 work gnome-shell[27447]: The property vignette_sharpness doesn't seem to be a normal object property of [0x56065eeffbb0 StWidget] or a registered special property
Feb 05 15:04:47 work dbus-daemon[836]: [system] Activating via systemd: service name='net.
Feb 05 15:05:03 work gnome-shell[27447]: The property brightness doesn't seem to be a normal object property of [0x56065db42fd0 StWidget] or a registered special property
Feb 05 15:05:03 work gnome-shell[27447]: The property vignette_sharpness doesn't seem to be a normal object property of [0x56065db42fd0 StWidget] or a registered special property
Feb 05 15:21:49 work gnome-shell[27447]: Connection to xwayland lost
Feb 05 15:21:50 work gnome-shell[5262]: can't read lock file /tmp/.X1024-lock: Permission denied
Feb 05 15:21:50 work dbus-daemon[5230]: [session uid=42 pid=5230] Activating via systemd: service name='org.a11y.Bus' unit='at-
Feb 05 15:21:50 work at-spi-
Feb 05 15:21:52 work dbus-daemon[836]: [system] Activating via systemd: service name='org.
Feb 05 15:21:52 work dbus-daemon[5230]: [session uid=42 pid=5230] Activating via systemd: service name='org.
Feb 05 15:21:52 work gnome-shell[5262]: g_dir_open_
Feb 05 15:21:52 work gnome-shell[5262]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
Feb 05 15:21:52 work gnome-shell[5262]: g_dir_open_
Feb 05 15:21:52 work gnome-shell[5262]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
Feb 05 15:21:52 work dbus-daemon[836]: [system] Activating via systemd: service name='org.
Feb 05 15:21:52 work polkitd[29780]: Registered Authentication Agent for unix-session:c3 (system bus name :1.5086 [/usr/bin/
...
Description of problem:
After looking a video on youtube with the chromium-browser, I closed the app. Then I opened claws-mail to read my mails
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.10-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x55e1399cf915]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x55e139a3a2e6]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x55e13990835e]
Can you check with "coredumpctl" if there's a core available for Xwayland and if by chance there's one, upload it somewhere I could download it?
Description of problem:
Starting Brave Browser
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.10-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x55689b177915]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x55689b1e22e6]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x55689b0b035e]
Same thing as comment 11, can you please look for a core file, that would be helpful?
Description of problem:
Mär 01 15:55:14 org.gnome.
Mär 01 15:55:14 org.gnome.
Mär 01 15:53:48 org.gnome.
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.13-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x562c2387b955]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x562c238e6396]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x562c237b437e]
Description of problem:
Starting Oracle Virtualbox v6.04 64bit
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.13-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x55dae6f3e955]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x55dae6fa9396]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x55dae6e7737e]
Description of problem:
After using and closing Google-Chrome-Beta, I opened Seamonkey
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.13-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x560b11d35955]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x560b11da0396]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x560b11c6e37e]
Description of problem:
Opening Gparted
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.13-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x55da629c0955]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x55da62a2b396]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x55da628f937e]
So I think the key to this problem is in comment 14 (thanks Andreas!)
(WW) glamor: Expect reduced performance.
(WW) glamor: Failed to allocate 1922x1175 FBO due to GL_OUT_OF_MEMORY.
(EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
because:
- All these crashes occur in glamor_
- Only case where this function can segfault is if `pixmap_priv->fbo` in NULL
- "Failed to allocate ...x... FBO due to GL_OUT_OF_MEMORY" comes from `_glamor_
So I reckon this issue is caused by glamor failing to allocate a pixmap FBO because GL_OUT_OF_MEMORY and later trying to access it, and crash.
*But* AFAICS, `glamor_
Are you all using NVidia closed-source driver?
Description of problem:
After viewing a video on youtube with Google-Chrome Unstable I started Kmahjongg
Version-Release number of selected component:
xorg-x11-
Additional info:
reporter: libreport-2.10.0
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.20.13-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace:
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x561e2944a955]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x561e294b5396]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x561e2938337e]
@Olivier Fourdan
I am on nouveau.
still seeing this 5.0.17-
May 29 15:41:37 ll612-04 systemd[1373]: Started dbus-:1.
May 29 15:41:37 ll612-04 journal[1426]: g_dir_open_
May 29 15:41:37 ll612-04 journal[1426]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
May 29 15:41:37 ll612-04 journal[1426]: g_dir_open_
May 29 15:41:37 ll612-04 journal[1426]: g_filename_to_utf8: assertion 'opsysstring != NULL' failed
Upstream Git says it's been fixed.
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 29 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Michael Freitag (freitagm) wrote : | #1 |
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
Daniel van Vugt (vanvugt) wrote : | #2 |
[775834.395] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[775834.395] (WW) glamor: Failed to allocate 5x5 FBO due to GL_OUT_OF_MEMORY.
[775834.395] (WW) glamor: Expect reduced performance.
[776320.877] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[776320.877] (EE)
[776320.877] (EE) Backtrace:
[776320.878] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+
[776320.878] (EE) 1: /lib/x86_
[776320.878] (EE) 2: /usr/lib/
[776320.879] (EE) 3: /usr/lib/
[776320.879] (EE) 4: /usr/lib/
[776320.879] (EE) 5: /usr/lib/
[776320.879] (EE) 6: /usr/lib/
[776320.879] (EE) 7: /usr/lib/xorg/Xorg (DamageRegionAp
[776320.879] (EE) 8: /usr/lib/xorg/Xorg (AddTraps+0x3440) [0x55fb3d5e6950]
[776320.879] (EE) 9: /usr/lib/xorg/Xorg (SendErrorToCli
[776320.879] (EE) 10: /usr/lib/xorg/Xorg (InitFonts+0x3b6) [0x55fb3d5129c6]
[776320.880] (EE) 11: /lib/x86_
[776320.880] (EE) 12: /usr/lib/xorg/Xorg (_start+0x2a) [0x55fb3d4fc67a]
[776320.880] (EE)
[776320.880] (EE) Segmentation fault at address 0x0
[776320.880] (EE)
Fatal server error:
[776320.880] (EE) Caught signal 11 (Segmentation fault). Server aborting
affects: | xorg (Ubuntu) → xorg-server (Ubuntu) |
tags: | added: disco |
Changed in xorg-server (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
Changed in xorg-server: | |
status: | Unknown → Fix Released |
I recently upgraded to Ubuntu 19.10 and just ran into the exact same issue again. Xorg log attached.
Launchpad Janitor (janitor) wrote : | #28 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in xorg-server (Ubuntu): | |
status: | New → Confirmed |
tags: | added: focal |
summary: |
- xserver segfaults on GL_OUT_OF_MEMORY in libglamoregl + Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from + glamor_get_pixmap_texture() from glamor_create_gc() |
Bryce Harrington (bryce) wrote : | #29 |
From the upstream bug report, the failure in OsLookupColor() is just a common point where the system falls over once it's run out of graphics memory. There could be a number of reasons why the memory got exhausted in the first place (e.g. video drivers leaking memory, misc. bugs in GL apps, ...) which would be the root cause of the problem.
(Fwiw, I stumbled across this bug report because I also got a crash in /usr/lib/xorg/Xorg (OsLookupColor+
Version-Release number of selected component: server- Xwayland- 1.20.3- 1.fc29
xorg-x11-
Additional info: 300.fc29. x86_64
reporter: libreport-2.9.6
crash_function: OsLookupColor
executable: /usr/bin/Xwayland
kernel: 4.18.17-
runlevel: N 5
type: xorg
uid: 0
Truncated backtrace: 0x13d) [0x55c99a7191ed] libpthread. so.0 (funlockfile+0x50) [0x7f89f9d7bfbf] get_pixmap_ texture+ 0x81) [0x55c99a5c3f91] create_ gc+0x70c8) [0x55c99a5d5068] create_ gc+0x74fc) [0x55c99a5d580c] create_ gc+0x7b0e) [0x55c99a5d5fae] create_ gc+0x9b0c) [0x55c99a5d9c0c] pend+0x6af) [0x55c99a686f3f] create_ gc+0x10a02) [0x55c99a5e80e2] ent+0x35e) [0x55c99a6e321e] start_main+ 0xf3) [0x7f89f9bc7413]
0: /usr/bin/Xwayland (OsLookupColor+
1: /lib64/
2: /usr/bin/Xwayland (glamor_
3: /usr/bin/Xwayland (glamor_
4: /usr/bin/Xwayland (glamor_
5: /usr/bin/Xwayland (glamor_
6: /usr/bin/Xwayland (glamor_
7: /usr/bin/Xwayland (DamageRegionAp
8: /usr/bin/Xwayland (glamor_
9: /usr/bin/Xwayland (AddTraps+0x4275) [0x55c99a67c855]
10: /usr/bin/Xwayland (SendErrorToCli
11: /usr/bin/Xwayland (InitFonts+0x3c6) [0x55c99a6e7246]
12: /lib64/libc.so.6 (__libc_
13: /usr/bin/Xwayland (_start+0x2e) [0x55c99a5b535e]
Potential duplicate: bug 1617885