Lately, I've been having a problem where the Linux desktop app will crash. Not sure exactly what triggers it but it is usually after sending or receiving a message (i.e., it doesn't seem to just happen out of nowhere when there is no activity). Then, when I try to relaunch, it will immediately crash again, and the only way I can seem to get it to launch again is by removing the app via snap and reinstalling/reconfiguring the app. Below is the information I get when launching it from a terminal that seems most relevant, leading right up to the crash (there are a bunch of debug messages that precede this that I left out, since they include phone numbers, etc., and hopefully aren't related to the problem). Running on Ubuntu 23.04. The Android app seems to work fine, and I don't see any errors on my Mac (Ventura) desktop with BlueBubbles 1.80.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.13892" (uid=1000 pid=36107 comm="/snap/bluebubbles/27/bin/bluebubbles" label="snap.bluebubbles.bluebubbles (enforce)") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=912 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
#0 DBusClient._callMethod (package:dbus/src/dbus_client.dart:1124)
#1 DBusClient.callMethod (package:dbus/src/dbus_client.dart:608)
#2 DBusRemoteObjectManager.getManagedObjects (package:dbus/src/dbus_remote_object_manager.dart:80)
#3 NetworkManagerClient.connect (package:nm/src/network_manager_client.dart:2351)
#4 ConnectivityPlusLinuxPlugin.checkConnectivity (package:connectivity_plus/src/connectivity_plus_linux.dart:24)
#5 NetworkTasks.detectLocalhost (package:bluebubbles/helpers/network/network_tasks.dart:52)
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.13893" (uid=1000 pid=36107 comm="/snap/bluebubbles/27/bin/bluebubbles" label="snap.bluebubbles.bluebubbles (enforce)") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=912 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
#0 DBusClient._callMethod (package:dbus/src/dbus_client.dart:1124)
#1 DBusClient.callMethod (package:dbus/src/dbus_client.dart:608)
#2 DBusRemoteObjectManager.getManagedObjects (package:dbus/src/dbus_remote_object_manager.dart:80)
#3 NetworkManagerClient.connect (package:nm/src/network_manager_client.dart:2351)
#4 ConnectivityPlusLinuxPlugin._startListenConnectivity (package:connectivity_plus/src/connectivity_plus_linux.dart:64)
ALSA lib conf.c:4553:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
media_kit: VideoOutput: video_output_new: 139914398444400
Cannot load libcuda.so.1
media_kit: VideoOutput: Using H/W rendering.
Segmentation fault (core dumped)
Lately, I've been having a problem where the Linux desktop app will crash. Not sure exactly what triggers it but it is usually after sending or receiving a message (i.e., it doesn't seem to just happen out of nowhere when there is no activity). Then, when I try to relaunch, it will immediately crash again, and the only way I can seem to get it to launch again is by removing the app via snap and reinstalling/reconfiguring the app. Below is the information I get when launching it from a terminal that seems most relevant, leading right up to the crash (there are a bunch of debug messages that precede this that I left out, since they include phone numbers, etc., and hopefully aren't related to the problem). Running on Ubuntu 23.04. The Android app seems to work fine, and I don't see any errors on my Mac (Ventura) desktop with BlueBubbles 1.80.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.13892" (uid=1000 pid=36107 comm="/snap/bluebubbles/27/bin/bluebubbles" label="snap.bluebubbles.bluebubbles (enforce)") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=912 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
#0 DBusClient._callMethod (package:dbus/src/dbus_client.dart:1124)
#1 DBusClient.callMethod (package:dbus/src/dbus_client.dart:608)
#2 DBusRemoteObjectManager.getManagedObjects (package:dbus/src/dbus_remote_object_manager.dart:80)
#3 NetworkManagerClient.connect (package:nm/src/network_manager_client.dart:2351)
#4 ConnectivityPlusLinuxPlugin.checkConnectivity (package:connectivity_plus/src/connectivity_plus_linux.dart:24)
#5 NetworkTasks.detectLocalhost (package:bluebubbles/helpers/network/network_tasks.dart:52)
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.13893" (uid=1000 pid=36107 comm="/snap/bluebubbles/27/bin/bluebubbles" label="snap.bluebubbles.bluebubbles (enforce)") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=912 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
#0 DBusClient._callMethod (package:dbus/src/dbus_client.dart:1124)
#1 DBusClient.callMethod (package:dbus/src/dbus_client.dart:608)
#2 DBusRemoteObjectManager.getManagedObjects (package:dbus/src/dbus_remote_object_manager.dart:80)
#3 NetworkManagerClient.connect (package:nm/src/network_manager_client.dart:2351)
#4 ConnectivityPlusLinuxPlugin._startListenConnectivity (package:connectivity_plus/src/connectivity_plus_linux.dart:64)
ALSA lib conf.c:4553:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
media_kit: VideoOutput: video_output_new: 139914398444400
Cannot load libcuda.so.1
media_kit: VideoOutput: Using H/W rendering.
Segmentation fault (core dumped)