Skip to content

[Bug]: bottles scope does not properly close on shutdown; times out before being killed by systemd #4423

@riflesniper

Description

@riflesniper

Describe the bug

whenever i shut down my system after opening bottles or software ran though it, the bottles scope takes about 1 and a half to 2 minutes to time out before systemd kills it to go on with the rest of the shutdown process.

To Reproduce

simply shut down the system after running bottles or any software using it. that's it.

Package

Flatpak from Flathub

Distribution

CachyOS

Debugging Information

Official Package: true
Version: '62.0'
DE/WM: /usr/share/wayland-sessions/plasma.desktop
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.19.5-3-cachyos
Disk:
    Total: 16351969280
    Free: 16351805440
RAM:
    MemTotal: 30.5GiB
    MemAvailable: 22.8GiB
Bottles_envs: null

Troubleshooting Logs

journalctl -b -1 | grep bottles

Mar 06 09:24:38 boobless systemd[1629]: Started app-flatpak-com.usebottles.bottles-2661901654.scope.
Mar 06 09:29:12 boobless systemd[1629]: Stopping app-flatpak-com.usebottles.bottles-2661901654.scope...
Mar 06 09:30:42 boobless systemd[1629]: app-flatpak-com.usebottles.bottles-2661901654.scope: Stopping timed out. Killing.
Mar 06 09:30:42 boobless systemd[1629]: app-flatpak-com.usebottles.bottles-2661901654.scope: Killing process 12690 (bwrap) with signal SIGKILL.
Mar 06 09:30:42 boobless systemd[1629]: app-flatpak-com.usebottles.bottles-2661901654.scope: Killing process 12762 (winedevice.exe) with signal SIGKILL.
Mar 06 09:30:42 boobless systemd[1629]: app-flatpak-com.usebottles.bottles-2661901654.scope: Failed with result 'timeout'.
Mar 06 09:30:42 boobless systemd[1629]: Stopped app-flatpak-com.usebottles.bottles-2661901654.scope.
Mar 06 09:30:42 boobless systemd[1629]: app-flatpak-com.usebottles.bottles-2661901654.scope: Consumed 1min 37.855s CPU time over 6min 3.788s wall clock time, 10G memory peak.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions