Bug 2347345

Summary: When trying to start obs in X11 running LXDE, it causes a server abort because an include entry is missing
Product: [Fedora] Fedora Reporter: stan <gryt2>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: ajax, bskeggs, gryt2, jexposit, ofourdan, rhughes, rstrode, sergio, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-server-21.1.16-1.fc41 xorg-x11-server-21.1.16-1.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-01 01:23:53 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:

Description stan 2025-02-24 17:31:57 UTC
Xorg: ../include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.
(EE)
(EE) Backtrace:
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 0: /usr/libexec/Xorg (?+0x0) [0x52eabc]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 1: /lib64/libc.so.6 (?+0x0) [0x7f287de8f050]
(EE) 2: /lib64/libc.so.6 (__pthread_kill_implementation+0x114) [0x7f287dee8114]
(EE) 3: /lib64/libc.so.6 (gsignal+0x1e) [0x7f287de8ef9e]
(EE) 4: /lib64/libc.so.6 (abort+0xdf) [0x7f287de76942]
(EE) 5: /lib64/libc.so.6 (__assert_fail_base.cold+0x11) [0x7f287de7685e]
(EE) 6: /lib64/libc.so.6 (__assert_fail+0x47) [0x7f287de870c7]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 7: /usr/libexec/Xorg (?+0x0) [0x5a588d]
(EE) 8: /usr/libexec/Xorg (DRI2Authenticate+0xa6) [0x5a7606]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 9: /usr/libexec/Xorg (?+0x0) [0x5ab59a]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 10: /usr/libexec/Xorg (?+0x0) [0x40fae4]
(EE) 11: /lib64/libc.so.6 (__libc_start_call_main+0x78) [0x7f287de78248]
(EE) 12: /lib64/libc.so.6 (__libc_start_main+0x8b) [0x7f287de7830b]
(EE) 13: /usr/libexec/Xorg (_start+0x25) [0x40fe75]
(EE)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
          for help.
          (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
          (EE)
          (EE) Server terminated with error (1). Closing log file.
          [ 2225.180402] libobs: hotkey [10667]: segfault at e ip 00007f870c5a374e sp 00007f86ed63b040 error 4 in libobs.so.30[ae74e,7f870c4f5000+b8000] likely on CPU 5 (core 5, socket 1)
          [ 2225.180456] Code: 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f b6 02 89 c1 83 e0 07 c0 e9 03 83 e1 1f <41> 0f b6 4c 0e 08 0f a3 c1 0f 92 c3 84 db 0f 85 43 ff ff ff 48 83
          xinit: connection to X server lost

Reproducible: Always

Steps to Reproduce:
1. Have latest Xorg rpms installed
2. Running LXDE
3. Try to start obs, from the command line.  If I run obs with
obs  --safe-mode
it seems to work
Actual Results:  
See the details

Expected Results:  
obs starts successfully

This is fairly recent.  The last successful run of obs was on 20250214.  There have been many updates since then.

The privates.h file is located at two locations
/usr/include/xorg/privates.h
/usr/share/xorg-x11-server-source/include/privates.h

Server version is 
Name        : xorg-x11-server-common
Version     : 21.1.15
Release     : 1.fc41
Architecture: x86_64
Install Date: Sun 22 Dec 2024 12:41:20 PM MST

Comment 1 Olivier Fourdan 2025-02-24 17:42:09 UTC
Nothing to do with a header file missign (thoise are used at build time only), I think this is https://gitlab.freedesktop.org/xorg/xserver/-/issues/1053 fixed with  https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1608 upstream.

Comment 3 stan 2025-02-25 14:50:05 UTC
Thank you for your help.

Comment 4 Fedora Update System 2025-02-26 09:08:12 UTC
FEDORA-2025-f2525743d6 (xorg-x11-server-21.1.16-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f2525743d6

Comment 5 Fedora Update System 2025-02-26 09:25:34 UTC
FEDORA-2025-b40b12a89e (xorg-x11-server-21.1.16-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b40b12a89e

Comment 6 Fedora Update System 2025-02-27 02:11:15 UTC
FEDORA-2025-f2525743d6 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f2525743d6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f2525743d6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-02-27 02:51:55 UTC
FEDORA-2025-b40b12a89e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b40b12a89e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b40b12a89e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 stan 2025-02-27 15:22:39 UTC
This fixed the issue for me.  Thanks again.

Comment 9 Fedora Update System 2025-03-01 01:23:53 UTC
FEDORA-2025-b40b12a89e (xorg-x11-server-21.1.16-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-03-15 00:32:10 UTC
FEDORA-2025-f2525743d6 (xorg-x11-server-21.1.16-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.