Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bottles fails to open after updates. #3218

Closed
ChaosEngine60 opened this issue Dec 26, 2023 · 8 comments
Closed

[Bug]: Bottles fails to open after updates. #3218

ChaosEngine60 opened this issue Dec 26, 2023 · 8 comments

Comments

@ChaosEngine60
Copy link

ChaosEngine60 commented Dec 26, 2023

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.

@MINE5168
Copy link

MINE5168 commented Dec 27, 2023

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'

@ChaosEngine60
Copy link
Author

Error from Warehouse:

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

@HubKing
Copy link

HubKing commented Dec 28, 2023

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

@ChaosEngine60
Copy link
Author

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

@MINE5168
Copy link

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.

@ChaosEngine60
Copy link
Author

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 ChaosEngine60 changed the title Bottles fails to open after updates. [Bug]: Bottles fails to open after updates. Jan 3, 2024
@mirkobrombin
Copy link
Member

Cannot replicate.

@diggernet
Copy link

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. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants