andyholmes / valent

Connect, control and sync devices
https://valent.andyholmes.ca
Other
592 stars 19 forks source link

App crashes when opening a SMS conversation #742

Open Itay080 opened 3 weeks ago

Itay080 commented 3 weeks ago

Current Behavior

Hi The app crashes when opening a SMS conversation from the messaging menu It also happened in my previous Debian 12 installation and is happening with GSConnect so there may be something wrong with my device (Galaxy Z Fold 4 using Google Messages)

Expected Behavior

The SMS conversation should open normally

Desktop

GNOME Shell

Other Desktop

No response

Operating System

Fedora 40

Installed from

Nightly Flatpak

Version

nightly

Devices

No response

Plugins

No response

Logs

16:13:52.1927                       GLib-GIO:    DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
16:13:52.2004                       GLib-GIO:    DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
16:13:52.2138                        Adwaita:    DEBUG: Setting org.freedesktop.appearance.accent-color of type (ddd) not found
16:13:52.2341                       GLib-GIO:    DEBUG: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ‘gsettings-backend’
16:13:52.2345                       GLib-GIO:    DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
16:13:52.2353                       GLib-GIO:    DEBUG: _g_io_module_get_default: Found default implementation portal (GNetworkMonitorPortal) for ‘gio-network-monitor’
16:13:52.2357                       GLib-GIO:    DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
16:13:52.2377                       GLib-GIO:    DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
16:13:52.5889                      libportal:    DEBUG: calling background
16:13:52.9745                        Tracker:    DEBUG: Current and DB locales match: 'en_US.UTF-8'
16:13:52.9972                        Tracker:    DEBUG: Current and DB locales match: 'en_US.UTF-8'
16:13:53.0032                        Tracker:    DEBUG: Current and DB locales match: 'en_US.UTF-8'
16:13:53.0122                 valent-battery:    DEBUG: ValentBattery: not a battery
16:13:56.3843                        Tracker: CRITICAL: Could not set up interface : unable to open database file
16:13:56.3848                        Tracker: CRITICAL: Could not set up interface : unable to open database: /home/itay/.var/app/ca.andyholmes.Valent/cache/valent/device/c77e74cc_16d9_4429_92af_1058303d0c27/plugin/sms/metadata/valent%3Amessages.db
16:13:56.4318                        Tracker: CRITICAL: Could not update attached databases: unable to open database file

16:13:56.5035         valent-messages-window:  WARNING: lookup_contact_cb(): no such table: valent:contacts.nco:Role_nco:hasContactMedium
16:13:56.5440         valent-messages-window:  WARNING: lookup_contact_cb(): no such table: valent:contacts.nco:Role_nco:hasContactMedium
16:13:57.2595                        Tracker: CRITICAL: Could not update attached databases: unable to open database: /home/itay/.var/app/ca.andyholmes.Valent/cache/valent/device/c77e74cc_16d9_4429_92af_1058303d0c27/plugin/sms/metadata/valent%3Amessages.db

16:13:57.2957              valent-sms-device:  WARNING: valent_sms_device_get_timestamp_cb(): no such table: valent:messages.vmo:PhoneMessage
16:13:58.0373              valent-sms-device:  WARNING: valent_sms_device_get_timestamp_cb(): no such table: valent:messages.vmo:PhoneMessage

(valent:2): Gtk-WARNING **: 16:14:03.852: Failed to load icon /run/host/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg: Failed to open file “/run/host/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg”: Too many open files

(valent:2): Gtk-WARNING **: 16:14:03.852: Failed to load icon /run/host/share/icons/Adwaita/symbolic/actions/view-more-symbolic.svg: Failed to open file “/run/host/share/icons/Adwaita/symbolic/actions/view-more-symbolic.svg”: Too many open files
16:14:05.0585              valent-sms-device:  WARNING: valent_sms_device_get_timestamp_cb(): no such table: valent:messages.vmo:PhoneMessage
16:14:05.9691              valent-sms-device:  WARNING: valent_sms_device_get_timestamp_cb(): no such table: valent:messages.vmo:PhoneMessage
16:14:06.9590              valent-sms-device:  WARNING: valent_sms_device_get_timestamp_cb(): no such table: valent:messages.vmo:PhoneMessage

(valent:2): Gdk-CRITICAL **: 16:14:09.499: ../gdk/wayland/gdkdisplay-wayland.c:1332: creating shared memory file (using memfd_create) failed: Too many open files

(valent:2): Gdk-ERROR **: 16:14:09.499: Unable to create shared memory pool

Screenshots

No response

andyholmes commented 3 weeks ago

You will have to clear the cache fairly regularly. Valent is still in alpha, so the database will be breaking fairly often and I don't plan on doing any migrations until it's more stable.