elementary / dock

A quick app launcher and window switcher for Pantheon and elementary OS
https://elementary.io
GNU General Public License v3.0
88 stars 23 forks source link

Freeze os minimizing flatpak apps #126

Closed aqp696 closed 3 years ago

aqp696 commented 3 years ago

What Happened

Minimize and maximize the appcenter (in general any flatpak application) freezes the os

Expected Behavior

You can minimize and maximize as many times as you want without a crash in the os

Steps to Reproduce

  1. Open AppCenter
  2. Click multiple times on the AppCenter's icon in the dock to maximize and minimize the window of the browser until the desktop freezes

Logs

The relevant contents of /var/log/syslog

Aug 31 20:53:11 Maximus-II-Formula-1c04b597 pulseaudio[1131]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possib
le causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network 
connection was broken.
Aug 31 20:53:11 Maximus-II-Formula-1c04b597 io.elementary.w[1434]: Manager.vala:58: Error al llamar StartSereviceByName para org.bluez: Failed to activate se
rvice 'org.bluez': timed out (service_start_timeout=25000ms)
Aug 31 20:53:16 Maximus-II-Formula-1c04b597 systemd[1]: systemd-hostnamed.service: Succeeded.
Aug 31 20:53:16 Maximus-II-Formula-1c04b597 systemd[1]: systemd-timedated.service: Succeeded.
Aug 31 20:53:18 Maximus-II-Formula-1c04b597 systemd[1]: systemd-localed.service: Succeeded.
Aug 31 20:53:20 Maximus-II-Formula-1c04b597 io.elementary.w[1434]: DBusService.vala:64: Service registration suceeded
Aug 31 20:53:20 Maximus-II-Formula-1c04b597 dbus-daemon[749]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' request
ed by ':1.96' (uid=1000 pid=1622 comm="/usr/lib/x86_64-linux-gnu/io.elementary.wingpanel." label="unconfined")
Aug 31 20:53:20 Maximus-II-Formula-1c04b597 systemd[1]: Condition check resulted in Bluetooth service being skipped.
Aug 31 20:53:26 Maximus-II-Formula-1c04b597 gala[1410]: clutter_actor_add_effect_with_name: assertion 'CLUTTER_IS_ACTOR (self)' failed
Aug 31 20:53:26 Maximus-II-Formula-1c04b597 gala[1410]: clutter_actor_remove_child: assertion 'CLUTTER_IS_ACTOR (child)' failed
Aug 31 20:53:26 Maximus-II-Formula-1c04b597 gala[1410]: invalid (NULL) pointer instance
Aug 31 20:53:26 Maximus-II-Formula-1c04b597 gala[1410]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 geoclue[1513]: Service not used for 60 seconds. Shutting down..
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 systemd[1]: geoclue.service: Succeeded.
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 dbus-daemon[749]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.ser
vice' requested by ':1.97' (uid=1000 pid=1673 comm="io.elementary.appcenter -s " label="unconfined")
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 systemd[1]: Starting PackageKit Daemon...
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 PackageKit: daemon start
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 dbus-daemon[749]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Aug 31 20:53:48 Maximus-II-Formula-1c04b597 systemd[1]: Started PackageKit Daemon.
Aug 31 20:53:52 Maximus-II-Formula-1c04b597 PackageKit: get-packages transaction /210_debbbbab from uid 1000 finished with success after 848ms
Aug 31 20:53:52 Maximus-II-Formula-1c04b597 PackageKit: resolve transaction /211_ccedbbce from uid 1000 finished with success after 349ms
Aug 31 20:53:53 Maximus-II-Formula-1c04b597 PackageKit: get-details transaction /212_dbdcdaac from uid 1000 finished with success after 357ms
Aug 31 20:53:53 Maximus-II-Formula-1c04b597 PackageKit: resolve transaction /213_dadbbcbb from uid 1000 finished with success after 359ms
Aug 31 20:53:53 Maximus-II-Formula-1c04b597 PackageKit: get-details transaction /214_bcadadea from uid 1000 finished with success after 384ms
Aug 31 20:53:54 Maximus-II-Formula-1c04b597 PackageKit: depends-on transaction /215_acdbebac from uid 1000 finished with success after 401ms
Aug 31 20:53:55 Maximus-II-Formula-1c04b597 PackageKit: get-packages transaction /216_edbdcbbe from uid 1000 finished with success after 626ms
Aug 31 20:53:55 Maximus-II-Formula-1c04b597 PackageKit: resolve transaction /217_decddaad from uid 1000 finished with success after 369ms
Aug 31 20:53:55 Maximus-II-Formula-1c04b597 PackageKit: get-details transaction /218_cdcedeea from uid 1000 finished with success after 375ms
Aug 31 20:53:56 Maximus-II-Formula-1c04b597 PackageKit: resolve transaction /219_badcacec from uid 1000 finished with success after 376ms
Aug 31 20:53:56 Maximus-II-Formula-1c04b597 PackageKit: get-details transaction /220_dbcbbaab from uid 1000 finished with success after 371ms
Aug 31 20:53:57 Maximus-II-Formula-1c04b597 PackageKit: depends-on transaction /221_dadebaeb from uid 1000 finished with success after 430ms
Aug 31 20:53:57 Maximus-II-Formula-1c04b597 PackageKit: get-packages transaction /222_cabeaeae from uid 1000 finished with success after 630ms
Aug 31 20:53:58 Maximus-II-Formula-1c04b597 PackageKit: resolve transaction /223_ddaeaabd from uid 1000 finished with success after 402ms
Aug 31 20:53:58 Maximus-II-Formula-1c04b597 PackageKit: get-details transaction /224_bcaaedec from uid 1000 finished with success after 377ms
Aug 31 20:53:59 Maximus-II-Formula-1c04b597 PackageKit: resolve transaction /225_bebdccaa from uid 1000 finished with success after 370ms
Aug 31 20:53:59 Maximus-II-Formula-1c04b597 PackageKit: get-details transaction /226_dbadcbea from uid 1000 finished with success after 364ms
Aug 31 20:53:59 Maximus-II-Formula-1c04b597 PackageKit: depends-on transaction /227_aeecceac from uid 1000 finished with success after 384ms
Aug 31 20:54:00 Maximus-II-Formula-1c04b597 PackageKit: get-packages transaction /228_dacccaec from uid 1000 finished with success after 619ms
Aug 31 20:54:01 Maximus-II-Formula-1c04b597 PackageKit: get-updates transaction /229_ebcdebee from uid 1000 finished with success after 560ms
Aug 31 20:54:01 Maximus-II-Formula-1c04b597 dbus-daemon[749]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesk
top.locale1.service' requested by ':1.97' (uid=1000 pid=1673 comm="io.elementary.appcenter -s " label="unconfined")
Aug 31 20:54:01 Maximus-II-Formula-1c04b597 systemd[1]: Starting Locale Service...
Aug 31 20:54:01 Maximus-II-Formula-1c04b597 dbus-daemon[749]: [system] Successfully activated service 'org.freedesktop.locale1'
Aug 31 20:54:01 Maximus-II-Formula-1c04b597 systemd[1]: Started Locale Service.
Aug 31 20:54:32 Maximus-II-Formula-1c04b597 systemd[1]: systemd-localed.service: Succeeded.
Aug 31 20:56:49 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:49 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:49 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:50 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:50 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:50 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:50 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:50 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:51 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:51 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:52 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:52 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:52 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:53 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:53 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:53 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:53 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:53 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:54 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:54 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:54 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:54 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:54 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:55 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:56 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:56:56 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.
Aug 31 20:56:56 Maximus-II-Formula-1c04b597 gala[1410]: Error in minimize accounting.
Aug 31 20:57:05 Maximus-II-Formula-1c04b597 gala[1410]: message repeated 19 times: [ Error in minimize accounting.]
Aug 31 20:57:05 Maximus-II-Formula-1c04b597 gala[1410]: Error in unminimize accounting.

Platform Information

DISTRIB_ID=elementary
DISTRIB_RELEASE=6
DISTRIB_CODENAME=odin
DISTRIB_DESCRIPTION="elementary OS 6 Odin"
NAME="elementary OS"
VERSION="6 Odin"
ID=elementary
ID_LIKE=ubuntu
PRETTY_NAME="elementary OS 6 Odin"
LOGO=distributor-logo
VERSION_ID="6"
HOME_URL="https://elementary.io/"
DOCUMENTATION_URL="https://elementary.io/docs/learning-the-basics"
SUPPORT_URL="https://elementary.io/support"
BUG_REPORT_URL="https://github.com/elementary/os/issues/new"
PRIVACY_POLICY_URL="https://elementary.io/privacy-policy"
VERSION_CODENAME=odin
UBUNTU_CODENAME=focal
aqp696 commented 3 years ago

Another crash, this one is no related to the minimize. Maybe I should create an issue in elementary/os

Sep  1 13:09:32 Maximus-II-Formula-1c04b597 zeitgeist-datah[1588]: zeitgeist-datahub.vala:210: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
Sep  1 13:09:35 Maximus-II-Formula-1c04b597 gala[1423]: clutter_actor_remove_child: assertion 'CLUTTER_IS_ACTOR (child)' failed
Sep  1 13:09:35 Maximus-II-Formula-1c04b597 gala[1423]: invalid (NULL) pointer instance
Sep  1 13:09:35 Maximus-II-Formula-1c04b597 gala[1423]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Sep  1 13:09:38 Maximus-II-Formula-1c04b597 pulseaudio[1140]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Sep  1 13:09:38 Maximus-II-Formula-1c04b597 io.elementary.w[1442]: Manager.vala:58: Error al llamar StartSereviceByName para org.bluez: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)

As the time of writing is virtually unusable in my machine image

aqp696 commented 3 years ago

I am going to close this issue. I was investigating myself and It appears to be a problem with the open source driver nouveau for nvidia gpu's. I post here the driver that fixes my issue: 390.144 (More info here)