Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Flatpak/Bottles-CLI: Starting two mono applications crashes both

Open NetDwarf opened this issue 3 weeks ago • 0 comments

Describe the bug

Starting multiple .Net Framework/mono applications in same bottle crashes both applications. Likely not present outside of Flatpak. I cannot rule out that it affects more than just mono applications, but definitely not all applications.

The bottle also keeps being open even after the windows were killed. flatpak kill com.usebottles.bottles is the only way to remove these crashed processes.

To Reproduce

  1. Install Bottles
  2. Run mono application like so flatpak run --command=bottles-cli com.usebottles.bottles run -b <Bottle> -p <Program> or flatpak run --command=bottles-cli com.usebottles.bottles shell -b <Bottle> -i c:/path/to/program.exe
  3. Start another mono application (or the same)

Or:

  1. Install Bottles
  2. Create desktop shortcut for mono application
  3. Start it twice

(fundamentally the same thing as it uses bottles-cli)

Package

Flatpak from Flathub

Distribution

OpenSuse Tumbleweed

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /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.9.3-1-default
Disk:
    Total: 16463863808
    Free: 16463699968
RAM:
    MemTotal: 30.7GiB
    MemAvailable: 13.0GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

Things I tried (among others):

  • installing Bottles from scratch in a VM (same problem)
  • trying non-mono application - namely explorer.exe (works!)
  • opening multiple mono applications inside bottles GUI (works!)
  • run one via bottles-cli shell and one with bottles-cli run (works!)

NetDwarf avatar Jun 11 '24 15:06 NetDwarf