-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
Bug Description
I have installed AppFlowy via snap, flatpak, and finally deb/dpkg as after upgrading the snap the app crashes a lot. I was finally able to get a console output from the deb package and it gives me the following error:
...
(AppFlowy:138985): Gdk-CRITICAL **: 13:25:58.631: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
flutter: Error saving preferences to disk: FileSystemException: Cannot open file, path = '/home/user/.local/share/io.appflowy.appflowy/shared_preferences.json' (OS Error: Too many open files, errno = 24)
flutter: Error saving preferences to disk: FileSystemException: Cannot open file, path = '/home/user/.local/share/io.appflowy.appflowy/shared_preferences.json' (OS Error: Too many open files, errno = 24)
flutter: Error saving preferences to disk: FileSystemException: Cannot open file, path = '/home/user/.local/share/io.appflowy.appflowy/shared_preferences.json' (OS Error: Too many open files, errno = 24)
flutter: Error saving preferences to disk: FileSystemException: Cannot open file, path = '/home/user/.local/share/io.appflowy.appflowy/shared_preferences.json' (OS Error: Too many open files, errno = 24)
flutter: Error saving preferences to disk: FileSystemException: Cannot open file, path = '/home/user/.local/share/io.appflowy.appflowy/shared_preferences.json' (OS Error: Too many open files, errno = 24)
(AppFlowy:138985): Gtk-WARNING **: 13:25:59.017: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Error opening file /usr/share/icons/Yaru/16x16/status/image-missing.png: Too many open files (g-io-error-quark, 31)
Bail out! Gtk:ERROR:../../../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Error opening file /usr/share/icons/Yaru/16x16/status/image-missing.png: Too many open files (g-io-error-quark, 31)
Aborted
This is in Ubuntu 25.04
How to Reproduce
Launch AppFlowy, do stuff, do more stuff, and eventually the app will crash. It does not seem related to user input. Often it is when switching context back to the app.
Expected Behavior
That the app would not crash.
Operating System
Ubuntu 25.04
AppFlowy Version(s)
0.9.9
Screenshots
No response
Additional Context
Similar crash pattern across snap, flatpak, and deb.
Metadata
Metadata
Assignees
Labels
No labels