linuxmint/cjs

Getting a fix from upstream gjs

Closed this issue · 1 comments

Hello, I've been getting a lot of crashes in cinnamon due to this bug: https://gitlab.gnome.org/GNOME/gjs/-/issues/297

Yesterday was particularly annoying:

> slak@slak-pc > ~ > coredumpctl
TIME                            PID  UID GID SIG     COREFILE EXE                       SIZE
Wed 2021-08-11 10:56:47 EEST 410678 1000 100 SIGTRAP present  /usr/bin/cinnamon        45.8M
Wed 2021-08-11 11:23:14 EEST 596662 1000 100 SIGTRAP present  /usr/bin/cinnamon        27.4M
Wed 2021-08-11 11:56:41 EEST 600573 1000 100 SIGTRAP present  /usr/bin/cinnamon        30.9M
Wed 2021-08-11 14:43:36 EEST 605634 1000 100 SIGTRAP present  /usr/bin/cinnamon        32.4M
Wed 2021-08-11 18:41:42 EEST 626851 1000 100 SIGTRAP present  /usr/bin/cinnamon        32.9M
Wed 2021-08-11 21:37:27 EEST 650178 1000 100 SIGTRAP present  /usr/bin/cinnamon        32.3M

It is already fixed in upstream here, more specifically in this commit, and it made it into 1.68.2.

I know it might be a while until all of that reaches cjs/cinnamon, which I see is currently based on 1.66. I've tried a rebase from gjs 1.68, cherry picking that merge request, cherry picking just the commit, but they all result in some ugly merge conflicts, I can't get it to build.

I'm either doing the wrong thing, or I'm not familiar enough with the internals to fix the conflicts correctly. So until another cjs/cinnamon release, is there a way I can build a local version that includes that series of commits?

Thanks.

ac000 commented

Should be fixed by abac3ad which is in 5.0.1