The Cinnamon Javascript interpreter
Clone or download
clefebvre Merge pull request #67 from jaszhix/gjs-1.52
Apply upstream patches for improved GC
Latest commit fce9cd6 Sep 20, 2018
Permalink
Failed to load latest commit information.
.circleci Add CI configuration Jan 22, 2018
cjs jsapi-util-string: Avoid unnecessary root Aug 1, 2018
debian 3.8.0 Apr 16, 2018
doc build: Valgrind with AX_VALGRIND_CHECK Jan 18, 2018
examples Remove unnecessary semicolons Apr 19, 2018
gi boxed: Remove unnecessary roots Aug 1, 2018
installed-tests console: --jsversion shell option Aug 1, 2018
libgjs-private build: Ignore -Wcast-function-type in G_DEFINE_TYPE Apr 19, 2018
m4 profiler: Allow configuring with --disable-profiler Apr 19, 2018
modules overrides: support Gtk template callbacks Aug 1, 2018
test tests: Correct typo in test name Aug 1, 2018
tools heapgraph.py: adjust terminal output style Apr 19, 2018
util log: Remove unused debug topics Apr 19, 2018
win32 Windows: Build against SpiderMonkey 52 Jan 18, 2018
.travis.yml CI: print the log in case of a failing build Apr 22, 2017
AUTHORS Initial import. Oct 10, 2008
COPYING maint: highlight the license Apr 19, 2018
COPYING.LGPL Ship a copy of the LGPLv2 Jul 18, 2011
ChangeLog Initial import. Oct 10, 2008
Makefile-examples.am build: Leading tabs in Makefiles Apr 22, 2017
Makefile-insttest.am Fast-forward onto gjs 1.48.2 to add mozjs38 support. Apr 23, 2017
Makefile-modules.am Better GLib and autotools compatibility (#44) May 23, 2017
Makefile-test.am Test new environment flag against pipeline. Apr 19, 2018
Makefile.am Revert "build: Install suppressions files" Apr 19, 2018
NEWS release: Prepare for 1.52.1 Apr 19, 2018
README Add a README.md Oct 19, 2017
README.md Add a README.md Oct 19, 2017
autogen.sh lost commit: remove aclocal Apr 26, 2017
cjs-1.0.pc.in Better GLib and autotools compatibility (#44) May 23, 2017
configure.ac profiler: Allow configuring with --disable-profiler Apr 19, 2018
git.mk build: Use git.mk for automatic .gitignore file Apr 22, 2017
gjs-modules-srcs.mk Makefile.am, Makefile-modules.am: Split out source lists Apr 22, 2017
gjs-srcs.mk profiler: Always activate profiler if GJS_ENABLE_PROFILER=1 Apr 19, 2018
gjs.doap maint: Update DOAP file Apr 19, 2018
verbump.py Use python2 instead of python Apr 23, 2017

README.md

JavaScript bindings for Cinnamon

Based on GJS: https://wiki.gnome.org/action/show/Projects/Gjs

Please do the following when reporting CJS crashes:

If possible, provide a stack trace.

Run dmesg and provide the line related to the crash, for instance:

[ 4947.459104] cinnamon[2868]: segfault at 7f2611ffffe8 ip **00007f2667dda305** sp 00007fffb416b9d0 error 4 in libcjs.so.0.0.0[**7f2667db1000**+c1000]

Launch the Calculator, choose Advanced Mode and set it to Hexadecimal. Then substract the loading address (first address in brackets: 7f2667db1000) from the ip (00007f2667dda305).

In the example above:

ip: 00007f2667dda305 loading address: 7f2667db1000

00007f2667dda305 - 7f2667db1000 = 29305

This gives us the offset. Use addr2line to see what's under it in our shared library:

addr2line -e /usr/lib/libcjs.so.0.0.0 29305 -fCi
gjs_typecheck_boxed

When reporting the bug, along with the trace and the dmesg line, please report that function name (in this example gjs_typecheck_boxed).