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: 924f4bbd Build command: ./tools/build.py --clean --debug --profile=es2015-subset --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: ```javascript var v1 = Object(Symbol("symb...
Assertion 'ecma_is_value_boolean (value)' failed in ecma_get_number
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2743/comments
0
2019-01-31T10:29:47Z
2019-02-07T15:07:36Z
https://github.com/jerryscript-project/jerryscript/issues/2743
405,178,495
2,743
[ "jerryscript-project", "jerryscript" ]
as i know, java supports multi-thead, and lua support coroutine mechanism, so, did the jerry vm implemetation supports the mechanism like corotine or native supported multi-threaded? thanks for your support.
did jerryscript support "multi-threaded" or "coroutine" mechanism?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2735/comments
2
2019-01-28T11:57:59Z
2019-06-28T17:09:32Z
https://github.com/jerryscript-project/jerryscript/issues/2735
403,779,374
2,735
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 924f4bbd Build command: ./tools/build.py --clean --debug --compile-flag=-m32 --profile=es2015-subset --system-allocator=on --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: `...
Assertion 'id < LIT_NON_INTERNAL_MAGIC_STRING__COUNT' failed in lit_get_magic_string_size
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2733/comments
0
2019-01-28T10:28:33Z
2019-01-31T12:42:19Z
https://github.com/jerryscript-project/jerryscript/issues/2733
403,744,163
2,733
[ "jerryscript-project", "jerryscript" ]
Handle scopes greatly simplify variables lifetime management. Also handle scope apis are part of N-API. Would like to have handle scope support in JerryScript natively. There is a naïve implementation available in ShadowNode project for JerryScript: https://github.com/yodaos-project/ShadowNode/tree/master/deps/jerry...
Handle scope support in JerryScript
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2732/comments
2
2019-01-28T10:14:29Z
2019-03-27T13:50:00Z
https://github.com/jerryscript-project/jerryscript/issues/2732
403,738,033
2,732
[ "jerryscript-project", "jerryscript" ]
take lua for example ,it is obvioulsy compile language because the source language first comiple by luac to mid-binrary code and then execute the byte code by lua vm. so, is the same logic for jerryscript, i have not found the jerry cunterpart like luac compiler .thank you.
is the jerryscript implementation "compileable" or "interpreterable"?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2730/comments
2
2019-01-25T11:14:54Z
2019-01-25T15:08:49Z
https://github.com/jerryscript-project/jerryscript/issues/2730
403,113,161
2,730
[ "jerryscript-project", "jerryscript" ]
Is there any plan to release a new version of Jerryscript recently?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2729/comments
1
2019-01-24T10:28:42Z
2019-01-24T11:50:13Z
https://github.com/jerryscript-project/jerryscript/issues/2729
402,639,752
2,729
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: a42f239a Build command: ./tools/build.py --clean --debug --compile-flag=-m32 --profile=es2015-subset --system-allocator=on --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: `...
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/2724/comments
0
2019-01-22T14:41:56Z
2019-01-25T10:03:12Z
https://github.com/jerryscript-project/jerryscript/issues/2724
401,796,330
2,724
[ "jerryscript-project", "jerryscript" ]
This issue is created in order to improve branch coverage of functions of `Array.prototype` routines. The following script is made for testing branch coverage with all the test suites (`--jerry-test-suite --test262 --unittests --jerry-tests`), or with only one `.js` file. https://github.com/matedabis/jerryscript/...
Increase branch coverage: Array.prototype routines
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2721/comments
1
2019-01-21T09:44:03Z
2019-07-03T07:53:26Z
https://github.com/jerryscript-project/jerryscript/issues/2721
401,268,607
2,721
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: c23cf417 Build command: ./tools/build.py --clean --debug --compile-flag=-m32 --profile=es2015-subset --system-allocator=on --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: `...
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/2719/comments
0
2019-01-19T20:50:46Z
2019-01-22T00:26:35Z
https://github.com/jerryscript-project/jerryscript/issues/2719
401,033,549
2,719
[ "jerryscript-project", "jerryscript" ]
The same reproducing steps like the previous issues with Stensal SDK (https://stensal.com) Feel free to reach out to me if you need help to interprete the error message. DTS_MSG: Stensal DTS detected a fatal program error! DTS_MSG: Continuing the execution will cause unexpected behaviors, abort! DTS_MSG: OOB Rea...
jerryscript-ext/arg.impl.h@106 has an out-of-bounds read
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2713/comments
1
2019-01-18T05:13:29Z
2019-01-21T08:29:34Z
https://github.com/jerryscript-project/jerryscript/issues/2713
400,575,198
2,713
[ "jerryscript-project", "jerryscript" ]
Reproducing step: 1. I use my Stensal SDK (https://stensal.com), it's free for open source project 2. build jerryscript with stensal-c 3. Run ./build/tests/unit-test-api-strings The following is what I got. Notes safe_memcpy is a safe version of memcpy that does array bounds checking. You can treat it like memcp...
ecma-helpers-string.c@1221 has an out-of-bounds write (buffer overflow)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2712/comments
1
2019-01-18T05:10:40Z
2019-01-21T11:40:28Z
https://github.com/jerryscript-project/jerryscript/issues/2712
400,574,702
2,712
[ "jerryscript-project", "jerryscript" ]
Reproducing steps: 1. I use my Stensal SDK (https://stensal.com) 2. build jerryscript with stensal-c 3. Run ./build/tests/unit-test-api This is what I got: ok 148343051 148341491 0xfff0e4a8 2 ok construct 148343083 148343163 0xfff11bec 1 ok 148343251 148341491 0xfff0e4b4 0 ok object free callback DTS_M...
test-api.c has an out-of-bounds write (buffer overflow)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2711/comments
1
2019-01-18T05:06:58Z
2019-01-21T11:40:28Z
https://github.com/jerryscript-project/jerryscript/issues/2711
400,574,019
2,711
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: adb80c20 Build command: ./tools/build.py --clean --debug --compile-flag=-m32 --profile=es2015-subset --system-allocator=on --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: `...
Assertion 'ecma_is_value_integer_number (value)' failed in ecma_get_integer_from_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2700/comments
0
2019-01-14T08:45:23Z
2019-01-15T16:32:00Z
https://github.com/jerryscript-project/jerryscript/issues/2700
398,792,172
2,700
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 93ec2266 Build command: ./tools/build.py --clean --debug --compile-flag=-m32 --profile=es2015-subset --system-allocator=on --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: `...
Assertion 'literal_p->prop.index >= register_count' failed in parser_post_processing
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2699/comments
1
2019-01-12T22:01:16Z
2019-04-12T11:48:03Z
https://github.com/jerryscript-project/jerryscript/issues/2699
398,596,237
2,699
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 93ec2266 Build command: ./tools/build.py --clean --debug --compile-flag=-m32 --profile=es2015-subset --system-allocator=on --error-messages=on --logging=on ``` ###### OS: ``` Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic ``` ###### Test case: `...
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/2698/comments
0
2019-01-12T11:40:17Z
2019-01-15T08:01:33Z
https://github.com/jerryscript-project/jerryscript/issues/2698
398,546,772
2,698
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 93ec2266 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Array.prototype, 0, { get : function ( ) {throw $} }); Promise...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2693/comments
0
2019-01-11T12:21:01Z
2019-01-14T22:46:02Z
https://github.com/jerryscript-project/jerryscript/issues/2693
398,266,842
2,693
[ "jerryscript-project", "jerryscript" ]
I just noticed the original jerryscript repo is now gone from github and replaced (?) with `pando-project/jerryscript`. Can someone explain what's going on? It would be nice to announce changes like these on the mailing list or something along those lines? I also noticed the `escargot` repo with yet another JS engin...
pando-project? what's happening?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2689/comments
2
2019-01-10T10:44:28Z
2019-02-01T00:44:36Z
https://github.com/jerryscript-project/jerryscript/issues/2689
397,771,150
2,689
[ "jerryscript-project", "jerryscript" ]
Hello everyone, Heap Spray is a widely used payload-delivery technique, most JS engines nowadays integrate special mechanisms to mitigate it. Such as nozzle, bubble, etc. I recently came to conclusion that in JerryScript there are also a kind of mitigation to Heap-Spray, can you guys maybe confirm this and tell me ...
Diskussion about the possibility of Heap-Spray in JerryScript:
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2677/comments
6
2019-01-07T00:14:33Z
2019-01-08T17:45:27Z
https://github.com/jerryscript-project/jerryscript/issues/2677
396,310,056
2,677
[ "jerryscript-project", "jerryscript" ]
I would like to nominate Robert Fancsik (@rerobika) to become a committer. He already has 56 landed PRs (plus 11 currently under review). https://github.com/pando-project/jerryscript/pulls?utf8=✓&q=is%3Apr+author%3Arerobika+
Nominating Robert Fancsik (@rerobika) to become a JerryScript committer
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2676/comments
5
2019-01-06T15:56:57Z
2019-01-14T09:52:16Z
https://github.com/jerryscript-project/jerryscript/issues/2676
396,270,055
2,676
[ "jerryscript-project", "jerryscript" ]
# jerry version aae50c9da089974b2da9bb3df71e0d0dffce467b # build command ``` python ./tools/build.py --clean --debug --compile-flag="-O1 -g -fsanitize=address -fno-omit-frame-pointer" --lto=off --error-message=on ``` # OS Ubuntu 18.04 # vulnerability global buffer overflow # test case https://transfer.sh/9BX...
global-buffer-overflow in print_unhandled_exception
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2675/comments
2
2019-01-06T11:12:38Z
2019-01-21T11:22:28Z
https://github.com/jerryscript-project/jerryscript/issues/2675
396,248,893
2,675
[ "jerryscript-project", "jerryscript" ]
Jerry version: ``` Checked revision: b69f3fd0 Build command: tools/build.py --profile=es2015-subset --clean --error-messages ON ``` OS: ``` Ubuntu 16.04 ``` Test case: ```js class Shape { constructor (id,x,y) { this.id = id this.x = x this.y = y } toString () { ...
Calling parent's function from child handles properties incorrectly
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2671/comments
1
2019-01-03T11:32:09Z
2019-01-08T08:33:27Z
https://github.com/jerryscript-project/jerryscript/issues/2671
395,540,837
2,671
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: b69f3fd0 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript new Strin = class extends f ()() { constructor () { var C = class exten...
Assertion 'context_p->byte_code_size > (branch_p->offset >> 8)' failed in parser_set_branch_to_current_position
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2667/comments
0
2019-01-03T08:45:28Z
2019-01-03T12:36:37Z
https://github.com/jerryscript-project/jerryscript/issues/2667
395,494,111
2,667
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: b69f3fd0 Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript class C { static D () {} } class D extends C {} ``` ###### Backtrace: ...
Assertion 'ecma_get_lex_env_type (lex_env_p) == ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND' failed in ecma_op_set_mutable_binding
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2666/comments
0
2019-01-03T08:33:33Z
2019-01-03T12:37:02Z
https://github.com/jerryscript-project/jerryscript/issues/2666
395,491,278
2,666
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript new RegExp("\{{91[06,456}"); ``` Note: although the assert message is the same as i...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2660/comments
0
2019-01-01T11:27:38Z
2019-01-08T08:04:58Z
https://github.com/jerryscript-project/jerryscript/issues/2660
395,075,148
2,660
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript `eval`("eval ('super (a, b, c)')"); ``` ###### Backtrace: ``` ICE: Assertion ...
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/2659/comments
0
2018-12-31T11:23:36Z
2019-01-15T12:29:57Z
https://github.com/jerryscript-project/jerryscript/issues/2659
394,966,472
2,659
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript var A = class extends null {} new A; ``` ###### Backtrace: ``` ICE: Assertio...
Assertion 'type == ECMA_OBJECT_TYPE_EXTERNAL_FUNCTION' failed in ecma_op_function_construct
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2658/comments
0
2018-12-31T00:23:25Z
2019-01-09T13:27:51Z
https://github.com/jerryscript-project/jerryscript/issues/2658
394,913,191
2,658
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript var Mixin1 = (superclass) => class extends super.lass {}; var Mixin2 = (superclass) ...
Assertion 'lex_env_p != NULL' failed in ecma_op_resolve_super_reference_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2657/comments
0
2018-12-30T22:04:35Z
2019-01-22T08:21:28Z
https://github.com/jerryscript-project/jerryscript/issues/2657
394,904,865
2,657
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript function testcase ( ) { obj.hasOwnProperty("arguments") ; } ``` ###### B...
Assertion '(literal_p->status_flags & ~(LEXER_FLAG_SOURCE_PTR | LEXER_FLAG_LATE_INIT)) == 0' failed in parser_compute_indicies
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2656/comments
1
2018-12-30T21:44:25Z
2019-01-15T12:29:57Z
https://github.com/jerryscript-project/jerryscript/issues/2656
394,903,685
2,656
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript --null.static ? this : [ , ] instanceof true; ``` ###### Backtrace: ``` ICE:...
Assertion 'ecma_is_value_undefined (value) || ecma_is_value_null (value) || ecma_is_value_boolean (value) || ecma_is_value_number (value) || ecma_is_value_string (value) || ecma_is_value_object (value)' failed in ecma_check_value_type_is_spec_defined
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2654/comments
1
2018-12-30T18:09:35Z
2019-01-02T11:56:03Z
https://github.com/jerryscript-project/jerryscript/issues/2654
394,890,750
2,654
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty (Object.prototype, "" , { 'set' : function ( ) { throw new Refe...
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/2653/comments
0
2018-12-30T17:54:28Z
2019-01-03T14:30:22Z
https://github.com/jerryscript-project/jerryscript/issues/2653
394,889,875
2,653
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: ec142f5f Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Object.prototype,"",{'set':function(){throw ReferenceError("")}...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2652/comments
0
2018-12-30T17:40:31Z
2019-01-03T14:30:22Z
https://github.com/jerryscript-project/jerryscript/issues/2652
394,889,008
2,652
[ "jerryscript-project", "jerryscript" ]
Hi, i want to extend jerryscript, and add `Number.isInteger` method, but i have encountered difficulties. I learn `jerry-core/ecma/builtin-objects` codes, then i write these code: ```c /* in lit-magic-strings.inc.h */ LIT_MAGIC_STRING_DEF (LIT_MAGIC_STRING_IS_NAN, "isNaN") LIT_MAGIC_STRING_DEF (LIT_MAGIC_STRING_...
add Number.isInteger Implement not work
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2651/comments
0
2018-12-25T08:37:05Z
2018-12-26T04:47:46Z
https://github.com/jerryscript-project/jerryscript/issues/2651
393,986,927
2,651
[ "jerryscript-project", "jerryscript" ]
When I use scientific notation to assign a value to a variable, I find that in some specific cases, Jerry introduces errors, causing subsequent operations to fail. The common feature of these specific numbers is that the 5th decimal place is odd and the exponent is 21, just like `1.00001e+21`, `1.0003e+21`, etc. Wh...
An error occurred when using scientific notation
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2638/comments
5
2018-12-12T02:22:57Z
2019-01-23T03:28:51Z
https://github.com/jerryscript-project/jerryscript/issues/2638
390,037,261
2,638
[ "jerryscript-project", "jerryscript" ]
Recording a scenario from #2606 > [A] failure was found when debugging IoT.js with static snapshots turned on, if an error was thrown an assertion failure was caused. The reason is the frame context's `bytecode_header_p` pointer was not a heap pointer. The `jerry_debugger_breakpoint_hit` function tries to set a com...
Add test environment for debugging with static snapshots enabled
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2637/comments
0
2018-12-11T17:45:57Z
2018-12-11T17:45:57Z
https://github.com/jerryscript-project/jerryscript/issues/2637
389,879,572
2,637
[ "jerryscript-project", "jerryscript" ]
Please consider moving libc dependency to a standalone file, e.g. jerryscript-libc.h and add to jerryscript-compiler.h, and then remove include <> in the sources.... The reason is that, in future we might have better options that libc dependencies removed for some how OS (w/- libc) or libdl-in-use anyway. ---- ...
Proposal: relocation of libc dependency
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2624/comments
6
2018-11-30T08:27:39Z
2019-01-19T01:42:19Z
https://github.com/jerryscript-project/jerryscript/issues/2624
386,085,032
2,624
[ "jerryscript-project", "jerryscript" ]
Code execution latency
Code execution latency
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2621/comments
0
2018-11-28T10:29:09Z
2018-11-28T10:37:53Z
https://github.com/jerryscript-project/jerryscript/issues/2621
385,200,121
2,621
[ "jerryscript-project", "jerryscript" ]
The 'lexer_parse_number' function will process .5. as a number. Can we modify the code at line 961 ` do { source_p++; } while (source_p < source_end_p && source_p[0] >= LIT_CHAR_0 && source_p[0] <= LIT_CHAR_9); ` to ` while (source_p < source_end_p ...
Parsing code like ".5.toString(4)" will cause a error "identifier start after number"
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2614/comments
0
2018-11-22T07:24:29Z
2018-12-01T16:22:40Z
https://github.com/jerryscript-project/jerryscript/issues/2614
383,409,476
2,614
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 704eb45c Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty( Array.prototype, 0, { set : function ( ) { throw "MyError" } }...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2603/comments
0
2018-11-19T22:53:47Z
2018-11-20T13:40:35Z
https://github.com/jerryscript-project/jerryscript/issues/2603
382,426,488
2,603
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 704eb45c Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty ( Array.prototype , 0 , { set : function ( ) { throw "MyError" ...
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/2602/comments
0
2018-11-19T22:46:21Z
2018-11-20T13:40:35Z
https://github.com/jerryscript-project/jerryscript/issues/2602
382,424,464
2,602
[ "jerryscript-project", "jerryscript" ]
after I open the JMEM_STATS define try to print the heap info, then I find out that at jmem-heap.c jmem_heap_stat_free function the waste_bytes is bigger than heap_stats->waste_bytes.
jmem_heap_stats_t.waste_bytes became a minus value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2600/comments
3
2018-11-16T14:13:40Z
2019-01-19T01:36:06Z
https://github.com/jerryscript-project/jerryscript/issues/2600
381,615,890
2,600
[ "jerryscript-project", "jerryscript" ]
@martijnthe @jimmy-huang Zephyr build currently throws this error: `FileNotFoundError: [Errno 2] No such file or directory: 'pyocd/_version.py'`` `Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-rd78ltjr/pyocd/` Currently all PRs are blocked. Please fix it.
Zephyr build fails on Travis
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2593/comments
1
2018-11-13T07:45:54Z
2018-11-30T11:51:59Z
https://github.com/jerryscript-project/jerryscript/issues/2593
380,097,649
2,593
[ "jerryscript-project", "jerryscript" ]
There is regression after the Class implementation landed. **Build command**: ```bash tools/build.py --clean --debug --profile=es2015-subset ``` **Test case**: ```js function f(a,b,c) { var args = Array.prototype.slice.call(arguments, 3); print(typeof args.splice); } f(); ``` **Output**: ``` un...
Missing prototype functions in ES2015
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2587/comments
2
2018-11-08T09:01:39Z
2018-11-09T08:42:17Z
https://github.com/jerryscript-project/jerryscript/issues/2587
378,635,861
2,587
[ "jerryscript-project", "jerryscript" ]
Hi, This is Qihoo360 CodeSafe Team, we found a suspicious unsigned integer wrap issue, see https://github.com/jerryscript-project/jerryscript/blob/3c1d0e61002c5424d2b882a8044b75a11c0dd58c/jerry-core/ecma/base/ecma-helpers-number.c#L539. At line 539, when the program execute `fraction--`, there is a chance that the va...
A possible unsigned integer wrap?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2582/comments
2
2018-10-31T07:18:52Z
2018-11-12T02:16:06Z
https://github.com/jerryscript-project/jerryscript/issues/2582
375,829,527
2,582
[ "jerryscript-project", "jerryscript" ]
Folks, tl;dr: I need to "un-pop" the argument stack -- go to the last paragraph (starting with "Finally,...") for my suggested addition to the `jerryx_arg` routines... I'm working extensively with the `jerryx_arg` routines/types, and I've hit a snag: I need to query the argument stack without changing it. For e...
Add a new enum type to jerryx_arg_* routines -- EDIT: add a new jerryx_arg_js_iterator_restore() function
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2581/comments
4
2018-10-30T19:47:24Z
2019-01-16T10:51:09Z
https://github.com/jerryscript-project/jerryscript/issues/2581
375,662,963
2,581
[ "jerryscript-project", "jerryscript" ]
Hello, The quickstart says you can: git clone https://github.com/ARMmbed/mbed-js-example cd mbed-js-example npm install gulp --target=YOUR_TARGET_NAME However although the nRF52840 dev kit is claimed to be a supported board, running: gulp --target=NRF52840_DK fails with: $ make BOARD=nrf52840_dk EXTRAS...
Issue using mbedos5 target (nRF52840)
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2569/comments
6
2018-10-20T16:25:18Z
2019-04-11T15:51:45Z
https://github.com/jerryscript-project/jerryscript/issues/2569
372,227,901
2,569
[ "jerryscript-project", "jerryscript" ]
Folks, I'm stymied, and I'd appreciate a tutorial... I'm trying to use the jerryx_arg* functions to do parameter checking --the example for jerryx_arg_array shows how to get a static array (e.g., if you expected a parameter that looked like: [int, float, string]), but I'm looking to validate a parameter that is an ...
How to use the jerryx_arg* for arrays?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2568/comments
4
2018-10-19T22:03:29Z
2020-07-29T20:18:18Z
https://github.com/jerryscript-project/jerryscript/issues/2568
372,130,705
2,568
[ "jerryscript-project", "jerryscript" ]
Folks, Disclaimer: if I've misunderstood something in my explanation: a) mea culpa; feel free to beat me up :-), and b) please explain the truth not only to me, but maybe also include the explanation in the docs... The jerry_object_native_info_t structure contains exactly one field, a pointer to the function that t...
Scrap the jerry_object_native_info_t type and just use jerry_object_native_free_callback_t for native objects
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2562/comments
3
2018-10-17T16:54:30Z
2019-10-18T11:40:09Z
https://github.com/jerryscript-project/jerryscript/issues/2562
371,174,060
2,562
[ "jerryscript-project", "jerryscript" ]
uintptr_t in arg checking?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2561/comments
0
2018-10-12T15:44:58Z
2018-10-12T15:52:01Z
https://github.com/jerryscript-project/jerryscript/issues/2561
369,607,074
2,561
[ "jerryscript-project", "jerryscript" ]
Hi, We are seeing some behavior which we didn't expect when processing an object (jerry_value_t) in c, returned from a javascript function. I am not sure if this is normal behavior, as I am not very familiar with Javascript. Any comments or responses to shed some light on this would be appreciated. We parse and...
jerry_get_property_by_index returns NULL when array item initialized with zero
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2552/comments
5
2018-10-04T19:16:34Z
2018-10-09T20:04:27Z
https://github.com/jerryscript-project/jerryscript/issues/2552
366,932,110
2,552
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 7717d2ee Build command: ./tools/build.py --clean --debug --error-messages=on --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Array.prototype, 0, { get : function ( ) { ...
Assertion 'ecma_is_value_undefined (value) || ecma_is_value_null (value) || ecma_is_value_boolean (value) || ecma_is_value_number (value) || ecma_is_value_string (value) || ecma_is_value_object (value)' failed in ecma_check_value_type_is_spec_defined
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2544/comments
0
2018-09-29T18:22:06Z
2018-10-03T09:39:44Z
https://github.com/jerryscript-project/jerryscript/issues/2544
365,155,228
2,544
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 7717d2ee Build command: ./tools/build.py --clean --debug --error-messages=on --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript print (Promise.race( [ , , , , , , , , , , , , , , , this , , thi...
Assertion 'builtin_id < ECMA_BUILTIN_ID__COUNT' failed in ecma_builtin_try_to_instantiate_property
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2541/comments
0
2018-09-26T09:55:54Z
2018-10-05T06:08:45Z
https://github.com/jerryscript-project/jerryscript/issues/2541
363,946,374
2,541
[ "jerryscript-project", "jerryscript" ]
Folks, I apologize if I'm being obtuse, but I'm stuck: This morning, I cloned a clean repo and rebuilt a unix version of the repl (using jerry-main/main-unix.c). The following Javascript: `var x = new ArrayBuffer(128);` ...produces: `Script Error: ReferenceError` ...I've also tried to use the API to crea...
ArrayBuffer tutorial/help, please...
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2539/comments
2
2018-09-21T15:00:37Z
2018-09-21T15:34:06Z
https://github.com/jerryscript-project/jerryscript/issues/2539
362,654,734
2,539
[ "jerryscript-project", "jerryscript" ]
The jerryscript debugger exits when it is executing a program with timer callback function: ``` $ build/x86_64-linux/debug/bin/iotjs -d testcase.js the 1 times running! the 2 times running! the 3 times running! TCP Error: Resource temporarily unavailable the 4 times running! the 5 times running! the 6 times...
iotjs timer callback causes debugger to exit
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2537/comments
0
2018-09-21T04:19:24Z
2018-09-24T07:21:36Z
https://github.com/jerryscript-project/jerryscript/issues/2537
362,450,404
2,537
[ "jerryscript-project", "jerryscript" ]
The test code: [regexp-simple-atom-and-iterations.js.txt](https://github.com/jerryscript-project/jerryscript/files/2393003/regexp-simple-atom-and-iterations.js.txt) Compile like this: python tools/build.py --error-messages=ON --line-info=ON --mem-heap 9 --debug Then there will be an assertion fail to indicate ...
The JS engine may free a literal twice if error occurs at function "parser_post_processing"
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2531/comments
4
2018-09-18T01:53:33Z
2018-10-17T23:17:53Z
https://github.com/jerryscript-project/jerryscript/issues/2531
361,105,981
2,531
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 2d83d8ed Build command: ./tools/build.py --clean --debug --error-messages=on --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript for ( /a/ in yield => { } , yield => { } , yield => { } ) throw 1...
Assertion '((jmem_cpointer_t) uint_ptr) == uint_ptr' failed in jmem_decompress_pointer
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2528/comments
0
2018-09-16T21:08:29Z
2018-09-17T11:31:19Z
https://github.com/jerryscript-project/jerryscript/issues/2528
360,678,783
2,528
[ "jerryscript-project", "jerryscript" ]
The Travis CI is green, but there is an error in the logs: ``` /home/travis/build/jerryscript-project/jerryscript/tools/check-magic-strings.sh Traceback (most recent call last): File "tools/gen-magic-strings.py", line 289, in <module> main() File "tools/gen-magic-strings.py", line 278, in main uses =...
Travis check does not fail when it should do.
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2522/comments
0
2018-09-12T10:20:33Z
2018-09-14T11:37:52Z
https://github.com/jerryscript-project/jerryscript/issues/2522
359,413,094
2,522
[ "jerryscript-project", "jerryscript" ]
The engine's code base has lots of macro guards, making it well-configurable. However, these macros grew somewhat organically and got named as `CONFIG_{EN,DIS}ABLE_xxx`, `CONFIG_xxx`, `{EN,DIS}ABLE_xxx`, `JERRY_{EN,DIS}ABLE_xxx`, `JERRY_xxx`, or `modulename_xxx`. Quite a mix. Moreover, right now it is encoded in some o...
Consolidate configuration macros
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2520/comments
5
2018-09-11T18:57:27Z
2019-10-18T11:37:26Z
https://github.com/jerryscript-project/jerryscript/issues/2520
359,177,527
2,520
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: d270f82e Build command: ./tools/build.py --clean --debug --error-messages=on --profile=es2015-subset --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript print(Promise.race([,,,,,,,,,,,,,,,this,,this,,,,,,{ },function()...
Assertion 'ECMA_PROPERTY_IS_PROPERTY_PAIR (prop_iter_p)' failed in ecma_find_named_property
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2506/comments
1
2018-09-03T09:20:33Z
2018-10-05T06:08:42Z
https://github.com/jerryscript-project/jerryscript/issues/2506
356,423,032
2,506
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 300e40ba Build command: tools/build.py --debug --logging=on ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Object.prototype, "", {}); JSON.stringify() ``` ###### Backtrace: ``` ICE: Assertion '...
Assertion 'ecma_is_value_true (put_comp_val)' failed in ecma_builtin_json_str_helper
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2494/comments
0
2018-08-28T15:52:35Z
2018-09-14T10:04:48Z
https://github.com/jerryscript-project/jerryscript/issues/2494
354,794,933
2,494
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 300e40ba Build command: tools/build.py --debug --logging=on --profile=es2015-subset ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Object.prototype, 6, {}); Promise.all([0]); ``` ###### Backtrace: ...
Assertion 'ecma_is_value_integer_number (index_val)' failed in ecma_builtin_promise_all_handler
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2490/comments
2
2018-08-28T08:13:31Z
2018-09-24T11:49:42Z
https://github.com/jerryscript-project/jerryscript/issues/2490
354,619,096
2,490
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 300e40ba Build command: tools/build.py --debug --logging=on --profile=es2015-subset ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Object.prototype, 0, {'get': function() { throw $ }}); Promise.all(); `...
Assertion 'object_p->type_flags_refs >= ECMA_OBJECT_REF_ONE' failed in ecma_deref_object
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2489/comments
0
2018-08-28T08:10:23Z
2018-09-17T16:27:01Z
https://github.com/jerryscript-project/jerryscript/issues/2489
354,617,987
2,489
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 300e40ba Build command: tools/build.py --debug --logging=on --profile=es2015-subset ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Array.prototype, 0, {set: function() {throw "MyError"}}); Promise.all([0...
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/2488/comments
0
2018-08-27T21:29:15Z
2018-09-06T19:05:38Z
https://github.com/jerryscript-project/jerryscript/issues/2488
354,485,547
2,488
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 300e40ba Build command: tools/build.py --debug --logging=on --profile=es2015-subset ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.defineProperty(Array.prototype, 0, {set: function() {var $ = $()}}); Promise.all([0]) ...
Assertion 'JERRY_CONTEXT (jmem_heap_allocated_size) == 0' failed in jmem_heap_finalize
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2487/comments
0
2018-08-27T18:52:48Z
2018-09-06T19:05:37Z
https://github.com/jerryscript-project/jerryscript/issues/2487
354,434,393
2,487
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 300e40ba Build command: tools/build.py --debug --logging=on --profile=es2015-subset ``` ###### OS: ``` Ubuntu 18.04, x86_64 ``` ###### Test case: ```javascript Object.setPrototypeOf(Math, Int32Array); for (var i = 0; i < 200; i++) { Promise.race([,...
Assertion 'ECMA_PROPERTY_GET_TYPE (*property_p) == ECMA_PROPERTY_TYPE_NAMEDDATA || ECMA_PROPERTY_GET_TYPE (*property_p) == ECMA_PROPERTY_TYPE_NAMEDACCESSOR' failed in ecma_is_property_lcached
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2486/comments
0
2018-08-27T14:14:45Z
2018-10-05T06:08:42Z
https://github.com/jerryscript-project/jerryscript/issues/2486
354,337,027
2,486
[ "jerryscript-project", "jerryscript" ]
The parser doesn't recognize a right brace after a return to be the end of a block ```js function fn(x) { switch (x) { case 1: { return } } } ``` Produces: `Snapshot error: SyntaxError: Primary expression expected. [line: 3, column: 22]` This issue is reproducible on 4e58ccf68070671e1fff5cd6673f0c1...
Syntax error when closing block after return statement
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2478/comments
0
2018-08-17T21:34:59Z
2018-08-21T07:42:01Z
https://github.com/jerryscript-project/jerryscript/issues/2478
351,745,736
2,478
[ "jerryscript-project", "jerryscript" ]
Version: 4e58ccf68070671e1fff5cd6673f0c1d5b80b166 Build command: `python3 ./tools/build.py --clean --jerry-libc=off --system-allocator=on --profile=es2015-subset --compile-flag=-m32 --compile-flag=-fsanitize=address --strip=OFF` Testcase: `cat testcase | ./jerry` Where testcase is as following: ``` 0 /ð/...
Heap buffer overflow in lit_char_to_utf8_bytes
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2476/comments
0
2018-08-16T15:19:04Z
2018-08-21T04:53:56Z
https://github.com/jerryscript-project/jerryscript/issues/2476
351,251,936
2,476
[ "jerryscript-project", "jerryscript" ]
Following up on #2446, this issue tracks headers that still cause doxygen warnings and are therefore on the EXCLUDE list of Doxyfile. - [ ] jerry-core/ecma/base/ecma-globals.h - [ ] jerry-core/ecma/base/ecma-helpers.h - [ ] jerry-core/ecma/operations/ecma-exceptions.h - [ ] jerry-core/include/jerryscript-debugger...
Missing documentation from jerry-core headers
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2469/comments
0
2018-08-13T09:34:14Z
2018-08-13T09:34:14Z
https://github.com/jerryscript-project/jerryscript/issues/2469
349,955,108
2,469
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 29e7330b 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 \ --strip=off --system-allocator=on \ --linker-flag...
Assertion 'ecma_is_value_object (capability) && ecma_is_value_object (array) && ecma_is_value_object (ctor)' failed in ecma_builtin_promise_do_race
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2468/comments
0
2018-08-12T23:05:30Z
2018-08-31T14:45:33Z
https://github.com/jerryscript-project/jerryscript/issues/2468
349,851,604
2,468
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 29e7330b 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 \ --strip=off --system-allocator=on \ --linker-flag...
Assertion 'ecma_is_value_object (value)' failed in ecma_get_object_from_value
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2465/comments
0
2018-08-11T13:42:08Z
2018-08-31T14:45:33Z
https://github.com/jerryscript-project/jerryscript/issues/2465
349,734,982
2,465
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 1ac2903d 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 --logging=on --strip=off --system-allocator=on --linker-flag=-fuse-ld=go...
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/2453/comments
0
2018-08-08T09:07:02Z
2018-09-04T08:47:29Z
https://github.com/jerryscript-project/jerryscript/issues/2453
348,638,400
2,453
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 1ac2903d 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 --logging=on --strip=off --system-allocator=on --linker-flag=-fuse-ld=go...
Assertion 'offset == cesu8_buf_size' failed in lit_get_utf8_length_of_cesu8_string
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2452/comments
0
2018-08-08T08:53:47Z
2018-09-04T08:47:29Z
https://github.com/jerryscript-project/jerryscript/issues/2452
348,633,856
2,452
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 1ac2903d 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 \ --strip=off --system-allocator=on \ --linker-flag=-fuse-ld=gold --...
heap-buffer-overflow in lit_read_code_unit_from_utf8
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2451/comments
0
2018-08-08T08:41:24Z
2018-09-04T08:47:29Z
https://github.com/jerryscript-project/jerryscript/issues/2451
348,629,557
2,451
[ "jerryscript-project", "jerryscript" ]
Jerry Version: c93bea32c43f507d88ac354ea411c714203ebb5a Build command: python tools/build.py --profile=es2015-subset --jerry-libc=OFF --clean --strip OFF --compile-flag="-g" --compile-flag="-fsanitize=address" OS: Ubuntu 16.04 Compiler: GCC 7.1 Test case: ``` var x = new RegExp('(/*()+?b+?...
Uncontrolled recursion in re_match_regexp
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2448/comments
0
2018-08-07T08:00:14Z
2019-01-17T19:16:50Z
https://github.com/jerryscript-project/jerryscript/issues/2448
348,209,807
2,448
[ "jerryscript-project", "jerryscript" ]
- Jerry Version: f86d745 - Build command: `python tools/build.py --profile=es2015-subset --jerry-libc=OFF --clean --strip OFF --compile-flag="-g" --compile-flag="-fsanitize=address"` - OS: Ubuntu 16.04 - Test case: `(new Int8Array(0)).filter(parseInt)` - Result: ```ASAN:SIGSEGV =====================...
Null pointer dereference in jmem-heap
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2435/comments
0
2018-07-24T09:16:56Z
2018-08-01T14:09:31Z
https://github.com/jerryscript-project/jerryscript/issues/2435
343,952,194
2,435
[ "jerryscript-project", "jerryscript" ]
I'd like to know your thoughts about an isolated execution model in jerryscript for asynchronous multithreading. What are needed to support the following features of platforms based on jerryscript? - Isolated instances of jerryscript engine. - Communication with each threaded-instance (e.g message passing or someth...
multithreaded jerryscript
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2433/comments
5
2018-07-23T06:12:22Z
2019-10-25T19:22:12Z
https://github.com/jerryscript-project/jerryscript/issues/2433
343,500,099
2,433
[ "jerryscript-project", "jerryscript" ]
In mbed OS, PinName enum is defined in PinNames.h file for each target. Considering a case where a target (e.g TARGET_HI2110) marks the last entry of the enum as NUM_MAX, the generate_pins.py reports error: IndexError: list index out of range.
mbed-os: generate_pins.py fails if last value of PinName enum is not defined
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2418/comments
4
2018-07-05T13:02:36Z
2019-07-01T10:24:27Z
https://github.com/jerryscript-project/jerryscript/issues/2418
338,565,356
2,418
[ "jerryscript-project", "jerryscript" ]
Can i build jerryscript without any OS for a target e.g. stm32f4? I cant seem to find any clear instructions for building it for a baremetal MCU. Also in the targets folder, stm32f4 is with either Nuttx or Riot but no baremetal. Can someone confirm this?
jerryscript baremetal
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2417/comments
4
2018-07-04T05:39:30Z
2018-07-04T09:37:50Z
https://github.com/jerryscript-project/jerryscript/issues/2417
338,136,310
2,417
[ "jerryscript-project", "jerryscript" ]
Hi, I'm doing my open source project using JerryScript over one and a half year. Sometimes I need to upgrade JerryScript from the git code base. But, I'm worry about integrating just most recent commits, not official release. There is no official release since Sep. 2016 (v1.0). And, it is also hard to identify wh...
Release and version management
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2413/comments
6
2018-06-29T06:25:15Z
2019-09-13T08:54:29Z
https://github.com/jerryscript-project/jerryscript/issues/2413
336,877,970
2,413
[ "jerryscript-project", "jerryscript" ]
Hi, I'd like to turn off print message log level trace, however it looks like always be printed on console because the macro JERRY_TRACE_MSG always are to be replaced jerry_port_log method when compiling. e.g.) ecma-regexp-object.c On the other hand, I could turn off log level error one by defining JERRY_NDEBUG ...
How to disable TRACE_MSG ?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2412/comments
4
2018-06-28T13:06:15Z
2018-07-03T07:18:23Z
https://github.com/jerryscript-project/jerryscript/issues/2412
336,613,319
2,412
[ "jerryscript-project", "jerryscript" ]
Could JerryScript support const keyword? for example, ```javascript const ctx = wx.createCanvasContext('myCanvas') // Create linear gradient const grd = ctx.createLinearGradient(0, 0, 200, 0) grd.addColorStop(0, 'red') grd.addColorStop(1, 'white') // Fill with gradient ctx.setFillStyle(grd) ctx.fillRec...
const keyword in JavaScript
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2402/comments
7
2018-06-19T02:35:53Z
2018-06-20T13:57:55Z
https://github.com/jerryscript-project/jerryscript/issues/2402
333,498,841
2,402
[ "jerryscript-project", "jerryscript" ]
This issue is an continuation of #2365. I have cooked up a simple test case to test registering external function names to prevent cache misses: ``` 1 #include <stdio.h> 2 #include <string.h> 3 #include "jerryscript.h" 4 #include "jerryscript-ext/handler.h" 5 6 static jerry_value_t 7 add_hand...
strings in jerry_register_magic_strings conflict with each other
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2399/comments
2
2018-06-15T15:41:34Z
2018-06-15T17:46:56Z
https://github.com/jerryscript-project/jerryscript/issues/2399
332,823,738
2,399
[ "jerryscript-project", "jerryscript" ]
Hello, I'm trying to get Jerryscript running on an ARM device but I'm running into a linker problem I can't seem to figure it out. I've added a toolchain file named toolchain_gba_arm7tdmi and it looks like: ```cmake set(DEVKITARM $ENV{DEVKITARM}) set(DEVKITPRO $ENV{DEVKITPRO}) if(DEVKITPRO) message(FATAL_ERR...
Linking issue for ARM on OSX
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2393/comments
4
2018-06-09T19:43:25Z
2019-01-21T12:42:47Z
https://github.com/jerryscript-project/jerryscript/issues/2393
330,914,246
2,393
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 8b8bced6 Build command: CC=clang ./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 \ --strip=off --sys...
heap-use-after-free in ecma_lcache_lookup
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2386/comments
1
2018-06-06T08:42:00Z
2018-06-11T01:20:57Z
https://github.com/jerryscript-project/jerryscript/issues/2386
329,769,656
2,386
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 8b8bced6 Build command: ./tools/build.py --clean --debug ``` ###### OS: ``` Ubuntu 17.10 ``` ###### Test case: ```javascript "[]{83}".match("(?=){12,8}") ``` ###### Backtrace: ``` ICE: Assertion 'qmin <= qmax' failed at jerryscript/jerry-core/parser/r...
Assertion 'qmin <= qmax' failed in re_insert_into_group
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2384/comments
0
2018-06-05T17:00:09Z
2018-06-11T07:25:54Z
https://github.com/jerryscript-project/jerryscript/issues/2384
329,544,339
2,384
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 8b8bced6 Build command: ./tools/build.py --clean --debug ``` ###### OS: ``` Ubuntu 17.10 ``` ###### Description: The test case below converts an array to JSON string. However, (probably because of the unicode characters) the last object's last field (`fz_retur...
Incorrect output from JSON.stringify
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2383/comments
4
2018-06-05T15:46:03Z
2018-09-04T12:58:15Z
https://github.com/jerryscript-project/jerryscript/issues/2383
329,517,027
2,383
[ "jerryscript-project", "jerryscript" ]
I was wondering if there are any side effects besides increased memory usage by using uncompressed pointer(passing `--cpointer-32bit` as a build option). My main concern is according to the [data representation](https://github.com/jerryscript-project/jerryscript/blob/master/docs/04.INTERNALS.md#data-representation) ...
Side effect of using uncompressed pointer?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2368/comments
7
2018-06-01T00:12:32Z
2018-06-01T21:44:56Z
https://github.com/jerryscript-project/jerryscript/issues/2368
328,338,401
2,368
[ "jerryscript-project", "jerryscript" ]
So I was trying to debug my last [issue](https://github.com/jerryscript-project/jerryscript/issues/2365) and I ran into what I think its a bug. ***Explanation*** * `jerry_create_external_function_object` calls [`ecma_op_create_external_function_object `](https://github.com/jerryscript-project/jerryscript/blob/64b...
external function type flag is lost after returning from create_external_function
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2366/comments
2
2018-05-30T23:06:56Z
2018-05-31T12:09:05Z
https://github.com/jerryscript-project/jerryscript/issues/2366
327,930,149
2,366
[ "jerryscript-project", "jerryscript" ]
I have noticed everytime JS calls an external C function the `LCACHE` will miss. Testing method: I looped an external C call 10000 times and `LCACHE` missed exactly 20000 times. (MISS when ecma_lcache_lookup returns NULL) This is quite a performance hit. Calling an empty external C function is 10% faster(77282 c...
LCACHE misses for every native C function call
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2365/comments
6
2018-05-29T19:21:34Z
2019-01-02T10:00:31Z
https://github.com/jerryscript-project/jerryscript/issues/2365
327,453,884
2,365
[ "jerryscript-project", "jerryscript" ]
Is there a way to make `jerry_create_string` not duplicate the string literal instead use the same reference?
Prevent jerry_create_string from copying string?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2358/comments
3
2018-05-24T16:03:34Z
2018-05-29T20:58:54Z
https://github.com/jerryscript-project/jerryscript/issues/2358
326,189,245
2,358
[ "jerryscript-project", "jerryscript" ]
I want to use snapshot_save and exec feature in my c code, how do I compile jerryscript library with those features enabled? I set the features to ON inside jerry-core/CMakeList but it didn't enable them when I checked at runtime. I know this question seems dumb lol but I can't find any documentation regarding th...
How to turn on a feature?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2356/comments
0
2018-05-23T14:03:41Z
2018-05-23T14:24:58Z
https://github.com/jerryscript-project/jerryscript/issues/2356
325,721,037
2,356
[ "jerryscript-project", "jerryscript" ]
If I add a native C function wrapper to the global JS scope then load and execute a snapshotted function that invoke the said native function wrapper inside its function body, will it work?
Does snapshot work with native functions?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2354/comments
3
2018-05-23T02:06:15Z
2018-05-23T17:12:19Z
https://github.com/jerryscript-project/jerryscript/issues/2354
325,522,967
2,354
[ "jerryscript-project", "jerryscript" ]
###### Jerry version: ``` Checked revision: 872825fb 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=...
heap-buffer-overflow in lit_utf8_incr
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2344/comments
0
2018-05-19T10:32:49Z
2018-05-22T08:32:41Z
https://github.com/jerryscript-project/jerryscript/issues/2344
324,619,811
2,344
[ "jerryscript-project", "jerryscript" ]
Does anyone have any objection to retiring the `Mbed` JerryScript target? It was initially developed to support the Mbed OS 3 branch of Mbed which was discontinued 18 Months ago and is no longer supported by Arm. Retiring this target would give us the opportunity to entirely concentrate on the Mbed OS 5 target. ...
Retire Mbed target and concentrate on Mbed OS 5 target
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2338/comments
1
2018-05-17T16:20:11Z
2018-05-20T05:31:26Z
https://github.com/jerryscript-project/jerryscript/issues/2338
324,094,394
2,338
[ "jerryscript-project", "jerryscript" ]
There is an ongoing work of changing "error flags" to "error values". "error values" are primary values such as "null", "number", but they exist only on Jerry API level. Therefore JS do not need handle them at all. Error values are designed to be return values, not arguments (no change here). Hence any API or C call...
Discussing error management
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2318/comments
1
2018-05-09T08:33:28Z
2019-08-04T10:54:18Z
https://github.com/jerryscript-project/jerryscript/issues/2318
321,478,923
2,318
[ "jerryscript-project", "jerryscript" ]
ecmascript-binary-ast is a standard way to compress Javascript, does that have benifit?
How about using https://github.com/binast/ecmascript-binary-ast instead of snapshot?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2311/comments
2
2018-05-05T09:24:58Z
2018-05-05T13:23:10Z
https://github.com/jerryscript-project/jerryscript/issues/2311
320,494,242
2,311
[ "jerryscript-project", "jerryscript" ]
Hello, I'm writing code that should work as the following from the JS side: ```js x.y.fn('foo') .then(v => console.log(v)) .catch(error => console.err(err)); ``` Don't worry about what happens when the promise is resolved, my problem is when I reject the promise. Currently, I want to reject the promise an...
Passing Error objects to Promise
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2310/comments
3
2018-05-04T15:58:14Z
2018-06-25T19:43:17Z
https://github.com/jerryscript-project/jerryscript/issues/2310
320,329,630
2,310
[ "jerryscript-project", "jerryscript" ]
```C #include <stdio.h> #include "jerryscript.h" static const char instanceof_source[] = "var x = function(o, c) {return (o instanceof c);}; x"; static jerry_value_t external_function (const jerry_value_t function_obj, const jerry_value_t this_arg, const jerry_value_t ar...
instanceof throws TypeError for instance derived from native-backed constructor
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2302/comments
3
2018-04-28T16:06:02Z
2019-10-25T13:56:37Z
https://github.com/jerryscript-project/jerryscript/issues/2302
318,648,271
2,302
[ "jerryscript-project", "jerryscript" ]
Folks, When I am done using the interpreter, I would like a way to clean up (in case I want to start a new instance of the interpreter, for example) that doesn't complain about un-free'd jerry_value_t values, etc. It's useful sometimes to have jerry_cleanup complain to tell me when I've got a leak, but there are ti...
jerry_cleanup -- quiet, please...
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2301/comments
5
2018-04-26T15:43:38Z
2019-10-25T19:42:43Z
https://github.com/jerryscript-project/jerryscript/issues/2301
318,088,759
2,301
[ "jerryscript-project", "jerryscript" ]
In the Unix build, if there are some errors in script, only little message provided: ```JavaScript A(); ``` ./bin/jerry error.js Script Error: ReferenceError However, in iot.js, more error message provided: ./build/x86_64-linux/debug/bin/iotjs error.js uncaughtException: ReferenceError: A...
How to provide more error information?
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2297/comments
5
2018-04-24T06:00:34Z
2018-04-24T09:16:02Z
https://github.com/jerryscript-project/jerryscript/issues/2297
317,080,718
2,297
[ "jerryscript-project", "jerryscript" ]
I would expect in [this line] to pop the iterator if `js_arg` is `undefined`. Otherwise there can only be a single optional argument. Another consequence is that `jerryx_arg_transform_optional` does not work together with `jerryx_arg_transform_object_properties` because the iterator does not get advanced when an opti...
jerryx_arg_transform_optional does not advance iterator in case the value is undefined
https://api.github.com/repos/jerryscript-project/jerryscript/issues/2288/comments
2
2018-04-17T13:25:51Z
2019-07-17T12:16:42Z
https://github.com/jerryscript-project/jerryscript/issues/2288
315,058,956
2,288