Steam causes random crashes #45

Closed
opened 2023-07-16 07:15:44 -07:00 by sndanailov · 4 comments

I cannot reproduce this, but occasionally stopping Steam causes the whole desktop environment to stop.

I am running:

Gentoo

Linux 6.1.38-gentoo-dist-hardened
NVIDIA 470.199.02
X.Org X Server 1.21.1.8
EFL 1.26.3-r2
Enlightenment 0.25.4

The composite settings are set to OpenGL. EFL is compiled using -D opengl=full. The wl and drm options are disabled.

ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:3744 _clear_selection() safety check failed: cbs->cancel is false
ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:4011 _ecore_evas_x_selection_clear() safety check failed: ee is false
ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:3744 _clear_selection() safety check failed: cbs->cancel is false
ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:4011 _ecore_evas_x_selection_clear() safety check failed: ee is false
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:2344 efl_data_scope_safe_get() Eo ID 0x4000002a288c is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=0, current_domain=0, local_domain=0, available_domains=[0 1    ], generation=8c, id=a8a, ref=1)
ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:522 evas_object_event_callback_del() safety check failed: obj == NULL
COMP: suspend
COMP: resume
ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:491 evas_object_event_callback_priority_add() safety check failed: eo_obj == NULL
ERR<13302>:eina_safety ../enlightenment-0.25.4/src/bin/e_comp_object.c:3017 e_comp_object_util_del_list_append() safety check failed: to_del == NULL
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object!
ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:3744 _clear_selection() safety check failed: cbs->cancel is false
ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:4011 _ecore_evas_x_selection_clear() safety check failed: ee is false
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:2344 efl_data_scope_safe_get() Eo ID 0x400000089265 is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=0, current_domain=0, local_domain=0, available_domains=[0 1    ], generation=265, id=224, ref=1)
ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:522 evas_object_event_callback_del() safety check failed: obj == NULL
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:2344 efl_data_scope_safe_get() Eo ID 0x40000021bf00 is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=0, current_domain=0, local_domain=0, available_domains=[0 1    ], generation=300, id=86f, ref=1)
ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:522 evas_object_event_callback_del() safety check failed: obj == NULL
COMP: suspend
COMP: resume
COMP: suspend
COMP: resume
COMP: suspend
COMP: resume
ERR<13302>:eina_safety ../efl-1.26.3/src/lib/eina/eina_hash.c:1078 eina_hash_find() safety check failed: key == NULL
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x4000002c947d[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'.
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x4000003f8489[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'.
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x4000002d38a1[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'.
ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x400000251cad[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'.
FP: e_auth_fprint_begin
FP: obj=0x55711de1eb60
FP: proxy=0x55711e88cb00
FP: get default device...
FP: Fprint err: org.freedesktop.DBus.Error.ServiceUnknown The name net.reactivated.Fprint was not provided by any .service files
AUTH: Password OK
X I/O Error - fatal. Exiting

This is what Steam seems to have logged:

[0716/150451.314903:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglMakeCurrent: Failed to make the GLX context current
[0716/150451.632072:ERROR:x11_util.cc(112)] X IO error received (X server probably went away)

This is the xorg log:

[ 17987.724] (EE)
[ 17987.724] (EE) Backtrace:
[ 17987.724] (EE) 0: /usr/bin/X (xorg_backtrace+0x54) [0x55bda87d6f94]
[ 17987.724] (EE) 1: /usr/bin/X (0x55bda869b000+0x13fc79) [0x55bda87dac79]
[ 17987.724] (EE) 2: /lib64/libc.so.6 (0x7f53e6da3000+0x384e0) [0x7f53e6ddb4e0]
[ 17987.724] (EE) 3: /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so (0x7f53e5000000+0x8de8f0) [0x7f53e58de8f0]
[ 17987.724] (EE)
[ 17987.724] (EE) Segmentation fault at address 0x10
[ 17987.724] (EE)
Fatal server error:
[ 17987.724] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 17987.724] (EE)
[ 17987.724] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 17987.724] (EE) Please also check the log file at "/home/jungleman/.local/share/xorg/Xorg.0.log" for additional information.
[ 17987.724] (EE)
[ 17988.030] (EE) Server terminated with error (1). Closing log file.
I cannot reproduce this, but occasionally stopping Steam causes the whole desktop environment to stop. I am running: Gentoo Linux 6.1.38-gentoo-dist-hardened NVIDIA 470.199.02 X.Org X Server 1.21.1.8 EFL 1.26.3-r2 Enlightenment 0.25.4 The composite settings are set to OpenGL. EFL is compiled using `-D opengl=full`. The `wl` and `drm` options are disabled. ``` ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:3744 _clear_selection() safety check failed: cbs->cancel is false ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:4011 _ecore_evas_x_selection_clear() safety check failed: ee is false ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:3744 _clear_selection() safety check failed: cbs->cancel is false ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:4011 _ecore_evas_x_selection_clear() safety check failed: ee is false ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:2344 efl_data_scope_safe_get() Eo ID 0x4000002a288c is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=0, current_domain=0, local_domain=0, available_domains=[0 1 ], generation=8c, id=a8a, ref=1) ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:522 evas_object_event_callback_del() safety check failed: obj == NULL COMP: suspend COMP: resume ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:491 evas_object_event_callback_priority_add() safety check failed: eo_obj == NULL ERR<13302>:eina_safety ../enlightenment-0.25.4/src/bin/e_comp_object.c:3017 e_comp_object_util_del_list_append() safety check failed: to_del == NULL ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:evas_main ../efl-1.26.3/src/lib/evas/canvas/evas_object_smart.c:151 evas_object_smart_data_get() calling smart object API on non-smart object! ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:3744 _clear_selection() safety check failed: cbs->cancel is false ERR<13302>:eina_safety ../efl-1.26.3/src/modules/ecore_evas/engines/x/ecore_evas_x.c:4011 _ecore_evas_x_selection_clear() safety check failed: ee is false ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:2344 efl_data_scope_safe_get() Eo ID 0x400000089265 is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=0, current_domain=0, local_domain=0, available_domains=[0 1 ], generation=265, id=224, ref=1) ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:522 evas_object_event_callback_del() safety check failed: obj == NULL ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:2344 efl_data_scope_safe_get() Eo ID 0x40000021bf00 is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=0, current_domain=0, local_domain=0, available_domains=[0 1 ], generation=300, id=86f, ref=1) ERR<13302>:eina_safety ../efl-1.26.3/src/lib/evas/canvas/evas_callbacks.c:522 evas_object_event_callback_del() safety check failed: obj == NULL COMP: suspend COMP: resume COMP: suspend COMP: resume COMP: suspend COMP: resume ERR<13302>:eina_safety ../efl-1.26.3/src/lib/eina/eina_hash.c:1078 eina_hash_find() safety check failed: key == NULL ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x4000002c947d[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'. ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x4000003f8489[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'. ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x4000002d38a1[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'. ERR<13302>:eo ../efl-1.26.3/src/lib/eo/eo.c:643 _efl_object_call_resolve() in src/lib/edje/efl_layout_signal.eo.c:4: func 'efl_layout_signal_emit' (5767171) could not be resolved on Efl.Canvas.Group@0x400000251cad[2]:(0,0 0x0):children=2:smart_class=e_icon for class 'Efl.Canvas.Group'. FP: e_auth_fprint_begin FP: obj=0x55711de1eb60 FP: proxy=0x55711e88cb00 FP: get default device... FP: Fprint err: org.freedesktop.DBus.Error.ServiceUnknown The name net.reactivated.Fprint was not provided by any .service files AUTH: Password OK X I/O Error - fatal. Exiting ``` This is what Steam seems to have logged: ``` [0716/150451.314903:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglMakeCurrent: Failed to make the GLX context current [0716/150451.632072:ERROR:x11_util.cc(112)] X IO error received (X server probably went away) ``` This is the xorg log: ``` [ 17987.724] (EE) [ 17987.724] (EE) Backtrace: [ 17987.724] (EE) 0: /usr/bin/X (xorg_backtrace+0x54) [0x55bda87d6f94] [ 17987.724] (EE) 1: /usr/bin/X (0x55bda869b000+0x13fc79) [0x55bda87dac79] [ 17987.724] (EE) 2: /lib64/libc.so.6 (0x7f53e6da3000+0x384e0) [0x7f53e6ddb4e0] [ 17987.724] (EE) 3: /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so (0x7f53e5000000+0x8de8f0) [0x7f53e58de8f0] [ 17987.724] (EE) [ 17987.724] (EE) Segmentation fault at address 0x10 [ 17987.724] (EE) Fatal server error: [ 17987.724] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 17987.724] (EE) [ 17987.724] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 17987.724] (EE) Please also check the log file at "/home/jungleman/.local/share/xorg/Xorg.0.log" for additional information. [ 17987.724] (EE) [ 17988.030] (EE) Server terminated with error (1). Closing log file. ```
Owner

That's your xserver crashing... that'd mean best rrpots to your xorg maintainers - possibly driver maintainerts (nvidia). reality is xorg maintainers won't care because you're using the nvidia closed blob. they will wash their hands of it. So contact nvidia and hope for the best. There is nothing E can do about the xserver crashing. it's a different process.

That's your xserver crashing... that'd mean best rrpots to your xorg maintainers - possibly driver maintainerts (nvidia). reality is xorg maintainers won't care because you're using the nvidia closed blob. they will wash their hands of it. So contact nvidia and hope for the best. There is nothing E can do about the xserver crashing. it's a different process.
Author

Thank you for the insight!

I just read around and I think the issue might be related to problems with GPU acceleration on Steam and Nvidia. If I find some more useful information, I will add it here for anyone having similar problems.

Thank you for the insight! I just read around and I think the issue might be related to problems with GPU acceleration on Steam and Nvidia. If I find some more useful information, I will add it here for anyone having similar problems.
Owner

It'll be entirely an issue inside the nvidia driver (most likely) and not steam. steam may just set upt he conditions to show the bug happening, but the but won't be in steam. given it's the xserver crashing - the problem is in there. 90% chance it's the nvidia driver module that xorg loads rather than xorg internals itself.

a lot of people make the mistake of assuming just because some process runs and the crash happens then that it's that process at fault. often enough with processes interacting, this process just sets up the conditions to show an existing bug that was not detected before.

It'll be entirely an issue inside the nvidia driver (most likely) and not steam. steam may just set upt he conditions to show the bug happening, but the but won't be in steam. given it's the xserver crashing - the problem is in there. 90% chance it's the nvidia driver module that xorg loads rather than xorg internals itself. a lot of people make the mistake of assuming just because some process runs and the crash happens then that it's that process at fault. often enough with processes interacting, this process just sets up the conditions to show an existing bug that was not detected before.
Author

Well I sent an email to linux-bugs@nvidia.com. I gave them all of the information I have. Will update the thread if anything interesting happens.

Well I sent an email to linux-bugs@nvidia.com. I gave them all of the information I have. Will update the thread if anything interesting happens.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: enlightenment/enlightenment#45
No description provided.