Category Archives: Uncategorized

gjs spamming the journal with stack traces

Another long time annoyance is the endless number of stack traces gjs inserts to the journal. As best as I can figure, based on reading, someone thought this was a good idea to find legacy js scripts or some such stuff. This is and example of the log entries that keep being inserted:

gnome-shell[1981]: Object St.BoxLayout (0x5603b05ffc50), has been already finalized. Impossible to get any property from it.
org.gnome.Shell.desktop[1981]: == Stack trace for context 0x5603ab329170 ==
org.gnome.Shell.desktop[1981]: #0 0x7ffd99df2850 b resource:///org/gnome/shell/ui/tweener.js:73 (0x7f0d5c1ddef0 @ 9)
org.gnome.Shell.desktop[1981]: #1 0x7ffd99df28f0 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f0d5c1df230 @ 36)
org.gnome.Shell.desktop[1981]: #2 0x7ffd99df2990 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f0d5c1df098 @ 52)
org.gnome.Shell.desktop[1981]: #3 0x7ffd99df3560 I resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f0d5c1e9cd0 @ 54)
org.gnome.Shell.desktop[1981]: #4 0x7ffd99df36b0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f0d5c1e9d58 @ 1626)
org.gnome.Shell.desktop[1981]: #5 0x7ffd99df3760 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f0d5c1e9de0 @ 100)
org.gnome.Shell.desktop[1981]: #6 0x7ffd99df37f0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f0d5c1e9e68 @ 10)
org.gnome.Shell.desktop[1981]: #7 0x7ffd99df3870 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f0d5c1e2b38 @ 386)
org.gnome.Shell.desktop[1981]: #8 0x7ffd99df3920 b resource:///org/gnome/shell/ui/tweener.js:208 (0x7f0d5c1df808 @ 159)
org.gnome.Shell.desktop[1981]: #9 0x7ffd99df3980 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f0d5c1c2bc0 @ 71)
org.gnome.Shell.desktop[1981]: #10 0x7ffd99df3980 I resource:///org/gnome/shell/ui/tweener.js:183 (0x7f0d5c1df780 @ 20)
org.gnome.Shell.desktop[1981]: #11 0x7ffd99df3a10 I self-hosted:917 (0x7f0d5c1ee5e8 @ 394)
org.gnome.Shell.desktop[1981]: == Stack trace for context 0x5603ab329170 ==
org.gnome.Shell.desktop[1981]: #0 0x7ffd99df2850 b resource:///org/gnome/shell/ui/tweener.js:80 (0x7f0d5c1ddef0 @ 82)
org.gnome.Shell.desktop[1981]: #1 0x7ffd99df28f0 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f0d5c1df230 @ 36)
org.gnome.Shell.desktop[1981]: #2 0x7ffd99df2990 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f0d5c1df098 @ 52)
org.gnome.Shell.desktop[1981]: #3 0x7ffd99df3560 I resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f0d5c1e9cd0 @ 54)
org.gnome.Shell.desktop[1981]: #4 0x7ffd99df36b0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f0d5c1e9d58 @ 1626)
org.gnome.Shell.desktop[1981]: #5 0x7ffd99df3760 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f0d5c1e9de0 @ 100)
org.gnome.Shell.desktop[1981]: #6 0x7ffd99df37f0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f0d5c1e9e68 @ 10)
org.gnome.Shell.desktop[1981]: #7 0x7ffd99df3870 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f0d5c1e2b38 @ 386)

I found a Redhat patch to address this mess: https://bugzilla.redhat.com/attachment.cgi?id=1433199

Personally, I just want a clean log. I just comment out g_critical( … up to and including gjs_dumpstack(); and six in all for the 1.50.4 version.

So:
1. ebuild gjs-1.50.4.ebuild configure
2. Comment out the blocks of code.
3. ebuild gjs-1.50.4.ebuild compile — look for errors
4. ebuild gjs-1.50.4.ebuild install
5. ebuild gjs-1.50.4.ebuild qmerge

I do save the tree under image to a safe spot so I do not have to go through this again. If you need to see the errors just do a regular emerge of gjs. After you are done copy back the lib files to quiet everything down again.

*** As a note, when I do “emerge @changed-deps”, portage wants to replace gjs. I do “emerge -v –exclude gjs @changed-deps” to keep this from happening ***

evolution-calendar login errors

Finally decided to shut this up:


e_cal_recur_generate_instances_sync: assertion 'icaltime_compare (interval_start, interval_end) < 0' failed

I found this patch:
diff -up gnome-shell-3.26.2/src/calendar-server/gnome-shell-calendar-server.c.xxxx gnome-shell-3.26.2/src/calendar-server/gnome-shell-calendar-server.c
--- gnome-shell-3.26.2/src/calendar-server/gnome-shell-calendar-server.c.xxxx 2017-11-02 17:05:55.000000000 +0100
+++ gnome-shell-3.26.2/src/calendar-server/gnome-shell-calendar-server.c 2018-04-30 14:07:17.611055378 +0200
@@ -590,6 +590,11 @@ app_load_events (App *app)
g_list_free (app->live_views);
app->live_views = NULL;

+ if (!app->since || !app->until)
+ {
+ print_debug ("Skipping load of events, no time interval set yet");
+ return;
+ }
/* timezone could have changed */
app_update_timezone (app);

So:
1. ebuild gnome-shell-3.26.2-r4.ebuild configure
2. Install the patch
3. ebuild gnome-shell-3.26.2-r4.ebuild compile — look for errors
4. ebuild gnome-shell-3.26.2-r4.ebuild install
5. ebuild gnome-shell-3.26.2-r4.ebuild qmerge

Gnome 3.16

Classes are finally out for summer and it is time for catch up.  Still, I had time to cause undue stress in my life.  I decided to do what I had promised myself I would not do again, install a new version of Gnome before it was stable in portage.  Anyway, the upgrade to Gnome 3.16 was not without pains along the way, but it is done.

gnome3_16