VocalPodcastProject / vocal

A powerful, beautiful, and simple podcast client for the modern free desktop.
GNU General Public License v3.0
346 stars 49 forks source link

Error on Ubuntu 20.04 - 'BadAlloc (insufficient resources for operation)' #480

Closed gwi2014 closed 2 years ago

gwi2014 commented 3 years ago

Prerequisites

Describe the bug

I installed the flatpak on Ubuntu 20.04 and it crashes instantly with

flatpak run com.github.needleandthread.vocal 

(com.github.needleandthread.vocal:2): Gdk-ERROR **: 13:59:29.117: The program 'com.github.needleandthread.vocal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 210 error_code 11 request_code 149 (unknown) minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

To Reproduce

Steps to reproduce the behavior:

> flatpak list
Name                                               Application ID                                 Version           Branch           Installation
default                                            org.freedesktop.Platform.GL.default                              19.08            system
openh264                                           org.freedesktop.Platform.openh264              2.1.0             2.0              system
GNOME Application Platform version 3.36            org.gnome.Platform                                               3.36             system
Yaru-dark Gtk Theme                                org.gtk.Gtk3theme.Yaru-dark                                      3.22             system

> flatpak install --from https://flathub.org/repo/appstream/com.github.needleandthread.vocal.flatpakref

com.github.needleandthread.vocal permissions:
    ipc      network      pulseaudio      wayland      x11      dri     file access [1]     dbus access [2]

    [1] /tmp, home, xdg-data/vocal:create
    [2] org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager, org.gnome.SettingsDaemon.MediaKeys, org.gtk.vfs, org.gtk.vfs.*,
        org.mate.SettingsDaemon, org.xfce.SessionManager

        ID                                                 Branch            Op            Remote             Download
 1. [✓] com.github.needleandthread.vocal.Locale            stable            i             flathub            21,8 kB / 282,4 kB
 2. [✓] com.github.needleandthread.vocal                   stable            i             flathub            11,2 MB / 20,5 MB

Installation complete.

 > flatpak run com.github.needleandthread.vocal 

(com.github.needleandthread.vocal:2): Gdk-ERROR **: 13:59:29.117: The program 'com.github.needleandthread.vocal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 210 error_code 11 request_code 149 (unknown) minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Expected behavior

The program should start without an error.

Platform Information

Please share as many of the following details as possible:

Please check the applicable option below:

nathandyer commented 2 years ago

Thanks so much for your report! I believe this was partially caused by our video playback implementation, which has been removed in the newest version of Vocal. I'm going to mark this as fixed, but please let me know if you continue to experience issues once the new release is published in a few weeks time. Thank you!