{"action":"created","issue":{"url":"https://api.github.com/repos/ghdl/ghdl/issues/621","repository_url":"https://api.github.com/repos/ghdl/ghdl","labels_url":"https://api.github.com/repos/ghdl/ghdl/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/ghdl/ghdl/issues/621/comments","events_url":"https://api.github.com/repos/ghdl/ghdl/issues/621/events","html_url":"https://github.com/ghdl/ghdl/issues/621","id":339148846,"node_id":"MDU6SXNzdWUzMzkxNDg4NDY=","number":621,"title":"crash on improper attribute access","user":{"login":"faf5678","id":8920983,"node_id":"MDQ6VXNlcjg5MjA5ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/8920983?v=4","gravatar_id":"","url":"https://api.github.com/users/faf5678","html_url":"https://github.com/faf5678","followers_url":"https://api.github.com/users/faf5678/followers","following_url":"https://api.github.com/users/faf5678/following{/other_user}","gists_url":"https://api.github.com/users/faf5678/gists{/gist_id}","starred_url":"https://api.github.com/users/faf5678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faf5678/subscriptions","organizations_url":"https://api.github.com/users/faf5678/orgs","repos_url":"https://api.github.com/users/faf5678/repos","events_url":"https://api.github.com/users/faf5678/events{/privacy}","received_events_url":"https://api.github.com/users/faf5678/received_events","type":"User","site_admin":false},"labels":[{"id":815558851,"node_id":"MDU6TGFiZWw4MTU1NTg4NTE=","url":"https://api.github.com/repos/ghdl/ghdl/labels/v0.35%20-%20Latest%20stable","name":"v0.35 - Latest stable","color":"159818","default":false}],"state":"open","locked":false,"assignee":{"login":"tgingold","id":13433645,"node_id":"MDQ6VXNlcjEzNDMzNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/13433645?v=4","gravatar_id":"","url":"https://api.github.com/users/tgingold","html_url":"https://github.com/tgingold","followers_url":"https://api.github.com/users/tgingold/followers","following_url":"https://api.github.com/users/tgingold/following{/other_user}","gists_url":"https://api.github.com/users/tgingold/gists{/gist_id}","starred_url":"https://api.github.com/users/tgingold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgingold/subscriptions","organizations_url":"https://api.github.com/users/tgingold/orgs","repos_url":"https://api.github.com/users/tgingold/repos","events_url":"https://api.github.com/users/tgingold/events{/privacy}","received_events_url":"https://api.github.com/users/tgingold/received_events","type":"User","site_admin":false},"assignees":[{"login":"tgingold","id":13433645,"node_id":"MDQ6VXNlcjEzNDMzNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/13433645?v=4","gravatar_id":"","url":"https://api.github.com/users/tgingold","html_url":"https://github.com/tgingold","followers_url":"https://api.github.com/users/tgingold/followers","following_url":"https://api.github.com/users/tgingold/following{/other_user}","gists_url":"https://api.github.com/users/tgingold/gists{/gist_id}","starred_url":"https://api.github.com/users/tgingold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgingold/subscriptions","organizations_url":"https://api.github.com/users/tgingold/orgs","repos_url":"https://api.github.com/users/tgingold/repos","events_url":"https://api.github.com/users/tgingold/events{/privacy}","received_events_url":"https://api.github.com/users/tgingold/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-07T14:12:04Z","updated_at":"2018-07-07T18:38:11Z","closed_at":null,"author_association":"NONE","body":"GHDL 0.35 crashes with this VHDL code:\r\n\r\n```\r\nentity crash_entity is end entity;\r\narchitecture default of crash_entity is\r\n\tattribute s : string;\r\n\tfunction func return boolean is\r\n\tbegin\r\n\t\treturn s(1);\r\n\tend function;\r\nbegin\r\nend architecture;\r\n```\r\n\r\n**Error message:**\r\n```\r\nsem_parenthesis_name: cannot handle IIR_KIND_ATTRIBUTE_DECLARATION (error.vhd:4:18)\r\n\r\n******************** GHDL Bug occured ****************************\r\nPlease report this bug on https://github.com/tgingold/ghdl/issues\r\nGHDL release: 0.35 (v0.35) [Dunoon edition]\r\nCompiled with GNAT Version: 4.6\r\nTarget: x86_64-pc-linux-gnu\r\nIn directory: /tmp/\r\nCommand line:\r\n/home/user/ghdl/bin/ghdl1-llvm -P/home/user/ghdl/lib/ghdl/v93/std/ -P/home/user/ghdl/lib/ghdl/v93/ieee/ -c -o error.o error.vhd\r\nException TYPES.INTERNAL_ERROR raised\r\nException information:\r\nException name: TYPES.INTERNAL_ERROR\r\nMessage: errorout.adb:246\r\nCall stack traceback locations:\r\n0x49ebaa 0x61b349 0x61da1e 0x630e64 0x631f2e 0x60ca7c 0x60dd52 0x60dec5 0x63d649 0x638feb 0x60f0cb 0x639ac9 0x63f954 0x4eb0bb 0x601ac6 0x6024ef 0x48741b 0x44a0fa 0x7fe2411e2ec3 0x44990a 0xfffffffffffffffe\r\n******************************************************************\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ghdl/ghdl/issues/comments/403235255","html_url":"https://github.com/ghdl/ghdl/issues/621#issuecomment-403235255","issue_url":"https://api.github.com/repos/ghdl/ghdl/issues/621","id":403235255,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzIzNTI1NQ==","user":{"login":"Paebbels","id":956109,"node_id":"MDQ6VXNlcjk1NjEwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/956109?v=4","gravatar_id":"","url":"https://api.github.com/users/Paebbels","html_url":"https://github.com/Paebbels","followers_url":"https://api.github.com/users/Paebbels/followers","following_url":"https://api.github.com/users/Paebbels/following{/other_user}","gists_url":"https://api.github.com/users/Paebbels/gists{/gist_id}","starred_url":"https://api.github.com/users/Paebbels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paebbels/subscriptions","organizations_url":"https://api.github.com/users/Paebbels/orgs","repos_url":"https://api.github.com/users/Paebbels/repos","events_url":"https://api.github.com/users/Paebbels/events{/privacy}","received_events_url":"https://api.github.com/users/Paebbels/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T18:38:11Z","updated_at":"2018-07-07T18:38:11Z","author_association":"MEMBER","body":"@faf5678 I moved your error message into the original issue text. (You can edit own issues at any time.)\r\n\r\nAnyhow, GHDL should write a error message without crashing even if the VHDL code is invalid."}}
{"actor":{"display_login":"Paebbels"}}