issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 6fe4d06 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript function $ ( ) { function $ ( ) { switch...
in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1946/comments
0
2017-08-01T13:32:00Z
2017-08-01T13:33:14Z
https://github.com/jerryscript-project/jerryscript/issues/1946
247,070,264
1,946
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 6fe4d06 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript function $ ( ) { function $ ( ) { switch...
in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1945/comments
0
2017-08-01T13:31:58Z
2017-08-01T13:33:06Z
https://github.com/jerryscript-project/jerryscript/issues/1945
247,070,256
1,945
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 6fe4d06 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript function $ ( ) { function $ ( ) { switch...
in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1944/comments
0
2017-08-01T13:31:57Z
2017-08-01T13:32:58Z
https://github.com/jerryscript-project/jerryscript/issues/1944
247,070,253
1,944
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 6fe4d06 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript function $ ( ) { function $ ( ) { switch...
in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1943/comments
0
2017-08-01T13:31:57Z
2017-08-01T13:32:50Z
https://github.com/jerryscript-project/jerryscript/issues/1943
247,070,248
1,943
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 1526bcc Build command: ./tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off --error-messages=on ``` ###### OS: ``` macOS Sierra (10.12.5) ``` ###### Test case: ```javascript Object.definePropertie...
Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' failed in ecma_free_string_list
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1936/comments
1
2017-07-21T22:19:36Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/1936
244,796,690
1,936
[ "jerryscript-project", "jerryscript" ]
run latest `jerry` with following test case, will encounter `Script Error: TypeError`, with `node` no error occur. jerry is build by ```bash python tools/build.py ``` git header ``` d75710c `replace_str_curr_p` must be inspected before dereferencing (#1926) ce1d555 Fix regression after #1927 ``` test c...
build-in array shift/unshift error
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1934/comments
2
2017-07-21T01:24:59Z
2017-08-02T06:19:49Z
https://github.com/jerryscript-project/jerryscript/issues/1934
244,539,562
1,934
[ "jerryscript-project", "jerryscript" ]
Hi, I have a question. Please tell me where is problem on JScode via Jerryscript. I try to build JScode on JerryScript. But this error(?) occurs and JScode doesn't run. > start > ret1 = 0x20003c07 > ret2 = 0x20003c2f I think `ret2` is byte code address. But it doesn't teach me where is problem on JScode. ...
check JScode error on JerryScript
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1929/comments
11
2017-07-19T09:09:42Z
2017-07-24T02:00:44Z
https://github.com/jerryscript-project/jerryscript/issues/1929
243,972,566
1,929
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 3d744c9 Build command: ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --profile=es2015-subset --compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer --compile-flag=-fno-common --compile-flag=-g --jerry-libc=off --static-link=off --strip=off --syst...
Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' failed in ecma_free_string_list
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1918/comments
0
2017-07-13T09:28:47Z
2017-07-18T22:19:03Z
https://github.com/jerryscript-project/jerryscript/issues/1918
242,639,937
1,918
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 3d744c9 Build command: ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --profile=es2015-subset --compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer --compile-flag=-fno-common --compile-flag=-g --jerry-libc=off --static-link=off --strip=off --syst...
heap-buffer-overflow in ecma_builtin_string_prototype_object_replace_get_string
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1917/comments
0
2017-07-13T09:24:45Z
2017-07-20T08:26:51Z
https://github.com/jerryscript-project/jerryscript/issues/1917
242,638,820
1,917
[ "jerryscript-project", "jerryscript" ]
It seems that there is the issue in the following example function stated in https://github.com/jerryscript-project/jerryscript/blob/master/docs/03.API-EXAMPLE.md#step-5-description-of-jerryscript-value-descriptors. ```c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "jerryscript.h" stati...
Issue in 03.API-EXAMPLE.md
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1916/comments
3
2017-07-13T08:55:12Z
2017-07-17T13:16:44Z
https://github.com/jerryscript-project/jerryscript/issues/1916
242,630,554
1,916
[ "jerryscript-project", "jerryscript" ]
@zherczeg @janjongboom Is there any chance of creating a test system, which would test jerryscript on mbedos5? Perhaps make a directory into jerryscript/targets/mbedos5, which would contain the test files or would create a completely new repo for that.
Test system for mbedos5
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1913/comments
5
2017-07-10T10:11:15Z
2019-10-25T19:05:13Z
https://github.com/jerryscript-project/jerryscript/issues/1913
241,663,367
1,913
[ "jerryscript-project", "jerryscript" ]
Hi, I want to build Jerryscript for NuttX and NUCLEO-F411RE board. I followed the instructions exactly in the https://github.com/jerryscript-project/jerryscript/tree/master/targets/nuttx-stm32f4 except for step 3. When I followed ‘step 3. Configure NuttX’ in the document, I typed `.configure.sh nucleo-f4...
The problem of building Jerryscript for NuttX
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1905/comments
5
2017-07-03T09:18:54Z
2017-07-27T07:48:04Z
https://github.com/jerryscript-project/jerryscript/issues/1905
240,113,356
1,905
[ "jerryscript-project", "jerryscript" ]
Currently nuttx-stm32f4 port uses only handler module from jerry-ext. (#1816) tizenrt-artik05x port also want to use only handler. However, it seems there is no cmake and build.py option. I have no choice but including all jerry-ext modules, or not. If so, I want to add build interfaces for both of cmake and buil...
Build options for selecting a set of modules from jerry-ext
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1903/comments
8
2017-07-03T00:29:25Z
2017-07-05T14:51:59Z
https://github.com/jerryscript-project/jerryscript/issues/1903
240,044,600
1,903
[ "jerryscript-project", "jerryscript" ]
```shell Traceback (most recent call last): File "tools/generate_pins.py", line 247, in <module> main() File "tools/generate_pins.py", line 237, in main pins = enumerate_pins(pins_file, ['./tools'] + list(includes), defines) File "tools/generate_pins.py", line 158, in enumerate_pins return visi...
mbedos5, generate_pins.py doesn't work for NXP targets
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1900/comments
6
2017-06-30T13:03:57Z
2018-11-20T13:53:20Z
https://github.com/jerryscript-project/jerryscript/issues/1900
239,772,985
1,900
[ "jerryscript-project", "jerryscript" ]
https://github.com/jerryscript-project/jerryscript/blob/master/jerry-core/jrt/jrt.h#L28-L40 has some `__attribute__` statement which are outside of `#ifdef __GNU_C__`, so they may fail on compilers that don't support such hints.
__attribute__ statements made unconditionally
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1890/comments
5
2017-06-14T13:01:32Z
2019-01-11T13:50:56Z
https://github.com/jerryscript-project/jerryscript/issues/1890
235,871,295
1,890
[ "jerryscript-project", "jerryscript" ]
We are now developing the app using jerryscript on mbed OS 5 with GCC ARM Embedded, but, we are suffering from the issue that **math.h in the compiler package** conflicts with **jerry-libm/include/math.h**. Originally, when building the program on mbed OS 5, "**-mfpu=vfpv3**" and "**-mfloat-abi=hard**" are specified...
Conflict of math.h
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1888/comments
3
2017-06-12T07:17:34Z
2017-06-16T00:24:38Z
https://github.com/jerryscript-project/jerryscript/issues/1888
235,143,427
1,888
[ "jerryscript-project", "jerryscript" ]
I'd like to be able to get code coverage data out of the JerryScript VM, for the .js that is being run. We're using lcov+gcov to generate reports for the C code coverage of the unit tests of our JerryScript bindings. Ideally, the JerryScript tooling would emit coverage data files that lcov can pick up and add those i...
Code coverage tooling
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1887/comments
7
2017-06-09T12:38:58Z
2017-08-02T07:55:28Z
https://github.com/jerryscript-project/jerryscript/issues/1887
234,814,277
1,887
[ "jerryscript-project", "jerryscript" ]
The messages with `Error` objects that `arg.h` functions throw when the validation failed are very generic and can be made more helpful. Improvement suggestions of things to include the error message: - the index of the value that failed to be validated - the (stringified) value that failed to be validated - in...
arg.h: improve error messages
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1886/comments
2
2017-06-09T09:43:07Z
2019-11-06T10:48:06Z
https://github.com/jerryscript-project/jerryscript/issues/1886
234,775,360
1,886
[ "jerryscript-project", "jerryscript" ]
Hi, I'm working on a project which need a Javascript engine as a replacement of configuration file. Since the SRAM on my board is really limited, while there are still a some ROM, I am wondering if I could port only the vm part to my firmware and cut out the parser part. In this way, I could cut down the ROM space o...
Is it possible to store the JS program in bytecode as a const in ROM?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1884/comments
6
2017-06-07T23:20:54Z
2017-06-13T18:59:15Z
https://github.com/jerryscript-project/jerryscript/issues/1884
234,369,872
1,884
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 905cd70 Build command: ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --profile=es2015-subset --compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer --compile-flag=-fno-common --compile-flag=-g --jerry-libc=off --static-link=off --strip=off --syst...
Assertion 'ecma_get_value_type_field (value) == ECMA_TYPE_OBJECT' failed in ecma_get_object_from_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1881/comments
1
2017-06-06T12:10:54Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/1881
233,871,117
1,881
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: a9e7dd7 Build command: ./tools/build.py --clean --debug ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript if (function() { while ({a: a, get a() {} }) continue; }) var a; ``` ###### ...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1873/comments
3
2017-06-01T12:19:31Z
2017-06-30T08:29:19Z
https://github.com/jerryscript-project/jerryscript/issues/1873
232,860,587
1,873
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: a9e7dd7 Build command: ./tools/build.py --clean --debug ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript // in hex: \xf0\x90\xae\xa9\xe0\xad\x9f ``` [Download test case](https://github.com/jerryscript-project/jerryscript/files/1044...
Assertion '(c & LIT_UTF8_3_BYTE_MASK) == LIT_UTF8_3_BYTE_MARKER' failed in lit_read_code_unit_from_utf8
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1871/comments
11
2017-06-01T10:10:37Z
2017-07-06T06:10:53Z
https://github.com/jerryscript-project/jerryscript/issues/1871
232,829,949
1,871
[ "jerryscript-project", "jerryscript" ]
Currently, JerryScript supports selected APIs in TypedArray. For example, [TypedArray.prototype.set(array, offset)`](https://www.ecma-international.org/ecma-262/6.0/index.html#sec-%typedarray%.prototype.set-array-offset) is not supported. ``` // h.js var buffer = new ArrayBuffer(8); var uint8 = new Uint8Array(buf...
TypedArray.prototype.set(array, offset)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1870/comments
4
2017-06-01T07:55:50Z
2017-08-18T08:09:09Z
https://github.com/jerryscript-project/jerryscript/issues/1870
232,794,689
1,870
[ "jerryscript-project", "jerryscript" ]
Within the function skip_spaces, js-lexer.c:218 – a buffer over-read occurs when looking for the bytes 0xe2 0x80 0xa9, paragraph separator, by attempting a read ahead. There is an assert on line 217 that would prevent this in debug mode. Is the idea to let bugs into release builds? Or is there an over-sight I’m not see...
Heap Buffer Over-read in skip_space
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1867/comments
2
2017-05-30T15:39:23Z
2017-08-01T07:24:16Z
https://github.com/jerryscript-project/jerryscript/issues/1867
232,295,273
1,867
[ "jerryscript-project", "jerryscript" ]
**Jerry version:** ``` Checked revision: 708b155 Build command: ./tools/build.py ``` **OS:** ``` Ubuntu 14.04.3 LTS (x86_64) ``` **Test:** ``` $ node > (1.255).toFixed(2) '1.25' $ jsc >>> (1.255).toFixed(2) 1.25 $ jerry jerry> (1.255).toFixed(2) 1.26 ``` Is it a bug that does not meet t...
Different behavior from toFixed
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1864/comments
2
2017-05-30T07:28:22Z
2017-05-30T08:56:13Z
https://github.com/jerryscript-project/jerryscript/issues/1864
232,164,688
1,864
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: b51b682 Build command: ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer --compile-flag=-fno-common --compile-flag=-g --jerry-libc=off --static-link=off --strip=off --system-allocator=on --linker-fla...
heap-buffer-overflow in lit_utf8_string_hash_combine
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1861/comments
2
2017-05-28T23:39:02Z
2017-07-12T07:46:59Z
https://github.com/jerryscript-project/jerryscript/issues/1861
231,902,804
1,861
[ "jerryscript-project", "jerryscript" ]
The following test fails at `jerry_has_property ()`: ```c #include "config.h" #include "jerryscript.h" #include "test-common.h" int main (void) { TEST_INIT (); jerry_init (JERRY_INIT_EMPTY); jerry_value_t object = jerry_create_object (); jerry_value_t prop_name = jerry_create_string_from_utf8 (...
jerry_has_property () returns true even on a newly created object
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1859/comments
2
2017-05-27T08:44:01Z
2017-05-29T13:54:33Z
https://github.com/jerryscript-project/jerryscript/issues/1859
231,787,079
1,859
[ "jerryscript-project", "jerryscript" ]
Right now we have our own print implementation (#1853). Needs to be replaced by the one from jerry-ext.
target: mbedos5: Move print to jerryx_handler_print
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1857/comments
1
2017-05-26T09:23:49Z
2017-06-17T10:24:40Z
https://github.com/jerryscript-project/jerryscript/issues/1857
231,572,118
1,857
[ "jerryscript-project", "jerryscript" ]
Jerry version: ``` Checked revision: e84109f Build command: ./tools/build.py --clean ``` OS: ``` Ubuntu 14.04.3 LTS ``` Test case: ``` 1 / (0 * (-1)) ``` Result: ``` $ node > 1 / (0 * (-1)) -Infinity $ jsc >>> 1 / (0 * (-1)) -Infinity $ jerry jerry> 1 / (0 * (-1)) Infinity ...
Divide by negative zero does not keep sign.
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1855/comments
1
2017-05-26T07:52:32Z
2017-06-01T07:57:09Z
https://github.com/jerryscript-project/jerryscript/issues/1855
231,552,226
1,855
[ "jerryscript-project", "jerryscript" ]
When building the `jerry-all-in.c` and then compiling it using the ESP32 toolchain, the linker gives the following error: ```text /opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/simon/Projects/esp32/build/nibbl.elf section `.dram0.bss' will not fit in...
Overflow issue when linking all-in-one on ESP32
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1854/comments
6
2017-05-25T19:02:45Z
2017-05-26T23:51:30Z
https://github.com/jerryscript-project/jerryscript/issues/1854
231,428,903
1,854
[ "jerryscript-project", "jerryscript" ]
There was a commit on December 13 (#1468) - authored by @janjongboom. It has deleted the main.cpp from the targets/mbedos5/source library by saying that > main.cpp is auto-generated and should not be included in this repository But now, if you want to build the mbedos5, there is not an auto-generated main.cpp, b...
mbedos5 target build error
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1852/comments
2
2017-05-25T10:23:35Z
2017-05-25T11:55:15Z
https://github.com/jerryscript-project/jerryscript/issues/1852
231,300,585
1,852
[ "jerryscript-project", "jerryscript" ]
Our current design, where a context handler is given during `jerry_init_with_user_context ()` via an init/deinit pair of function pointers and the pointer is later retrieved via `jerry_get_user_context ()` is unsafe, because for two different contexts you can have two different pairs A and B of function pointers passed...
Context data retrieval is unsafe
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1845/comments
4
2017-05-22T13:15:47Z
2017-05-24T12:10:22Z
https://github.com/jerryscript-project/jerryscript/issues/1845
230,392,178
1,845
[ "jerryscript-project", "jerryscript" ]
Zephyr.js has a nice macro to declare `const jerry_value_t`s. It leverages the `__attribute__ ((__cleanup__(...)))` feature to automatically call `jerry_release_value()` on the value when the variable goes out of scope: https://github.com/01org/zephyr.js/blob/ecf2fba29de4dafbd1c8e5b6b3ece636ac237213/src/zjs_util.h#L...
Macros to automatically call `jerry_release_value`?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1836/comments
2
2017-05-19T08:06:14Z
2017-06-17T10:25:47Z
https://github.com/jerryscript-project/jerryscript/issues/1836
229,900,472
1,836
[ "jerryscript-project", "jerryscript" ]
As per Gilles'/@barbibulle 's request on the mailing list: >> Do you have any expectations of the interface? Which abilities are urgent in your application? Those feedbacks will help us design the API. > > what I'd expect from the public interface is to be able to: > 1/ get to the underlying memory buffer of an A...
C API for ArrayBuffer/TypedArray
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1832/comments
15
2017-05-18T08:24:00Z
2018-05-24T10:05:04Z
https://github.com/jerryscript-project/jerryscript/issues/1832
229,591,352
1,832
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 31cd3b8 Build command: ./tools/build.py --clean --debug --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript /኱𞻲/‌ஃ︠﹍ ``` The [test](https://github.com/jerryscript-project/jerryscript/files/1008577/test.txt) file ...
Assertion 'lit_is_valid_cesu8_string (string_p, string_size)' failed in ecma_new_ecma_string_from_utf8
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1831/comments
0
2017-05-17T17:28:56Z
2017-05-23T10:04:11Z
https://github.com/jerryscript-project/jerryscript/issues/1831
229,431,875
1,831
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 31cd3b8 Build command: ./tools/build.py --clean --debug --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript /[\꧿]ౘ/ ``` The [test](https://github.com/jerryscript-project/jerryscript/files/1008565/test.txt) file is...
Assertion '(c & LIT_UTF8_3_BYTE_MASK) == LIT_UTF8_3_BYTE_MARKER' failed in lit_read_code_unit_from_utf8
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1830/comments
1
2017-05-17T17:24:09Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/1830
229,430,666
1,830
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 31cd3b8 Build command: ./tools/build.py --clean --debug --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript for ({get 10() {} };;) break; ``` ###### Description: The test case above triggers a SyntaxError ...
Unexpected SyntaxError by numerical getter/setters in loops
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1829/comments
0
2017-05-17T11:37:30Z
2017-05-19T12:49:38Z
https://github.com/jerryscript-project/jerryscript/issues/1829
229,323,044
1,829
[ "jerryscript-project", "jerryscript" ]
## Problem Currently tizenrt-artik05x does not support `longjmp/setjmp` correctly. I tried to use `longjmp/setjmp` implementation from nuttx-stm32f4 port. But it shows following error: ``` System Information: Verarm_undefinedinsn: Undefined instruction at 0x4130b58 up_assert: Assertion failed at ...
Add `setjmp` and `longjmp` functions for tizenrt-artik05x target
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1823/comments
3
2017-05-15T06:41:33Z
2017-05-17T05:48:36Z
https://github.com/jerryscript-project/jerryscript/issues/1823
228,619,102
1,823
[ "jerryscript-project", "jerryscript" ]
I've discovered a NULL pointer de-reference condition within Jerryscript. If the bytes - "0x27 0x5c 0xe2 0x80 0xa8 0x27 0x41" are evaluated by jerry_eval a segmentation fault will occur resulting in a denial of service. It occurs within jmem_heap_free_block when block_p->size is de-referenced. **Proof** ![ima...
Denial of Service: Null Pointer De-reference
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1821/comments
1
2017-05-13T02:26:02Z
2017-05-22T11:17:08Z
https://github.com/jerryscript-project/jerryscript/issues/1821
228,443,030
1,821
[ "jerryscript-project", "jerryscript" ]
It's been an issue several times that users of JerryScript don't have access to dynamic memory management (in the general case). jerry-libc doesn't provide malloc/free, partially because jerry-core doesn't necessarily need them. But that has some adverse effects on use cases: - jerry-main cannot use dynamic memory for...
Expose dynamic memory management via public API
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1805/comments
10
2017-05-08T12:15:51Z
2018-09-04T14:31:26Z
https://github.com/jerryscript-project/jerryscript/issues/1805
227,027,293
1,805
[ "jerryscript-project", "jerryscript" ]
TL;DR: Is there any other way to implement a Promise job queue than what's implemented in the default port? If not, should it not be merged into jerry-core? Source of my confusion: - If Promises are available/enabled then those JS functions that are in `then`s or `catch`es are to be executed after the main script c...
Is the JobQueue Port API a good abstraction?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1799/comments
9
2017-05-04T20:43:33Z
2017-05-31T16:57:50Z
https://github.com/jerryscript-project/jerryscript/issues/1799
226,402,902
1,799
[ "jerryscript-project", "jerryscript" ]
Recent changes in the API revealed that we have no strict policy for removing API or introducing experimental API. It would be good to have some policy rules for that. My suggestions: Deprecating an API: we already have a JERRY_DEPRECATED_API define and we should add this to deprecated functions. After the label is ...
JerryScript API maintenance (removal, experimental)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1798/comments
11
2017-05-04T09:27:11Z
2019-10-25T19:03:08Z
https://github.com/jerryscript-project/jerryscript/issues/1798
226,223,212
1,798
[ "jerryscript-project", "jerryscript" ]
# Problem / Motivation I've looked around the jerry-core library a bit to see what we expose of ourselves. I was especially interested in the global symbols available from the static `libjerry-core.a` archive. We have two types of global symbols, at least conceptually: there are those which are part of the public AP...
Prefixing "internal global" symbols of jerry-core
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1795/comments
17
2017-04-28T18:53:02Z
2019-10-28T15:21:19Z
https://github.com/jerryscript-project/jerryscript/issues/1795
225,163,818
1,795
[ "jerryscript-project", "jerryscript" ]
Now we've got ES6 `Promise` support from within .js, I think it's a good time to add the C API as well :)
Add C API for Promise
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1794/comments
15
2017-04-28T14:15:37Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/1794
225,094,061
1,794
[ "jerryscript-project", "jerryscript" ]
It was a shock for me to realize that the public API is available everywhere in the project because it is inluded in jrt.h. JerryScript has an opposite design: we have public/internal aliases for many types. E.g. jerry_value_t (public) is the same as ecma_value_t (private), jerry_length_t (public) = ecma_length_t (priv...
Removing jerryscript.h include from jrt.h
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1791/comments
2
2017-04-28T07:55:35Z
2017-05-11T10:42:51Z
https://github.com/jerryscript-project/jerryscript/issues/1791
225,006,356
1,791
[ "jerryscript-project", "jerryscript" ]
Currently each snapshot has its own string table, and in projects like IoT.js many files have references to the same strings (usually function names). These strings are duplicated for each snapshot file, and the binary size could be reduced by sharing the string table. A multi entry point snapshot file could be a solut...
Merging snapshots to save space
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1779/comments
5
2017-04-24T14:03:08Z
2017-10-12T13:22:19Z
https://github.com/jerryscript-project/jerryscript/issues/1779
223,830,797
1,779
[ "jerryscript-project", "jerryscript" ]
# Motivation Currently, "ports" of JerryScript are a strange concept. The build system is prepared in some way to include platform-specific code into `jerry-core` (via the `PORT_DIR` cmake option). However, except for `jerry-main`, which is a unix/posix-specific app and thus uses the unix/posix-specific code in ...
[Discussion] Split port implementation out of applications (and drop `PORT_DIR`)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1776/comments
1
2017-04-24T10:46:10Z
2017-04-25T19:52:27Z
https://github.com/jerryscript-project/jerryscript/issues/1776
223,778,130
1,776
[ "jerryscript-project", "jerryscript" ]
I would like to introduce a new port `tizenrt-artik05x`. Tizen RT is a lightweight RTOS-based platform to support low-end IoT devices. The project is under developing in [github tizenrt repo](https://github.com/Samsung/TizenRT). Artik05x is an IoT SoC solution that will be released soon. Please refer to [Artik053](h...
target: tizenrt-artik05x: add minimal working port and the guide
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1774/comments
5
2017-04-24T09:04:52Z
2017-05-17T05:50:35Z
https://github.com/jerryscript-project/jerryscript/issues/1774
223,749,774
1,774
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 67c641e Build: ./tools/build.py --clean --debug --profile=es2015-subset ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript Function()(Promise.prototype.toLocaleString()) ``` ###### Backtrace: ``` ICE: Assertion 'ecma_object_chec...
Assertion 'ecma_object_check_class_name_is_object (obj_p)' failed in ecma_object_get_class_name
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1765/comments
1
2017-04-21T14:17:31Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/1765
223,397,226
1,765
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ea44b3b Build command: ./tools/build.py --clean --debug --profile=es2015-subset ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript new Promise(Math.max.propertyIsEnumerable.toString).then() ``` ###### Backtrace: ``` ICE: Asser...
Assertion 'ECMA_IS_VALUE_ERROR (value)' failed in ecma_get_value_from_error_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1763/comments
2
2017-04-21T13:48:28Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/1763
223,388,985
1,763
[ "jerryscript-project", "jerryscript" ]
As part of foundation ops, we've been looking into ways to add open source license compliance processes to the org in a way that lets JSF projects maintain their autonomy. We're currently looking at adopting [FOSSA](http://fossa.io/) to help us continuously scan for licenses across JSF projects/their deep dependencies ...
Add FOSSA License Scanner to CI
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1759/comments
9
2017-04-21T01:23:09Z
2019-10-25T19:47:33Z
https://github.com/jerryscript-project/jerryscript/issues/1759
223,247,520
1,759
[ "jerryscript-project", "jerryscript" ]
It would be nice if the VM loop can be interruptible. In those cases when the JerryScript is used as a library or embedded in a 3rd party application it is hard to be responsible for the application. If the execution of a JavaScript takes too much time - infinite loop, benchmarking, etc. - the main application is not ...
Interruptible VM loop via callback function
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1752/comments
3
2017-04-20T06:41:54Z
2017-05-02T06:53:38Z
https://github.com/jerryscript-project/jerryscript/issues/1752
222,964,260
1,752
[ "jerryscript-project", "jerryscript" ]
For developer may want to known current snapshot version, could export macro 'JERRY_SNAPSHOT_VERSION' for user to access? currently this macro exist in jerry-snapshot.h which could not be included by developers. e.g move JERRY_SNAPSHOT_VERSION from jerry-snapshot.h to jerryscript.h
Export macro JERRY_SNAPSHOT_VERSION
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1751/comments
6
2017-04-20T06:06:09Z
2019-01-10T17:51:55Z
https://github.com/jerryscript-project/jerryscript/issues/1751
222,958,477
1,751
[ "jerryscript-project", "jerryscript" ]
For our project, I would like to be able to instantiate (multiple) JerryScript engines, each with their own heap size. Currently, the heap size is configured at compile-time using `CONFIG_MEM_HEAP_AREA_SIZE`, which controls these defines and structs: ``` #define JMEM_HEAP_SIZE ((size_t) (CONFIG_MEM_HEAP_AREA_SIZ...
[Discussion] Improved multi-instance support (incl. runtime configurable heap size)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1746/comments
13
2017-04-19T09:56:10Z
2019-01-02T10:00:30Z
https://github.com/jerryscript-project/jerryscript/issues/1746
222,683,258
1,746
[ "jerryscript-project", "jerryscript" ]
While jerry_exec_snapshot does receive (a param #2) the length of the snapshot buffer, it does not pass it to snapshot_load_compiled_code, which is prone to unsupported snapshot contents (i.e.: corrupt file, snapshot generated by different jerry version etc.). This has been observed in practice, crashing TizenRT pla...
snapshot_load_compiled_code does not verify snapshot size
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1741/comments
6
2017-04-18T10:30:04Z
2018-05-24T09:25:24Z
https://github.com/jerryscript-project/jerryscript/issues/1741
222,371,343
1,741
[ "jerryscript-project", "jerryscript" ]
TL;DR: `print` is not part of the ES standard, JerryScript still supports it unconditionally in the core of the engine. Shall we keep it there or not? JerryScript - or, the jerry-core library - aims to be a complete ES5.1 engine, but as small as possible. (Plus, ES2015 features start getting implemented, but that's ...
[Discussion] Are JS `print` and C `jerry_port_console` functions needed?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1737/comments
6
2017-04-15T19:11:05Z
2017-05-03T09:48:46Z
https://github.com/jerryscript-project/jerryscript/issues/1737
221,966,831
1,737
[ "jerryscript-project", "jerryscript" ]
[This conversation](https://github.com/01org/zephyr.js/issues/852) prompted me to wonder about the roadmap of JerryScript. I remember that Samsung representatives joined us at a TC39 meeting in 2014 and explained that the goal was to create an ES5.1 subset, but it appears that ES2015 features have also been added (whic...
JerryScript Development Roadmap?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1735/comments
1
2017-04-14T18:12:12Z
2018-05-24T09:26:11Z
https://github.com/jerryscript-project/jerryscript/issues/1735
221,860,776
1,735
[ "jerryscript-project", "jerryscript" ]
Related to #1717 would it be possible to implement support for constructors (`__attribute__((constructor))`) in jerry's C library? I think that's where it needs to be implemented, in the `jerry-asm.S` file. Having support for constructors makes it easy to register modules independently of the main program, since all...
Feature request: Support __attribute__((constructor)) for easy module loading
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1722/comments
13
2017-04-09T18:03:11Z
2017-04-13T15:21:12Z
https://github.com/jerryscript-project/jerryscript/issues/1722
220,487,512
1,722
[ "jerryscript-project", "jerryscript" ]
A while ago, `JERRY_CONTEXT` define and `jerry_context_t` had been added. Before that change, all the fields in `jerry_context_t` were `static`s that were sprinkled throughout the JerryScript code base. This wasn't great for projects where multiple instances of JerryScript are needed, because `static`s are by definiti...
[Discussion] API to associate binding state (pointers) with the JerryScript context
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1717/comments
52
2017-04-06T12:59:25Z
2017-04-14T00:25:30Z
https://github.com/jerryscript-project/jerryscript/issues/1717
219,890,608
1,717
[ "jerryscript-project", "jerryscript" ]
When implementing external functions, you might have written something like this: ``` // Native implementation of Xyz.prototype.doSomething(a, b) // First arg is expected to be a string. // Second (optional) arg is expected to be a boolean. // `this` is expected to be bound to an instance of Xyz. static jerry_v...
[Proposal] Utilities for argument validation in external functions
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1716/comments
38
2017-04-05T14:13:54Z
2019-01-02T10:00:30Z
https://github.com/jerryscript-project/jerryscript/issues/1716
219,597,206
1,716
[ "jerryscript-project", "jerryscript" ]
Is there any plan to support for iOS?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1713/comments
14
2017-04-04T11:37:13Z
2019-01-30T07:44:37Z
https://github.com/jerryscript-project/jerryscript/issues/1713
219,221,727
1,713
[ "jerryscript-project", "jerryscript" ]
In the most GitHub project website use the "Fork me on GitHub" ribbon. In my opinion this is a good proposer to check our repository. So we can change the "View on GitHub" menu for this, but first I want to ask the community about it. If you don't know about ribbons check [this](https://github.com/blog/273-github-r...
Use GitHub ribbon
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1709/comments
6
2017-03-31T09:41:11Z
2017-04-07T16:50:04Z
https://github.com/jerryscript-project/jerryscript/issues/1709
218,450,503
1,709
[ "jerryscript-project", "jerryscript" ]
Hi, For those of you who *do* read the GitHub issues but are not on the [mailing list](https://mail.gna.org/listinfo/jerryscript-dev): We are planning the first JerryScript community call on Wednesday 5 April, 10:00 CET / 18:00 Korea / 17:00 China / 09:00 UK time. It's a chance to meet fellow contributors and dis...
JerryScript community call 5 April
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1706/comments
1
2017-03-31T07:38:11Z
2017-04-24T13:53:22Z
https://github.com/jerryscript-project/jerryscript/issues/1706
218,421,526
1,706
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 3ff9a7d Build command: ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer --compile-flag=-fno-common --compile-flag=-g --jerry-libc=off --static-link=off --strip=off --system-allocator=on --linker...
stack-buffer-overflow in ecma_builtin_number_prototype_helper_round
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1701/comments
0
2017-03-30T09:52:02Z
2019-06-17T06:26:44Z
https://github.com/jerryscript-project/jerryscript/issues/1701
218,141,263
1,701
[ "jerryscript-project", "jerryscript" ]
## Background ### Pebble App Runtime At Pebble, the watches run 3rd party applications inside an "application runtime" (JerryScript is part of this). We shipped new firmware updates every 6 weeks or so, which often included fixes and optimization, potentially affecting that application runtime. While making chang...
[Proposal] 'Memory Contract' for JerryScript structs
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1694/comments
9
2017-03-28T10:17:19Z
2019-10-25T20:04:34Z
https://github.com/jerryscript-project/jerryscript/issues/1694
217,512,035
1,694
[ "jerryscript-project", "jerryscript" ]
Hi guys, I encountered the following problem when compiling jerryscript for zephyr target. I use GNU ARM Embedded Toolchain, not Zephyr SDK on Mac OSX. Any ideas about this? Thanks for your help. ``` .... ../../../../arm-none-eabi/bin/ld: error: zephyr_prebuilt.elf uses VFP register arguments, .../../../../a...
error: zephyr_prebuilt.elf uses VFP register arguments
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1684/comments
2
2017-03-24T02:08:01Z
2017-04-24T13:52:40Z
https://github.com/jerryscript-project/jerryscript/issues/1684
216,624,506
1,684
[ "jerryscript-project", "jerryscript" ]
So far, all projects I've looked at that use JerryScript's [native handle APIs], fail to implement proper validation on obtained native handle values. Zephyr.js, IoT.js, mbed.js, etc. are all affected by this problem. Let me explain the problem by using an example from the mbedos5 port. The port defines a number of ...
[Proposal] Add `type` argument to native handle API
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1681/comments
31
2017-03-23T09:39:11Z
2017-04-11T00:45:43Z
https://github.com/jerryscript-project/jerryscript/issues/1681
216,364,463
1,681
[ "jerryscript-project", "jerryscript" ]
As mentioned on the JerryScript mailing list: @jiangzidong and myself will be working on adding ES6 Promise to JerryScript. I'm opening this ticket just to track the fact that we are working on this. @jiangzidong FYI: > this is my dev branch: https://github.com/LaszloLango/jerryscript/tree/promise-dev > It is not ...
ES6 Promise
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1675/comments
2
2017-03-22T08:22:06Z
2019-01-02T10:00:30Z
https://github.com/jerryscript-project/jerryscript/issues/1675
215,985,357
1,675
[ "jerryscript-project", "jerryscript" ]
Hi, Jan did an excellent work on porting and maintaining JerryScript on the ARM Mbed OS so I would like to nominate him to become a committer for JerryScript and reviewer for the Mbed port. His patches are: #1531 target: mbedos5: Change to debug profiles #1522 target: mbedos5: Support for building on Windows ...
Nominating Jan Jongboom (@janjongboom) to become a JerryScript committer and mbed port reviewer
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1673/comments
9
2017-03-22T07:34:01Z
2017-03-28T13:41:36Z
https://github.com/jerryscript-project/jerryscript/issues/1673
215,976,728
1,673
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 4420401 Build command: ./tools/build.py --clean --debug ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript Array.prototype.splice(0, 0, 0, "") Array.prototype.shift() Array.prototype.push("", 0, 1) Array.prototype.sort(JSON.parse) `...
Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' failed in ecma_free_string_list
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1671/comments
0
2017-03-21T16:08:38Z
2017-07-13T08:54:16Z
https://github.com/jerryscript-project/jerryscript/issues/1671
215,793,312
1,671
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 4420401 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off --error-messages=on ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript Int16Array.from(); ``` ...
Assertion '!ecma_is_value_empty (ret_value)' failed in ecma_builtin_dispatch_call
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1670/comments
2
2017-03-21T16:04:34Z
2019-01-02T10:00:30Z
https://github.com/jerryscript-project/jerryscript/issues/1670
215,791,865
1,670
[ "jerryscript-project", "jerryscript" ]
The first thing that comes to mind thinking about `import` is probably to include another piece of .js source, but that's not the main reason why I'm interested in this feature: I think having this ES6 feature would help a lot in creating an ecosystem of modules/API bindings for JerryScript. Having a standard way to...
Discussion: ES6 import / System.import?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1665/comments
4
2017-03-17T12:18:44Z
2018-09-06T11:01:15Z
https://github.com/jerryscript-project/jerryscript/issues/1665
214,987,719
1,665
[ "jerryscript-project", "jerryscript" ]
After the PST -> PDT change some of the test262 tests are failed. The reason is the wrong daylight saving time. `ecma_date_daylight_saving_ta` in `ecma-builtin-helpers-date.c` is get the daylight saving adjustment from the system, but it gets it for the current date and not for the date we must set (e.g.: `new Date(196...
Calculation of daylight saving time is wrong
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1661/comments
6
2017-03-14T13:04:04Z
2018-10-17T22:58:19Z
https://github.com/jerryscript-project/jerryscript/issues/1661
214,065,026
1,661
[ "jerryscript-project", "jerryscript" ]
I would like to be able to use the debugger with code loaded from snapshots. Because of device limitations, it may not be possible to parse the source on the device itself. The current debugging approach assumes that the device itself is capable of parsing the JS source. To support debugging of snapshots, I think we...
Debugger support for snapshots
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1660/comments
18
2017-03-14T11:50:37Z
2017-04-21T09:08:20Z
https://github.com/jerryscript-project/jerryscript/issues/1660
214,048,061
1,660
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: b140158 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: Running this test cases lasts unexpectedly long (killed after 2 minutes): ```javascript new Date(-565224, 1) ``` ###### Build command: ``` ./tools/build.py --debug -...
Hang in Date constructor
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1657/comments
1
2017-03-14T00:47:46Z
2017-03-16T16:03:42Z
https://github.com/jerryscript-project/jerryscript/issues/1657
213,938,441
1,657
[ "jerryscript-project", "jerryscript" ]
Compiling Jerryscript (+ RIOT) on my Linux VM, I get the below old-style-definition warnings (by default treated as errors, though they can be bypassed by tweaking the CFLAGS). ``` /home/vagrant/RIOT/examples/javascript/bin/pkg/iotlab-m3/jerryscript/jerry-core/jmem/jmem-allocator.c:40:1: warning: old-style function...
old-style-definition warnings
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1649/comments
2
2017-03-08T15:30:34Z
2017-03-09T12:41:27Z
https://github.com/jerryscript-project/jerryscript/issues/1649
212,766,850
1,649
[ "jerryscript-project", "jerryscript" ]
This issue was discovered and debugged by @MaureenHelm. She got a Zephyr.js build with a sample application, which is converted by Zephyr.js to bytecode snapshot, faulting on FRDM-K64F (ARM Cortex-M4). The same sample worked for me, so it took some time to debug. Maureen found that it boils down to these lines: https:/...
JerryScript uses unaligned word access when dealing with bytecode
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1647/comments
11
2017-03-07T10:37:22Z
2017-03-17T07:49:44Z
https://github.com/jerryscript-project/jerryscript/issues/1647
212,392,783
1,647
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: f780f2b Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript new String(0).split(RegExp.prototype) ``` ###### Build command: ``` ./tools/build.py --debug --clean ``` ###### Backtrace: ``` ICE: Assertion ...
Assertion 'ecma_get_value_type_field (value) == ECMA_TYPE_STRING' failed in ecma_get_string_from_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1641/comments
0
2017-03-03T13:05:14Z
2017-03-14T09:01:23Z
https://github.com/jerryscript-project/jerryscript/issues/1641
211,682,831
1,641
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 92f74f3 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS, x86_64 ``` ###### Test case: ```javascript var seal = seal < 'e' ``` ###### Build command: ``` ./tools/build.py --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --compile-fla...
heap-buffer-overflow in ecma_utf8_string_to_number
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1636/comments
0
2017-03-02T11:58:17Z
2017-03-09T14:03:46Z
https://github.com/jerryscript-project/jerryscript/issues/1636
211,370,579
1,636
[ "jerryscript-project", "jerryscript" ]
I happen to run my JS code with jerry engine. There are issues with the code (my bad), but all I get in the end is: uncaughtException: ReferenceError: Cannot resolve reference. That's it. How do I get some information regarding error location? File and line would be the bare minimum. Column and identifier w...
Runtime error messages contain no source information
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1635/comments
4
2017-03-02T11:32:30Z
2017-03-31T06:36:58Z
https://github.com/jerryscript-project/jerryscript/issues/1635
211,364,849
1,635
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 92f74f3 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS, x86_64 ``` ###### Test case: ```javascript 65535.9.toString(3) ``` ###### Build command: ``` ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --compi...
heap-buffer-overflow in ecma_builtin_number_prototype_object_to_string
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1634/comments
1
2017-03-02T10:44:56Z
2017-03-30T08:40:06Z
https://github.com/jerryscript-project/jerryscript/issues/1634
211,353,855
1,634
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 92f74f3 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript delete new Uint16Array()[0] ``` ###### Build command: ``` ./tools/build.py --clean --debug --compile-flag=-m32 --system-allocator=on --jerry-libc=off ...
Assertion 'ECMA_PROPERTY_GET_TYPE (property) == ECMA_PROPERTY_TYPE_NAMEDDATA || ECMA_PROPERTY_GET_TYPE (property) == ECMA_PROPERTY_TYPE_NAMEDACCESSOR || ECMA_PROPERTY_GET_TYPE (property) == ECMA_PROPERTY_TYPE_VIRTUAL' failed in ecma_is_property_configurable
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1633/comments
1
2017-03-02T10:09:34Z
2017-03-07T00:32:51Z
https://github.com/jerryscript-project/jerryscript/issues/1633
211,344,879
1,633
[ "jerryscript-project", "jerryscript" ]
Jerry version ``` checked version e993ee6c ``` OS ``` Ubuntu 14.04 64bit ``` build cmd ``` ./tools/build.py --clean --debug --compile-flag=-m32 --system-allocator=on --jerry-libc=off ``` Test case ``` ./build/bin/jerry tests/jerry/parser-oom.js Script Error: assertion failed ``` If I remove t...
tests/jerry/parser-oom.js fail
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1630/comments
8
2017-03-01T02:16:16Z
2017-03-03T00:43:58Z
https://github.com/jerryscript-project/jerryscript/issues/1630
210,960,194
1,630
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 3de72af Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript with (print) new function (a, a) { var init; init() } ``` ###### Backtrace: The test fails on different assertion checks depeding on the w...
Assertion 'string_p != NULL' failed in ecma_deref_ecma_string
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1624/comments
0
2017-02-27T12:44:04Z
2017-03-03T11:23:19Z
https://github.com/jerryscript-project/jerryscript/issues/1624
210,473,487
1,624
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 3de72af Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript for (var a in new Int8Array(123)); ``` ###### Build command: ``` ./tools/build.py --clean --debug --compile-flag=-m32 --system-allocator=on --jerry-li...
Segmentation fault in ecma_op_object_get_own_property
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1622/comments
1
2017-02-27T10:41:20Z
2017-03-07T00:33:03Z
https://github.com/jerryscript-project/jerryscript/issues/1622
210,446,918
1,622
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 3de72af Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript var eval = eval.bind() eval(Math.cos()) ``` ###### Build command: ``` ./tools/build.py --clean --debug --compile-flag=-m32 --system-allocator=on --...
Assertion 'ecma_op_is_callable (ecma_make_object_value (func_obj_p))' failed in ecma_op_function_call
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1621/comments
0
2017-02-27T10:32:37Z
2017-04-03T11:05:30Z
https://github.com/jerryscript-project/jerryscript/issues/1621
210,444,810
1,621
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 62a581f Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript var a = new ArrayBuffer (0xfffffffe) ``` ###### Build command: ``` tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-a...
Segmentation fault in ecma_arraybuffer_new_object
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1616/comments
1
2017-02-23T16:48:09Z
2017-03-07T00:33:39Z
https://github.com/jerryscript-project/jerryscript/issues/1616
209,818,388
1,616
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 62a581f Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript var a = a (a === a * a (0x10000) ) && eval == 0x10000() ``` ###### Backtrace: ``` ICE: Assertion 'context_p->last_cbc.literal_type == LEXER_IDENT_LITE...
Assertion 'context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL' failed in parser_process_unary_expression
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1615/comments
0
2017-02-23T15:04:07Z
2017-02-28T09:41:41Z
https://github.com/jerryscript-project/jerryscript/issues/1615
209,786,995
1,615
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 62a581f Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript new Int16Array(Float32Array.prototype) ``` ###### Build command: ``` tools/build.py --clean --debug --profile=es2015-subset --compile-flag=-m32 --system-a...
Assertion 'ecma_builtin_is (obj_p, ECMA_BUILTIN_ID_GLOBAL)' failed in ecma_object_get_class_name
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1613/comments
2
2017-02-23T14:05:11Z
2017-02-27T08:31:10Z
https://github.com/jerryscript-project/jerryscript/issues/1613
209,769,745
1,613
[ "jerryscript-project", "jerryscript" ]
###### Environment: ###### ``` Ubuntu 16.04 gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) Jerry: 92eaea2 ``` ###### Build command: ###### `tools/build.py --debug --profile=es2015-subset --compile-flag=-m32 --system-allocator=on --jerry-libc=off` ###### Test case: ###### ```javascript var a = new Int8Array(); ``` ...
Assertion 'ecma_get_value_type_field (value) == ECMA_TYPE_OBJECT' failed in ecma_get_object_from_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1605/comments
2
2017-02-21T12:12:42Z
2017-02-27T08:29:23Z
https://github.com/jerryscript-project/jerryscript/issues/1605
209,127,277
1,605
[ "jerryscript-project", "jerryscript" ]
We should eliminate all of the python warnings reported by pylint tool. After that we can validate our tool scripts with pylint on travis CI to improve the review process of them. There too many warnings in the current scripts. so my plan is to do it in several PRs.
Cleanup Python warnings
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1600/comments
0
2017-02-21T08:35:12Z
2018-05-24T09:23:50Z
https://github.com/jerryscript-project/jerryscript/issues/1600
209,074,554
1,600
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 33138c0 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript for (var a;; function() { with (a) { break c } } ) try {} finally { break } ``` ###### Backtrace: ...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1598/comments
0
2017-02-20T16:03:58Z
2017-02-22T13:38:33Z
https://github.com/jerryscript-project/jerryscript/issues/1598
208,920,921
1,598
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 33138c0 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04.2 LTS ``` ###### Test case: ```javascript try { a } catch (a) { var v_1 = [a, 1, a, 1, 1, a, 1, a, 1, a, 1, a, 1, a, 1, 1, a, 1, a, 1, a, 1, a, 1, a, 1, ...
Assertion 'byte_code_p[0] == CBC_EXT_OPCODE' failed in vm_stack_find_finally
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1597/comments
0
2017-02-20T15:54:25Z
2017-02-22T13:38:53Z
https://github.com/jerryscript-project/jerryscript/issues/1597
208,918,406
1,597
[ "jerryscript-project", "jerryscript" ]
I need to use the ENABLE_ALL_IN_ONE feature to integrate jerryscript to my project. But after I updated the jerryscript, it crashed. I tried the basic example. It still cannot work. So please validate it and fix it. Thanks.
ENABLE_ALL_IN_ONE feature bug
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1595/comments
4
2017-02-20T05:55:48Z
2017-02-21T08:27:16Z
https://github.com/jerryscript-project/jerryscript/issues/1595
208,790,094
1,595
[ "jerryscript-project", "jerryscript" ]
I want to build jerryscript for ESP32(http://esp32.net/), but I found no solution or tips. Is there any plan to support for ESP32?
Is there any plan to support for ESP32?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1564/comments
7
2017-02-06T12:29:31Z
2017-07-27T07:57:18Z
https://github.com/jerryscript-project/jerryscript/issues/1564
205,569,178
1,564
[ "jerryscript-project", "jerryscript" ]
Hi I am working on the typedarray prototype methods, such as `every` `filter` `forEach` `map` `some` `indexOf` `lastIndexOf` `reduce` `reduceRight` .... Should I sumbit a whole big patch or classify those methods into several patches? Thanks Zidong
[Question about PR] typedarray prototype methods: one big patch or several small ones
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1562/comments
3
2017-02-06T08:37:34Z
2017-02-07T00:28:27Z
https://github.com/jerryscript-project/jerryscript/issues/1562
205,517,858
1,562
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 77ab2c7 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04, x86_64 ``` ###### Test case: ```javascript var f = "function inner(a) {" buildTree(53).traverse (function(node) { f += "var t" + node.number + " = 1;" }) f += "}" var $ = eval(f) function...
Assertion 'register_count < PARSER_MAXIMUM_NUMBER_OF_REGISTERS' failed in parser_compute_indicies
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1556/comments
0
2017-02-01T09:23:43Z
2017-02-06T14:50:44Z
https://github.com/jerryscript-project/jerryscript/issues/1556
204,532,618
1,556
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 77ab2c7 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04, x86_64 ``` ```js var src = "while($) { switch($) {"; for (var i = 0; i < 2270; i++) src += "case " + i + ": if (n[" + i + "] ++ > 0) check ('a string " + i + "'); break;" src += "}}" eval(src) ...
Assertion 'CBC_BRANCH_OFFSET_LENGTH (opcode) == 2' failed in vm_loop
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1555/comments
0
2017-02-01T09:22:50Z
2017-02-06T09:19:32Z
https://github.com/jerryscript-project/jerryscript/issues/1555
204,532,452
1,555
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 7b59c80 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04, x86_64 ``` ###### Test case: ```javascript function createHashTable() { var o = new Array() var elements = new Array() o.elementHash = function (i) { return Math.abs (i) & 31 ...
Assertion 'entry_index != start_entry_index' failed in ecma_property_hashmap_find
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1552/comments
1
2017-01-31T12:09:08Z
2017-02-10T07:10:21Z
https://github.com/jerryscript-project/jerryscript/issues/1552
204,277,624
1,552
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 7b59c80 Build: debug.linux ``` ###### OS: ``` Ubuntu 16.04, x86_64 ``` ###### Test case: The test contains characters that GH cannot display. To save the test case run this Python snippet: ```python with open('test.js', 'wb') as f: f.write(b"\xef\xbb\xb...
Assertion '(c & LIT_UTF8_3_BYTE_MASK) == LIT_UTF8_3_BYTE_MARKER' failed in lit_read_code_unit_from_utf8
https://api.github.com/repos/jerryscript-project/jerryscript/issues/1551/comments
0
2017-01-31T11:32:25Z
2017-02-01T07:47:28Z
https://github.com/jerryscript-project/jerryscript/issues/1551
204,270,041
1,551