Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Bottles fails to open after updates.

Open ChaosEngine60 opened this issue 1 year ago • 6 comments

Describe the bug

flatpak run com.usebottles.bottlesult:- *** stack smashing detected ***: terminated

To Reproduce

flatpak run com.usebottles.bottles Result:- *** stack smashing detected ***: terminated

Package

Flatpak from Flathub

Distribution

Linux Mint 21.2 Cinnamon

Debugging Information

Version: '51.9'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: null
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.15.0-91-generic
Disk:
    Total: 8359309312
    Free: 8359141376
RAM:
    MemTotal: 15.6GiB
    MemAvailable: 12.3GiB
Bottles_envs: null

Troubleshooting Logs

~$ flatpak run com.usebottles.bottles
*** stack smashing detected ***: terminated

Additional context

Was working fine about 2 days ago. As far as I can tell, the issue started to occur after some Flatpak updates came in.

ChaosEngine60 avatar Dec 26 '23 22:12 ChaosEngine60

I have the same, especially with a Steam shortcut. Games won't launch anymore. On SteamOS

Traceback (most recent call last): File "/app/bin/bottles-cli", line 652, in cli = CLI() ^^^^^ File "/app/bin/bottles-cli", line 150, in init self.__process_args() File "/app/bin/bottles-cli", line 199, in __process_args self.run_program() File "/app/bin/bottles-cli", line 574, in run_program _args = program.get("arguments", "") + " " + _args ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

MINE5168 avatar Dec 27 '23 04:12 MINE5168

Error from Warehouse:

Command '['flatpak-spawn', '--host', 'flatpak', 'run', 'com.usebottles.bottles/x86_64/stable']' returned non-zero exit status 134.

ChaosEngine60 avatar Dec 27 '23 14:12 ChaosEngine60

I get the following. Arch, Flatpak.

Traceback (most recent call last):
  File "/app/bin/bottles", line 44, in <module>
    from bottles.frontend import main
  File "/app/share/bottles/bottles/frontend/main.py", line 36, in <module>
    from bottles.frontend.windows.main_window import MainWindow
  File "/app/share/bottles/bottles/frontend/windows/main_window.py", line 30, in <module>
    from bottles.backend.managers.manager import Manager
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 39, in <module>
    from bottles.backend.managers.component import ComponentManager
  File "/app/share/bottles/bottles/backend/managers/component.py", line 25, in <module>
    import pycurl
ImportError: pycurl: libcurl link-time version (8.2.1-DEV) is older than compile-time version (8.4.0-DEV)

image image

HubKing avatar Dec 28 '23 11:12 HubKing

Issue seems to be with 51.10. If I downgrade to 51.9 Bottles works fine.

Dec 29 11:29:12 pull com.usebottles.bottles stable system flathub Dec 29 11:29:13 deploy update com.usebottles.bottles stable system flathub Dec 30 12:13:45 uninstall org.gnome.Platform.Compat.i386 45 system Dec 30 12:15:39 deploy update com.usebottles.bottles ~$ flatpak run com.usebottles.bottles *** stack smashing detected ***: terminated

ChaosEngine60 avatar Dec 30 '23 14:12 ChaosEngine60

Issue seems to be with 51.10. If I downgrade to 51.9 Bottles works fine.

Dec 29 11:29:12 pull com.usebottles.bottles stable system flathub Dec 29 11:29:13 deploy update com.usebottles.bottles stable system flathub Dec 30 12:13:45 uninstall org.gnome.Platform.Compat.i386 45 system Dec 30 12:15:39 deploy update com.usebottles.bottles ~$ flatpak run com.usebottles.bottles *** stack smashing detected ***: terminated

This also solved the issues for me. Bottles run correctly both through steam and bottles.

MINE5168 avatar Dec 31 '23 10:12 MINE5168

Issue reproduced in 51.10

Jan 1 17:43:11 deploy update com.usebottles.bottles - stable system flathub

:~$ flatpak run com.usebottles.bottles *** stack smashing detected ***: terminated

ChaosEngine60 avatar Jan 01 '24 18:01 ChaosEngine60

Cannot replicate.

mirkobrombin avatar Apr 25 '24 17:04 mirkobrombin

Just ran into this with both Bottles and Hugin. It's caused by some issue between Platform 23.08 and the old Nvidia 390-157 driver, and impacts many Flatpak apps. More details: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1676 Rolling back to Bottles 51.9 fixes it, because that version is using Platform 22.08. Same with an older version of Hugin. Those of us stuck with 390-157 are kind of in a bind, because Platform 22.08 is End of Life. :(

diggernet avatar Jun 14 '24 00:06 diggernet