Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: wineserver terminates when user closes one of the instances which were launched from the same "desktop" file

Open xalt7x opened this issue 2 years ago • 1 comments

Describe the bug

Sometimes user needs to launch a second instance of the program. But there's a risk that at some cases on of the instances will get terminated (freezing or closing).

It's reproducible with desktop files.

Screencast from 2023-03-01 17-22-48.webm

To Reproduce

  1. Open any bottle
  2. Click "Browse files" button at menu on the headerbar.
  3. Copy bottle location path
  4. Click "Add Shortcuts..."
  5. Go to the bottle location, then "windows" folder and select "notepad.exe"
  6. At the "Programs" section new item will appear with the name "notepad".
  7. Click on the menu of the "notepad" Programs item and select "Add Desktop Entry"
  8. From your Application menu or File manager try to launch two instances one by one.
  9. Close second instance
  10. "wineserver.exe" process terminates and first instance either freezes (KDE Plasma 5.24 X11) or closes (GNOME 43 Wayland)

Package

Flatpak from Flathub

Distribution

Fedora 37

Debugging Information

Official Package: true
Version: '51.5'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors: {}
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.1.14-200.fc37.x86_64
Disk:
    Total: 2052907008
    Free: 2052759552
RAM:
    MemTotal: 3.8GiB
    MemAvailable: 1.6GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

That doesn't happen with "Dedicated Sandbox" enabled. Or if I launch other instance using "Launch with Terminal" in "Bottles"

xalt7x avatar Mar 01 '23 15:03 xalt7x

In fact, in games it happens that when you open a second instance, the first one freezes. Before, you could open more than one instance in the games without problems, but now you can't.

aleex5 avatar May 22 '25 17:05 aleex5