!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

397 Members
Gaming things, my hands are typing words.108 Servers

Load older messages


SenderMessageTime
27 Jul 2025
@k900:0upti.meK900Yeah I figured that one out05:48:03
@k900:0upti.meK900OK so05:53:07
@k900:0upti.meK900I added logging to every fucking wrapper in the chain05:53:14
@k900:0upti.meK900
 exec -a umu-run /home/k900/test/umu-run-wrapped <blah blah game>
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
# installing zipimport hook
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
import 'zipimport' # <class '_frozen_importlib.FrozenImporter'>
# installed zipimport hook
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__init__.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <class '_frozen_importlib.FrozenImporter'>
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/aliases.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3ba210>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3352b0>
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/utf_8.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3ba350>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'abc' # <class '_frozen_importlib.FrozenImporter'>
import 'io' # <class '_frozen_importlib.FrozenImporter'>
05:53:35
@k900:0upti.meK900And it just dies there05:53:45
@charles:computer.surgeryCharlesthe only thing i can think of is that exec doesn't create a new process, so maybe somehow the shell process has some kind of state somewhere that the exec'd thing ends up inheriting that causes it to explode, and i have no idea how to go about testing/falsifying that idea05:55:41
@k900:0upti.meK900Oh god05:56:34
@k900:0upti.meK900I think I figured it out05:56:38
@charles:computer.surgeryCharleswhat did you see, denvercoder905:57:23
@k900:0upti.meK900Or maybe not06:00:09
@k900:0upti.meK900It's like it's getting killed at a random point06:00:17
@k900:0upti.meK900I wonder if this is some python subprocess.popen nonsense06:00:36
@k900:0upti.meK900Because Legendary is just doing subprocess.popen06:00:45
@charles:computer.surgeryCharlesnot a consistent point?06:00:49
@k900:0upti.meK900Nope06:04:38
@k900:0upti.meK900OK so I think what MIGHT be happening is that something is not detaching somewhere06:05:19
@k900:0upti.meK900So when the Python parent dies, we die with it06:05:26
@k900:0upti.meK900WAIT IS THIS BUBBLEWRAP06:05:29
@k900:0upti.meK900Motherfucker it is06:07:08
@k900:0upti.meK900We default to --die-with-parent06:07:15
@k900:0upti.meK900And Legendary doesn't wait for the process06:07:29
@k900:0upti.meK900So we just die06:07:30
@k900:0upti.meK900Immediately06:07:32
@k900:0upti.meK900 @aidalgol gottem 06:08:31
@aidalgol:matrix.orgaidalgolyay!06:10:06
@aidalgol:matrix.orgaidalgolthank you!06:10:08
@aidalgol:matrix.orgaidalgolSo where does the change need to be made? In the nix derivation that lives in the umu repo?06:10:38
@k900:0upti.meK900I'm not sure if die-with-parent by default even makes sense for fhsenvs tbh06:10:42
@k900:0upti.meK900I'm doing one final test06:10:58
@k900:0upti.meK900And I can push to your PR I guess06:11:04

Show newer messages


Back to Room ListRoom Version: 10