{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/465","labels_url":"https://api.github.com/repos/Samsung/jerryscript/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/issues/465/comments","events_url":"https://api.github.com/repos/Samsung/jerryscript/issues/465/events","html_url":"https://github.com/Samsung/jerryscript/issues/465","id":97027961,"number":465,"title":"Segmentation fault in re_parse_char_class","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":"open","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":16,"closed_issues":192,"state":"open","created_at":"2015-05-20T08:01:13Z","updated_at":"2015-08-07T07:46:14Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-24T11:04:18Z","updated_at":"2015-08-07T07:57:15Z","closed_at":null,"body":"###### Jerry version:\r\n    Checked revision: 021fc62\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 = /[\\0]C/;\r\n```\r\n\r\n###### Backtrace:\r\n```javascript\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x000000000040a0eb in re_parse_char_class (parser_ctx_p=0x7fffffffd2b0, append_char_class=0x4087e3 <re_append_char_class(void*, uint32_t, uint32_t)>, \r\n    re_ctx_p=0x7fffffffd270, out_token_p=0x7fffffffd290) at jerryscript/jerry-core/parser/regexp/re-parser.cpp:429\r\n429             || lit_char_is_decimal_digit (RE_LOOKUP (*pattern_p, 1)))\r\n(gdb) bt\r\n# 0  0x000000000040a0eb in re_parse_char_class (parser_ctx_p=0x7fffffffd2b0, append_char_class=0x4087e3 <re_append_char_class(void*, uint32_t, uint32_t)>, \r\n    re_ctx_p=0x7fffffffd270, out_token_p=0x7fffffffd290) at jerryscript/jerry-core/parser/regexp/re-parser.cpp:429\r\n# 1  0x0000000000409139 in re_parse_alternative (re_ctx_p=0x7fffffffd270, expect_eof=true)\r\n    at jerryscript/jerry-core/parser/regexp/re-compiler.cpp:567\r\n# 2  0x00000000004093f2 in re_compile_bytecode (bytecode_p=0x7d4dd8 <_ZL13mem_heap_area.lto_priv.1048+536>, \r\n    pattern_str_p=0x7d4c78 <_ZL13mem_heap_area.lto_priv.1048+184>, flags=0 '\\000')\r\n    at jerryscript/jerry-core/parser/regexp/re-compiler.cpp:667\r\n# 3  0x0000000000417cff in ecma_op_create_regexp_object (pattern_p=0x7d4c78 <_ZL13mem_heap_area.lto_priv.1048+184>, flags_str_p=0x0)\r\n    at jerryscript/jerry-core/ecma/operations/ecma-regexp-object.cpp:222\r\n# 4  0x000000000043e5c2 in opfunc_assignment (opdata=..., frame_ctx_p=0x7fffffffd520) at jerryscript/jerry-core/vm/opcodes.cpp:207\r\n# 5  0x00000000004a0209 in vm_loop (int_data_p=0x7fffffffd520, run_scope_p=0x0) at jerryscript/jerry-core/vm/vm.cpp:470\r\n# 6  0x0000000000498ea8 in vm_run_from_pos (opcodes_p=0x7d4d58 <_ZL13mem_heap_area.lto_priv.1048+408>, start_pos=1, this_binding_value=23, \r\n    lex_env_p=0x7d4bf8 <_ZL13mem_heap_area.lto_priv.1048+56>, is_strict=false, is_eval_code=false) at jerryscript/jerry-core/vm/vm.cpp:560\r\n# 7  0x00000000004a0073 in vm_run_global () at jerryscript/jerry-core/vm/vm.cpp:399\r\n# 8  0x00000000004a1e0a in jerry_run () at jerryscript/jerry-core/jerry.cpp:1375\r\n# 9  0x00000000004a09b5 in main (argc=2, argv=0x7fffffffd8e8) at jerryscript/main-linux.cpp:294\r\n```"},"comment":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/comments/128629648","html_url":"https://github.com/Samsung/jerryscript/issues/465#issuecomment-128629648","issue_url":"https://api.github.com/repos/Samsung/jerryscript/issues/465","id":128629648,"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:57:15Z","updated_at":"2015-08-07T07:57:15Z","body":"@LaszloLango, with the #505 there is no assert now."}}