{"action":"opened","issue":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/590","labels_url":"https://api.github.com/repos/Samsung/jerryscript/issues/590/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/issues/590/comments","events_url":"https://api.github.com/repos/Samsung/jerryscript/issues/590/events","html_url":"https://github.com/Samsung/jerryscript/issues/590","id":101772982,"number":590,"title":"Assertion 'mem_free_chunks_number == 0' failed in mem_pools_finalize","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T23:35:54Z","updated_at":"2015-08-18T23:35:54Z","closed_at":null,"body":"###### Jerry version:\r\n    Checked revision: ab47365\r\n    Build: debug.linux\r\n###### OS: \r\n    Ubuntu 15.04, x86_64\r\n###### Test case:\r\n```javascript\r\nJSON.stringify([], [1, 1]);\r\n```\r\n###### Backtrace:\r\n```javascript\r\nICE: Assertion 'mem_free_chunks_number == 0' failed at jerryscript/jerry-core/mem/mem-poolman.cpp(mem_pools_finalize):171.\r\nError: ERR_FAILED_INTERNAL_ASSERTION\r\n\r\nProgram received signal SIGABRT, Aborted.\r\n0x00000000004a9023 in syscall_2_asm () at jerryscript/jerry-libc/target/linux/jerry-asm.S:32\r\n32\t  SYSCALL_2\r\n# 0  0x00000000004a9023 in syscall_2_asm () at jerryscript/jerry-libc/target/linux/jerry-asm.S:32\r\n# 1  0x0000000000400847 in syscall_2 (syscall_no=62, arg1=16519, arg2=6) at jerryscript/jerry-libc/target/linux/jerry-libc-target.c:96\r\n# 2  0x00000000004009e8 in abort () at jerryscript/jerry-libc/target/linux/jerry-libc-target.c:175\r\n# 3  0x000000000046f1f5 in jerry_fatal(jerry_fatal_code_t) (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-core/jrt/jrt-fatals.cpp:65\r\n# 4  0x000000000046f244 in jerry_assert_fail(char const*, char const*, char const*, unsigned int) (assertion=0x4cbd1b \"mem_free_chunks_number == 0\", \r\n    file=0x4cbcd8 \"jerryscript/jerry-core/mem/mem-poolman.cpp\", function=0x4aa0b0 <_ZZ18mem_pools_finalizevE8__func__.lto_priv.1054> \"mem_pools_finalize\", line=171)\r\n    at jerryscript/jerry-core/jrt/jrt-fatals.cpp:92\r\n# 5  0x00000000004a5f07 in mem_pools_finalize () at jerryscript/jerry-core/mem/mem-poolman.cpp:171\r\n# 6  0x00000000004a48f4 in mem_finalize (is_show_mem_stats=false) at jerryscript/jerry-core/mem/mem-allocator.cpp:58\r\n# 7  0x00000000004a2cf0 in jerry_cleanup () at jerryscript/jerry-core/jerry.cpp:1351\r\n# 8  0x00000000004a17e3 in main (argc=3, argv=0x7fffffffdd88) at jerryscript/main-linux.cpp:299\r\n```"}}