{"action":"created","issue":{"url":"https://api.github.com/repos/GarageGames/Torque3D/issues/1154","labels_url":"https://api.github.com/repos/GarageGames/Torque3D/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/GarageGames/Torque3D/issues/1154/comments","events_url":"https://api.github.com/repos/GarageGames/Torque3D/issues/1154/events","html_url":"https://github.com/GarageGames/Torque3D/issues/1154","id":56481056,"number":1154,"title":"[OSX] OpenGL VBO Crash","user":{"login":"JeffProgrammer","id":4423768,"avatar_url":"https://avatars.githubusercontent.com/u/4423768?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffProgrammer","html_url":"https://github.com/JeffProgrammer","followers_url":"https://api.github.com/users/JeffProgrammer/followers","following_url":"https://api.github.com/users/JeffProgrammer/following{/other_user}","gists_url":"https://api.github.com/users/JeffProgrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffProgrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffProgrammer/subscriptions","organizations_url":"https://api.github.com/users/JeffProgrammer/orgs","repos_url":"https://api.github.com/users/JeffProgrammer/repos","events_url":"https://api.github.com/users/JeffProgrammer/events{/privacy}","received_events_url":"https://api.github.com/users/JeffProgrammer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GarageGames/Torque3D/labels/Bug%20/%20fix","name":"Bug / fix","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-04T05:08:22Z","updated_at":"2015-02-08T07:20:32Z","closed_at":null,"body":"Randomly during GUI rendering, a fatal assert is thrown saying that inside of GFXDrawUtil::drawBitmapStretchSR(), \"Cannot access verts from an unlocked vertex buffer!!!\" Yet, the vertex buffer handle has called .lock() before setting the points. verts[0].points.set() will throw a EXE_BAD_ACCESS\r\n\r\nHas anybody seen this on windows or linux OpenGL during testing?\r\n\r\nWill have to do some investigation...\r\n\r\n- Using the OpenGL 3.2 CORE profile\r\n- Mac OS 10.10.2 \"yosemite\"\r\n- Intel Iris Pro OpenGL Engine OpenGL V 4.1\r\n- 1536MB video ram\r\n\r\nAlthough the branch is very similar, the only modifications on here is to get it to compile and run on OSX basic lighting.\r\nhttps://github.com/JeffProgrammer/Torque3D/tree/mac-gl32-merge-dev\r\n\r\nCrash is here: https://github.com/JeffProgrammer/Torque3D/blob/mac-gl32-merge-dev/Engine/source/gfx/gfxDrawUtil.cpp#L385"},"comment":{"url":"https://api.github.com/repos/GarageGames/Torque3D/issues/comments/73400156","html_url":"https://github.com/GarageGames/Torque3D/issues/1154#issuecomment-73400156","issue_url":"https://api.github.com/repos/GarageGames/Torque3D/issues/1154","id":73400156,"user":{"login":"JeffProgrammer","id":4423768,"avatar_url":"https://avatars.githubusercontent.com/u/4423768?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffProgrammer","html_url":"https://github.com/JeffProgrammer","followers_url":"https://api.github.com/users/JeffProgrammer/followers","following_url":"https://api.github.com/users/JeffProgrammer/following{/other_user}","gists_url":"https://api.github.com/users/JeffProgrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffProgrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffProgrammer/subscriptions","organizations_url":"https://api.github.com/users/JeffProgrammer/orgs","repos_url":"https://api.github.com/users/JeffProgrammer/repos","events_url":"https://api.github.com/users/JeffProgrammer/events{/privacy}","received_events_url":"https://api.github.com/users/JeffProgrammer/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T07:20:32Z","updated_at":"2015-02-08T07:20:32Z","body":"If anybody else out there runs OSX, can you try running my branch and uncommenting my fix to see if it will crash while using the glMap* commands? I'm wondering if it's just 10.10.2's openGL driver, or my gpu, or something and not all macs..."}}