oae / gnome-shell-minimize-to-tray

Minimize any app to tray
GNU General Public License v2.0
63 stars 4 forks source link

Gnome crashes when closing app #16

Open dmusican opened 3 years ago

dmusican commented 3 years ago

I've got it set up so that Terminator minimizes to tray. When I close that terminal window by exiting it, Gnome crashes. Sometimes it is fast, and I just see it flicker and restart; sometimes it locks up for a while.

oae commented 3 years ago

Can you provide logs using journalctl -f /usr/bin/gnome-shell? Make sure you run this command before triggering the crash.

dmusican commented 3 years ago

Here you go. Apologies for the late response: I've been trying to capture this error, and it happens intermittently, and it wasn't cooperating with me in that it kept working. It finally occurred agan.

Dec 23 11:29:41 aquarium gnome-shell[175986]: [mtt] [window-listener] showing window: 0x5000007/terminator                                                                                                         
Dec 23 11:29:43 aquarium gnome-shell[175986]: Window manager warning: last_focus_time (1608744581) is greater than comparison timestamp (166642644).  This most likely represents a buggy client sending inaccurate
 timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...                                                                                                                                      Dec 23 11:29:43 aquarium gnome-shell[175986]: Window manager warning: last_user_time (1608744581) is greater than comparison timestamp (166642644).  This most likely represents a buggy client sending inaccurate 
timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...                                                                                                                                       
Dec 23 11:29:43 aquarium gnome-shell[175986]: Window manager warning: 0x5000007 appears to be one of the offending windows with a timestamp of 1608744581.  Working around...                                      [1]  + 215428 done       ~/bin/vpn                  
Dec 23 11:29:44 aquarium gnome-shell[175986]: Removing a network device that was not added               
Dec 23 11:29:44 aquarium gnome-shell[175986]: [mtt] [window-listener] tracked window is closed: {"hidden":false,"className":"terminator","xid":"0x5000007","lastUpdatedAt":"2020-12-23T17:29:41.495Z"}             
Dec 23 11:29:44 aquarium gnome-shell[175986]: Could not create transient scope for PID 217626: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 217626 does not exist.
Dec 23 11:29:47 aquarium gnome-shell[175986]: GNOME Shell crashed with signal 11
Dec 23 11:29:47 aquarium gnome-shell[175986]: == Stack trace for context 0x55f074320930 ==
Dec 23 11:29:48 aquarium gnome-shell[217642]: Enabling experimental feature 'x11-randr-fractional-scaling'                                                                                                         
Dec 23 11:29:49 aquarium gnome-shell[217642]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Dec 23 11:29:49 aquarium gnome-shell[217642]: Will monitor session 2
Dec 23 11:29:50 aquarium gnome-shell[217642]: Telepathy is not available, chat integration will be disabled.                                                                                                       
Dec 23 11:29:50 aquarium gnome-shell[217642]: Disabling Window Is Ready Notification
Dec 23 11:29:50 aquarium gnome-shell[217642]: Some code tried to set a deprecated GObject property.
                                              0 _patchContainerClass/containerClass.prototype.child_set() ["resource:///org/gnome/shell/ui/environment.js":34:12]
                                              1 _patchContainerClass/containerClass.prototype.add() ["resource:///org/gnome/shell/ui/environment.js":43:17]
                                              2 _appendStaticMenuItems() ["/home/dmusicant/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":481:19]
                                              3 _updateDisplay() ["/home/dmusicant/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":472:17]
                                              4 _updateUI() ["/home/dmusicant/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":292:17]
                                              5 _init() ["/home/dmusicant/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":119:13]
                                              6 enable() ["/home/dmusicant/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js":637:16]
                                              7 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":167:31]
                                              8 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":349:25]
                                              9 _loadExtensions/<() ["resource:///org/gnome/shell/ui/extensionSystem.js":599:17]
                                              10 collectFromDatadirs() ["resource:///org/gnome/shell/misc/fileUtils.js":27:16]
                                              11 _loadExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":574:18]
                                              12 _enableAllExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":608:17]
                                              13 _sessionUpdated() ["resource:///org/gnome/shell/ui/extensionSystem.js":639:17]
                                              14 init() ["resource:///org/gnome/shell/ui/extensionSystem.js":56:13]
                                              15 _initializeUI() ["resource:///org/gnome/shell/ui/main.js":257:21]
                                              16 start() ["resource:///org/gnome/shell/ui/main.js":146:4]
                                              17 <TOP LEVEL> ["<main>":1:46]
Dec 23 11:29:50 aquarium gnome-shell[217642]: [mtt] [extension] extension is initialized
Dec 23 11:29:50 aquarium gnome-shell[217642]: [mtt] [extension] extension is enabled
Dec 23 11:29:50 aquarium gnome-shell[217642]: [mtt] [window-listener] started listening for windows
Dec 23 11:29:50 aquarium gnome-shell[217642]: Could not create transient scope for PID 217768: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 217768 does not exist.
Dec 23 11:29:50 aquarium gnome-shell[217642]: Could not create transient scope for PID 217771: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 217771 does not exist.
Dec 23 11:29:50 aquarium gnome-shell[217642]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
luisrdzruiz commented 3 years ago

fedora 33 gnome-shell 3.38

same issue gnome crash when are in overviwe and open aplication from dock

-- Logs begin at Wed 2020-11-25 10:31:41 CST. -- ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). ene 18 13:22:08 luisrdz-pc gnome-shell[10045]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). ene 18 13:22:09 luisrdz-pc gnome-shell[10045]: GNOME Shell started at Mon Jan 18 2021 13:22:07 GMT-0600 (Central Standard Time) ene 18 13:22:09 luisrdz-pc gnome-shell[10045]: Registering session with GDM ene 18 13:22:09 luisrdz-pc gnome-shell[10045]: Received property WindowId with type u does not match expected type i in the expected interface ene 18 13:23:50 luisrdz-pc gnome-shell[10045]: [mtt] [window-listener] new window opened for class: 1064494712/whatsdesk ene 18 13:23:50 luisrdz-pc gnome-shell[10045]: [mtt] [window-listener] new window opened for class: 1064494713/whatsdesk ene 18 13:23:50 luisrdz-pc gnome-shell[10045]: Object .MetaWindowActorX11 (0x55e5096ba240), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. ene 18 13:23:50 luisrdz-pc audit[10045]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=10045 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=11 res=1 ene 18 13:23:50 luisrdz-pc gnome-shell[10045]: == Stack trace for context 0x55e5045462e0 == ene 18 13:23:50 luisrdz-pc gnome-shell[10045]: #0 7ffc249daec0 b /home/luisrdzruiz/.local/share/gnome-shell/extensions/minimize-to-tray@elhan.io/extension.js:250 (d33d1280790 @ 121) ene 18 13:23:50 luisrdz-pc gnome-shell[10045]: #1 7ffc249daf50 b self-hosted:693 (1f1473c22ab0 @ 15) ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Skipping parental controls support as it’s disabled ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly. ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Will monitor session 2 ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Telepathy is not available, chat integration will be disabled. ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: [mtt] [extension] extension is initialized ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: [mtt] [extension] extension is enabled ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Some code accessed the property 'Settings' on the module 'settings'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Some code accessed the property 'Logger' on the module 'utils'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: loading user theme: /home/luisrdzruiz/.themes/Flat-Remix-Blue-Dark-fullPanel/gnome-shell/gnome-shell.css ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Extension user-theme@gnome-shell-extensions.gcampax.github.com already installed in /home/luisrdzruiz/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com will not be loaded ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Extension apps-menu@gnome-shell-extensions.gcampax.github.com already installed in /home/luisrdzruiz/.local/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com will not be loaded ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Extension horizontal-workspaces@gnome-shell-extensions.gcampax.github.com already installed in /home/luisrdzruiz/.local/share/gnome-shell/extensions/horizontal-workspaces@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/horizontal-workspaces@gnome-shell-extensions.gcampax.github.com will not be loaded ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Extension launch-new-instance@gnome-shell-extensions.gcampax.github.com already installed in /home/luisrdzruiz/.local/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com will not be loaded ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Extension places-menu@gnome-shell-extensions.gcampax.github.com already installed in /home/luisrdzruiz/.local/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com will not be loaded ene 18 13:23:53 luisrdz-pc gnome-shell[10441]: Extension window-list@gnome-shell-extensions.gcampax.github.com already installed in /home/luisrdzruiz/.local/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com will not be loaded ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: [mtt] [window-listener] restoring window: {"hidden":true,"className":"evolution","xid":"0x6c00012","lastUpdatedAt":"2021-01-18T19:22:08.530Z"} ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: [mtt] [window-listener] hiding window: 0x6c00012/evolution ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: [mtt] [window-listener] started listening for windows ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). ene 18 13:23:54 luisrdz-pc gnome-shell[10441]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). ene 18 13:23:55 luisrdz-pc gnome-shell[10441]: GNOME Shell started at Mon Jan 18 2021 13:23:53 GMT-0600 (Central Standard Time) ene 18 13:23:55 luisrdz-pc gnome-shell[10441]: Registering session with GDM ene 18 13:23:55 luisrdz-pc gnome-shell[10441]: Received property WindowId with type u does not match expected type i in the expected interface