franglais125 / no-title-bar

Integrates maximized windows with the top panel
https://extensions.gnome.org/extension/1267/no-title-bar/
GNU General Public License v2.0
278 stars 40 forks source link

gnome-shell crashes #76

Open tribut opened 6 years ago

tribut commented 6 years ago

Hey.

Seeing segfaults of gnome-shell that seem to be caused by this extension:

gnome-shell[14895]: Object St.Label (0x55da87ce0e40), has been already deallocated - impossible to access to it. This might be caused by the fact that the object has been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs
org.gnome.Shell.desktop[14895]: == Stack trace for context 0x55da86dd14b0 ==
Mai 19 19:15:09 pollux org.gnome.Shell.desktop[14895]: #0 0x55da87283240 i   /home/felix/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/app_menu.js:78 (0x7f58b00cd1a8 @ 339)
org.gnome.Shell.desktop[14895]: #1 0x7ffe8e1cc3b0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f58e41b5de0 @ 71)
org.gnome.Shell.desktop[14895]: #2 0x55da87283190 i   /home/felix/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/app_menu.js:100 (0x7f58b00cd230 @ 162)
org.gnome.Shell.desktop[14895]: #3 0x7ffe8e1ccfb0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f58e41b5de0 @ 71)
org.gnome.Shell.desktop[14895]: #4 0x55da87283100 i   /home/felix/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/app_menu.js:118 (0x7f58b00cd2b8 @ 148)
org.gnome.Shell.desktop[14895]: #5 0x7ffe8e1cdbc0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f58e41b5de0 @ 71)
org.gnome.Shell.desktop[14895]: #6 0x7ffe8e1cdc90 b   self-hosted:917 (0x7f58e41f12b8 @ 394)
Mai 19 19:15:09 pollux kernel: gnome-shell[14895]: segfault at 1 ip 00007f5918219d12 sp 00007ffe8e1cb380 error 4 in libgobject-2.0.so.0.5600.1[7f59181e4000+52000]

This seems to be mostly happening immediately after login (and not all the time). When I disable no-title-bar, the crashes no longer happen. Let me know if you need more information to debug.

Ubuntu 18.04, gnome-shell 3.28.1-0ubuntu2

Thanks!

tiotrom commented 5 years ago

I can confirm. Happens to me too.

franglais125 commented 5 years ago

Thanks a lot for the reports. Could someone provide a fresh log together witht he exact version number (or git commit)?

Cheers!

tiotrom commented 5 years ago

If you can teach me how to do that I can do it. I really like this extension and I would love to see it stable.

franglais125 commented 5 years ago

You'll need git and make if you don't have them (sudo apt install make git).

Then:

git clone https://github.com/franglais125/no-title-bar
cd no-titile-bar
make && make install

Then restart the session (Alt+F2, then r), and activate the extension (from the Gnome tweak tool for instance).

To check for errors, you can have a look at the journal: sudo journalctl /usr/bin/gnome-shell

tiotrom commented 5 years ago

Ok. I have the extension installed from gnome extensions.

tio@tio:~$ sudo journalctl /usr/bin/gnome-shell
[sudo] password for tio: 
-- Logs begin at Wed 2018-08-01 04:56:29 CEST, end at Thu 2018-08-02 11:45:16 CE
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/
Aug 01 04:56:36 tio gnome-shell[1947]: Error looking up permission: GDBus.Error:
Aug 01 04:56:37 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
lines 1-23...skipping...
-- Logs begin at Wed 2018-08-01 04:56:29 CEST, end at Thu 2018-08-02 11:45:16 CEST. --
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 340]: reference to undefined property "
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 220]: reference to undefined property
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefine
Aug 01 04:56:36 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property 
Aug 01 04:56:36 tio gnome-shell[1947]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry fo
Aug 01 04:56:37 tio gnome-shell[1947]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined property 
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:43 tio gnome-shell[1947]: g_array_unref: assertion 'array' failed
Aug 01 04:56:47 tio gnome-shell[2519]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 340]: reference to undefined property "
Aug 01 04:56:47 tio gnome-shell[2519]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 220]: reference to undefined property
Aug 01 04:56:47 tio gnome-shell[2519]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefine
Aug 01 04:56:47 tio gnome-shell[2519]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property 
Aug 01 04:56:47 tio gnome-shell[2519]: Telepathy is not available, chat integration will be disabled.
Aug 01 04:56:47 tio gnome-shell[2519]: Some code accessed the property 'ScrollablePopupMenu' on the module 'scrollablePopupMenu'. 
Aug 01 04:56:47 tio gnome-shell[2519]: Some code accessed the property 'PopupExtensionItem' on the module 'popupExtensionItem'. Th
Aug 01 04:56:47 tio gnome-shell[2519]: loading user theme: /usr/share//themes/TROM/gnome-shell/gnome-shell.css
Aug 01 04:56:47 tio gnome-shell[2519]: JS ERROR: Could not load extension scroll-workspaces@gfxmonk.net: Error: Missing metadata.j
lines 1-34