{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/445","labels_url":"https://api.github.com/repos/Samsung/jerryscript/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/issues/445/comments","events_url":"https://api.github.com/repos/Samsung/jerryscript/issues/445/events","html_url":"https://github.com/Samsung/jerryscript/issues/445","id":96512205,"number":445,"title":"Assertion 'buff_index <= buff_size' failed in ecma_builtin_number_prototype_object_to_string","user":{"login":"renatahodovan","id":3356404,"avatar_url":"https://avatars.githubusercontent.com/u/3356404?v=3","gravatar_id":"","url":"https://api.github.com/users/renatahodovan","html_url":"https://github.com/renatahodovan","followers_url":"https://api.github.com/users/renatahodovan/followers","following_url":"https://api.github.com/users/renatahodovan/following{/other_user}","gists_url":"https://api.github.com/users/renatahodovan/gists{/gist_id}","starred_url":"https://api.github.com/users/renatahodovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renatahodovan/subscriptions","organizations_url":"https://api.github.com/users/renatahodovan/orgs","repos_url":"https://api.github.com/users/renatahodovan/repos","events_url":"https://api.github.com/users/renatahodovan/events{/privacy}","received_events_url":"https://api.github.com/users/renatahodovan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Samsung/jerryscript/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/Samsung/jerryscript/labels/ecma%20builtins","name":"ecma builtins","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"dbatyai","id":12066566,"avatar_url":"https://avatars.githubusercontent.com/u/12066566?v=3","gravatar_id":"","url":"https://api.github.com/users/dbatyai","html_url":"https://github.com/dbatyai","followers_url":"https://api.github.com/users/dbatyai/followers","following_url":"https://api.github.com/users/dbatyai/following{/other_user}","gists_url":"https://api.github.com/users/dbatyai/gists{/gist_id}","starred_url":"https://api.github.com/users/dbatyai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbatyai/subscriptions","organizations_url":"https://api.github.com/users/dbatyai/orgs","repos_url":"https://api.github.com/users/dbatyai/repos","events_url":"https://api.github.com/users/dbatyai/events{/privacy}","received_events_url":"https://api.github.com/users/dbatyai/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Samsung/jerryscript/milestones/2","html_url":"https://github.com/Samsung/jerryscript/milestones/ECMA%20builtins","labels_url":"https://api.github.com/repos/Samsung/jerryscript/milestones/2/labels","id":1120294,"number":2,"title":"ECMA builtins","description":"","creator":{"login":"galpeter","id":12067856,"avatar_url":"https://avatars.githubusercontent.com/u/12067856?v=3","gravatar_id":"","url":"https://api.github.com/users/galpeter","html_url":"https://github.com/galpeter","followers_url":"https://api.github.com/users/galpeter/followers","following_url":"https://api.github.com/users/galpeter/following{/other_user}","gists_url":"https://api.github.com/users/galpeter/gists{/gist_id}","starred_url":"https://api.github.com/users/galpeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galpeter/subscriptions","organizations_url":"https://api.github.com/users/galpeter/orgs","repos_url":"https://api.github.com/users/galpeter/repos","events_url":"https://api.github.com/users/galpeter/events{/privacy}","received_events_url":"https://api.github.com/users/galpeter/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":191,"state":"open","created_at":"2015-05-20T08:01:13Z","updated_at":"2015-08-07T07:35:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-22T08:50:55Z","updated_at":"2015-08-07T07:35:32Z","closed_at":"2015-08-07T07:35:32Z","body":"###### Jerry version:\r\n    Checked revision: 7c16228\r\n    Build: debug.linux\r\n###### OS: \r\n    Ubuntu 15.04, x86_64\r\n###### Test case:\r\n```javascript\r\nvar v_0 = Number\r\nvar v_1 = new v_0(\"1e73\")\r\nv_1.toString(35);\r\n```\r\n\r\n###### Backtrace:\r\n```javascript\r\nICE: Assertion 'buff_index <= buff_size' failed at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.cpp(ecma_builtin_number_prototype_object_to_string):303.\r\nError: ERR_FAILED_INTERNAL_ASSERTION\r\n\r\nProgram received signal SIGABRT, Aborted.\r\n0x00000000004a1235 in syscall_2_asm () at jerryscript/jerry-libc/target/linux/jerry-asm.S:32\r\n32    SYSCALL_2\r\n(gdb) bt\r\n# 0  0x00000000004a1235 in syscall_2_asm () at jerryscript/jerry-libc/target/linux/jerry-asm.S:32\r\n# 1  0x00000000004003c2 in syscall_2 (syscall_no=62, arg1=27152, arg2=6) at jerryscript/jerry-libc/target/linux/jerry-libc-target.c:96\r\n# 2  0x0000000000400563 in abort () at jerryscript/jerry-libc/target/linux/jerry-libc-target.c:175\r\n# 3  0x00000000004405e6 in jerry_fatal(jerry_fatal_code_t) (code=ERR_FAILED_INTERNAL_ASSERTION)\r\n    at jerryscript/jerry-core/jrt/jrt-fatals.cpp:65\r\n# 4  0x0000000000440635 in jerry_assert_fail(char const*, char const*, char const*, unsigned int) (assertion=0x4bdb00 \"buff_index <= buff_size\", \r\n    file=0x4bda68 \"jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.cpp\", \r\n    function=0x4a3ae0 <_ZZL46ecma_builtin_number_prototype_object_to_stringjPKjjE8__func__.lto_priv.861> \"ecma_builtin_number_prototype_object_to_string\", \r\n    line=303) at jerryscript/jerry-core/jrt/jrt-fatals.cpp:92\r\n# 5  0x0000000000483991 in ecma_builtin_number_prototype_object_to_string(unsigned int, unsigned int const*, unsigned int) [clone .lto_priv.857] (\r\n    this_arg=147, arguments_list_p=0x813b50 <_ZL13mem_heap_area.lto_priv.1061+262032>, arguments_list_len=1)\r\n    at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.cpp:303\r\n# 6  0x0000000000482cac in ecma_builtin_number_prototype_dispatch_routine (builtin_routine_id=103, this_arg_value=147, \r\n    arguments_list=0x813b50 <_ZL13mem_heap_area.lto_priv.1061+262032>, arguments_number=1)\r\n    at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-number-prototype.inc.h:47\r\n# 7  0x000000000049670c in ecma_builtin_dispatch_routine (builtin_object_id=ECMA_BUILTIN_ID_NUMBER_PROTOTYPE, builtin_routine_id=103, this_arg_value=147, \r\n    arguments_list=0x813b50 <_ZL13mem_heap_area.lto_priv.1061+262032>, arguments_number=1)\r\n    at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtins.inc.h:91\r\n# 8  0x0000000000495d8f in ecma_builtin_dispatch_call (obj_p=0x7d3e18 <_ZL13mem_heap_area.lto_priv.1061+600>, this_arg_value=147, \r\n    arguments_list_p=0x813b50 <_ZL13mem_heap_area.lto_priv.1061+262032>, arguments_list_len=1)\r\n    at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtins.cpp:414\r\n# 9  0x000000000044c91b in ecma_op_function_call (func_obj_p=0x7d3e18 <_ZL13mem_heap_area.lto_priv.1061+600>, this_arg_value=147, \r\n    arguments_list_p=0x813b50 <_ZL13mem_heap_area.lto_priv.1061+262032>, arguments_list_len=1)\r\n    at jerryscript/jerry-core/ecma/operations/ecma-function-object.cpp:787\r\n# 10 0x000000000043d1d6 in opfunc_call_n (opdata=..., int_data=0x7fffffffd500) at jerryscript/jerry-core/vm/opcodes.cpp:866\r\n# 11 0x000000000049e10a in vm_loop (int_data_p=0x7fffffffd500, run_scope_p=0x0) at jerryscript/jerry-core/vm/vm.cpp:466\r\n# 12 0x000000000049e397 in vm_run_from_pos (opcodes_p=0x7d3d58 <_ZL13mem_heap_area.lto_priv.1061+408>, start_pos=1, this_binding_value=23, \r\n    lex_env_p=0x7d3bf8 <_ZL13mem_heap_area.lto_priv.1061+56>, is_strict=false, is_eval_code=false) at jerryscript/jerry-core/vm/vm.cpp:556\r\n# 13 0x000000000049df74 in vm_run_global () at jerryscript/jerry-core/vm/vm.cpp:395\r\n# 14 0x00000000004a05fd in jerry_run () at jerryscript/jerry-core/jerry.cpp:1375\r\n# 15 0x000000000049f1a8 in main (argc=3, argv=0x7fffffffd8c8) at jerryscript/main-linux.cpp:294\r\n```"},"comment":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/comments/128623167","html_url":"https://github.com/Samsung/jerryscript/issues/445#issuecomment-128623167","issue_url":"https://api.github.com/repos/Samsung/jerryscript/issues/445","id":128623167,"user":{"login":"galpeter","id":12067856,"avatar_url":"https://avatars.githubusercontent.com/u/12067856?v=3","gravatar_id":"","url":"https://api.github.com/users/galpeter","html_url":"https://github.com/galpeter","followers_url":"https://api.github.com/users/galpeter/followers","following_url":"https://api.github.com/users/galpeter/following{/other_user}","gists_url":"https://api.github.com/users/galpeter/gists{/gist_id}","starred_url":"https://api.github.com/users/galpeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galpeter/subscriptions","organizations_url":"https://api.github.com/users/galpeter/orgs","repos_url":"https://api.github.com/users/galpeter/repos","events_url":"https://api.github.com/users/galpeter/events{/privacy}","received_events_url":"https://api.github.com/users/galpeter/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T07:35:32Z","updated_at":"2015-08-07T07:35:32Z","body":"Closing as fix was landed into master and the assert doesn't occur now."}}