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]: app crashing after 1 to 5 seconds #3998

Closed
5 of 6 tasks
alexou2 opened this issue Sep 4, 2023 · 3 comments
Closed
5 of 6 tasks

[Bug]: app crashing after 1 to 5 seconds #3998

alexou2 opened this issue Sep 4, 2023 · 3 comments
Labels
B: usability bug Something isn't working

Comments

@alexou2
Copy link

alexou2 commented Sep 4, 2023

Guidelines

  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have encountered this bug in the latest release of FreeTube.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

  1. Launch the flatpak version of freetube
  2. Wait about 1-2 seconds
  3. The app crashes in my case

Expected Behavior

the app souldn't crash

Issue Labels

usability issue

FreeTube Version

0.19.0 Beta

Operating System Version

Kubuntu 23.04

Installation Method

Flathub

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

0.19.0 Beta

Additional Information

I can interact with the app before it crashes.

the error when I start freetube(from the terminal):
LaunchProcess: failed to execvp:
xdg-settings
[2:0904/192325.741751:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0904/192325.741791:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

The error when the app crashes:
[46:0904/192329.806703:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[46:0904/192331.826508:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!

in journalctl:
Sep 04 19:23:25 <pc_name> systemd[1793]: Started app-flatpak-io.freetubeapp.FreeTube-6474.scope.
Sep 04 19:23:25 <pc_name> systemd[1793]: Started app-flatpak-io.freetubeapp.FreeTube-6499.scope.
Sep 04 19:23:33 <pc_name> systemd[1793]: app-flatpak-io.freetubeapp.FreeTube-6474.scope: Consumed 1.546s CPU time.

The app keeps crashing since I forbade it from running in the backgound(there was a kde popup for that asked me if i want freetube running in the background). Thats my best guess for now.

(Edit)
I can make the app last for ~5 seconds if i interact with it.

Nightly Build

@alexou2 alexou2 added the bug Something isn't working label Sep 4, 2023
@alexou2 alexou2 changed the title [Bug]: [Bug]: app crashing after 1 to 5 seconds Sep 5, 2023
@chiefbief
Copy link

I have the same issue.

  • App downloaded from Discover, the Kubuntu Software center (Flatpak, v 0.19) opens for a few seconds and then closes without warning.

@absidue
Copy link
Member

absidue commented Sep 5, 2023

According to #3638 (comment) denying it to run in the background is the cause of the issue.
Not sure why it causes problems or how exactly that flatpak/flatseal setting works but it clearly breaks something in FreeTube.

@chiefbief
Copy link

Yes! Thank you. This works :

  • Install Flatseal from the Software Center
  • When you launch this app it will display a list of all the Flatpak apps that you have installed.
  • Select FreeTube in the right hand pane
  • Scroll almost to the bottom where you will find the setting that will allow the app to run in the background.
  • Restart FreeTube

Thank you @absidue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: usability bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants