[Desktop-packages] [Bug 1853266] Re: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc()
Martin, that looks like a different stack trace. This bug has been tracking https://gitlab.freedesktop.org/xorg/xserver/-/issues/647 which was fixed in Xorg 1.20.5 ** Bug watch added: gitlab.freedesktop.org/xorg/xserver/-/issues #647 https://gitlab.freedesktop.org/xorg/xserver/-/issues/647 ** Changed in: xorg-server (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1853266 Title: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc() Status in X.Org X server: Fix Released Status in xorg-server package in Ubuntu: Fix Released Status in xorg-server package in Fedora: Won't Fix 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://bugs.freedesktop.org/show_bug.cgi?id=110500 https://bugs.freedesktop.org/show_bug.cgi?id=110714 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@:65:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nouveau latency=0 resources: irq:69 memory:d700-d7ff memory:c800-cfff memory:d000-d1ff ioport:b000(size=128) memory:d800-d807 Please let me know if you need any additional information. More information: Release of Ubuntu: 19.04 Installed package versions: xserver-xorg-video-nouveau/disco,now 1:1.0.16-1 amd64 [installed] xserver-xorg-core/disco,now 2:1.20.4-1ubuntu3 amd64 [installed] xserver-xorg/disco,now 1:7.7+19ubuntu12 amd64 [installed] inkscape/disco,now 0.92.4-3 amd64 [installed] To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1853266/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1853266] Re: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc()
> Xorg -config tests/xorg-dummy.conf -logfile /tmp/log -once :5 The -once was an attempt to work around this, but it doesn't help, nor change the behaviour of this bug. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1853266 Title: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc() Status in X.Org X server: Fix Released Status in xorg-server package in Ubuntu: Confirmed Status in xorg-server package in Fedora: Won't Fix 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://bugs.freedesktop.org/show_bug.cgi?id=110500 https://bugs.freedesktop.org/show_bug.cgi?id=110714 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@:65:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nouveau latency=0 resources: irq:69 memory:d700-d7ff memory:c800-cfff memory:d000-d1ff ioport:b000(size=128) memory:d800-d807 Please let me know if you need any additional information. More information: Release of Ubuntu: 19.04 Installed package versions: xserver-xorg-video-nouveau/disco,now 1:1.0.16-1 amd64 [installed] xserver-xorg-core/disco,now 2:1.20.4-1ubuntu3 amd64 [installed] xserver-xorg/disco,now 1:7.7+19ubuntu12 amd64 [installed] inkscape/disco,now 0.92.4-3 amd64 [installed] To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1853266/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1853266] Re: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc()
umockdev's test suite now started to see this crash in current Ubuntu jammy. Simple reproducer: $ cat tests/xorg-dummy.conf Section "Device" Identifier "test" Driver "dummy" EndSection $ Xorg -config tests/xorg-dummy.conf -logfile /tmp/log -once :5 Then, run at least one query on it, like this: $ env DISPLAY=:5 xinput Then pkill/kill or Control-C the Xorg process, and it will crash: double free or corruption (!prev) (EE) (EE) Backtrace: (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55e2b1c75d39] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x7f384162f520] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0xf8) [0x7f3841683808] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (raise+0x16) [0x7f384162f476] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd7) [0x7f38416157b7] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__fsetlocking+0x426) [0x7f38416765e6] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (timer_settime+0x2cc) [0x7f384168dadc] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__default_morecore+0x8bc) [0x7f384168f84c] (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (free+0x55) [0x7f3841691ce5] (EE) 9: /usr/lib/xorg/Xorg (config_fini+0x402) [0x55e2b1b6cb22] (EE) 10: /usr/lib/xorg/Xorg (ddxGiveUp+0x62) [0x55e2b1b4fa22] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x669) [0x55e2b1b12d69] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x90) [0x7f3841616fd0] (EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x7d) [0x7f384161707d] (EE) 14: /usr/lib/xorg/Xorg (_start+0x2e) [0x55e2b1afbf0e] (EE) (EE) Received signal 6 sent by process 520, uid 0 After that it hangs and can't be cleaned up any more (zombie) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1853266 Title: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc() Status in X.Org X server: Fix Released Status in xorg-server package in Ubuntu: Confirmed Status in xorg-server package in Fedora: Won't Fix 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://bugs.freedesktop.org/show_bug.cgi?id=110500 https://bugs.freedesktop.org/show_bug.cgi?id=110714 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@:65:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nouveau latency=0 resources: irq:69 memory:d700-d7ff memory:c800-cfff memory:d000-d1ff ioport:b000(size=128) memory:d800-d807 Please let me know if you need any additional information. More information: Release of Ubuntu: 19.04 Installed package versions: xserver-xorg-video-nouveau/disco,now 1:1.0.16-1 amd64 [installed] xserver-xorg-core/disco,now 2:1.20.4-1ubuntu3 amd64 [installed] xserver-xorg/disco,now 1:7.7+19ubuntu12 amd64 [installed] inkscape/disco,now 0.92.4-3 amd64 [installed] To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1853266/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1853266] Re: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc()
>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+0x13c), but this was with radeon_drv, unrelated to any GL errors. So, likely a different underlying bug than the OP, just that the crash looks similar.) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1853266 Title: Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from glamor_get_pixmap_texture() from glamor_create_gc() Status in X.Org X server: Fix Released Status in xorg-server package in Ubuntu: Confirmed Status in xorg-server package in Fedora: Won't Fix 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://bugs.freedesktop.org/show_bug.cgi?id=110500 https://bugs.freedesktop.org/show_bug.cgi?id=110714 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@:65:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nouveau latency=0 resources: irq:69 memory:d700-d7ff memory:c800-cfff memory:d000-d1ff ioport:b000(size=128) memory:d800-d807 Please let me know if you need any additional information. More information: Release of Ubuntu: 19.04 Installed package versions: xserver-xorg-video-nouveau/disco,now 1:1.0.16-1 amd64 [installed] xserver-xorg-core/disco,now 2:1.20.4-1ubuntu3 amd64 [installed] xserver-xorg/disco,now 1:7.7+19ubuntu12 amd64 [installed] inkscape/disco,now 0.92.4-3 amd64 [installed] To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1853266/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp