{"action":"opened","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/24318","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/24318/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/24318/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/24318/events","html_url":"https://github.com/godotengine/godot/issues/24318","id":390595136,"node_id":"MDU6SXNzdWUzOTA1OTUxMzY=","number":24318,"title":"Pooll Array bug 65536","user":{"login":"SuperDIMMaX","id":22836285,"node_id":"MDQ6VXNlcjIyODM2Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/22836285?v=4","gravatar_id":"","url":"https://api.github.com/users/SuperDIMMaX","html_url":"https://github.com/SuperDIMMaX","followers_url":"https://api.github.com/users/SuperDIMMaX/followers","following_url":"https://api.github.com/users/SuperDIMMaX/following{/other_user}","gists_url":"https://api.github.com/users/SuperDIMMaX/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperDIMMaX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperDIMMaX/subscriptions","organizations_url":"https://api.github.com/users/SuperDIMMaX/orgs","repos_url":"https://api.github.com/users/SuperDIMMaX/repos","events_url":"https://api.github.com/users/SuperDIMMaX/events{/privacy}","received_events_url":"https://api.github.com/users/SuperDIMMaX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T09:43:48Z","updated_at":"2018-12-13T09:43:48Z","closed_at":null,"author_association":"NONE","body":"Code\r\n\r\n```\r\nextends Node\r\n\r\nvar list = []\r\n\r\nclass Bug:\r\n\tvar a\r\n\tfunc _init():\r\n\t\trandomize()\r\n\t\t// ---BUG-----\r\n#\t\ta = PoolIntArray([randi()%100,randi()%100,randi()%100])\r\n#\t\t// ---NORMAL--\r\n#\t\ta = Vector3(randi()%100, randi()%100, randi()%100)\r\n\r\nfunc _ready():\r\n\tfor i in range(100000):\r\n\t\tlist.append( Bug.new() )\r\n```\r\n\t\t\r\n-----------------\r\nERROR: set: Condition ' p_index < 0 || p_index >= size() ' is true.\r\n   At: core/dvector.h:488\r\nERROR: All memory pool allocations are in use.\r\n   At: core/dvector.h:524\r\n\r\nEven i create 2 lists list_1[50000] and list_2[20000]\r\n65535 - normal\r\n65536 - crash\r\n> 65536 - errors "}}
{"actor":{"display_login":"SuperDIMMaX"}}