{"action":"created","issue":{"url":"https://api.github.com/repos/processing/processing/issues/4468","repository_url":"https://api.github.com/repos/processing/processing","labels_url":"https://api.github.com/repos/processing/processing/issues/4468/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/4468/comments","events_url":"https://api.github.com/repos/processing/processing/issues/4468/events","html_url":"https://github.com/processing/processing/issues/4468","id":154287263,"number":4468,"title":"Crash with fullscreen(P3D) / Processing 3.1","user":{"login":"StanLepunK","id":3332269,"avatar_url":"https://avatars.githubusercontent.com/u/3332269?v=3","gravatar_id":"","url":"https://api.github.com/users/StanLepunK","html_url":"https://github.com/StanLepunK","followers_url":"https://api.github.com/users/StanLepunK/followers","following_url":"https://api.github.com/users/StanLepunK/following{/other_user}","gists_url":"https://api.github.com/users/StanLepunK/gists{/gist_id}","starred_url":"https://api.github.com/users/StanLepunK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StanLepunK/subscriptions","organizations_url":"https://api.github.com/users/StanLepunK/orgs","repos_url":"https://api.github.com/users/StanLepunK/repos","events_url":"https://api.github.com/users/StanLepunK/events{/privacy}","received_events_url":"https://api.github.com/users/StanLepunK/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing/processing/labels/opengl","name":"opengl","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-11T16:32:46Z","updated_at":"2016-05-22T20:29:35Z","closed_at":null,"body":"I write a complex code, who use sometime size, sometime fullscreen.\r\nthe program work perfectly with size(,,P3D) but crash 99% of the time with fullscreen(P3D) ;\r\nI try all my last two day I reproduce this bug in something simple to post it, but I fail to do that\r\nSo the error message : \r\n````\r\njava.lang.RuntimeException: Waited 5000ms for: <6b277f8f, 65e08c9b>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>\r\n\tat processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:449)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n````\r\nThe bug is the same with Processing 3.0.2\r\n\r\nI try to continue to find a simple code to isolate the bug !"},"comment":{"url":"https://api.github.com/repos/processing/processing/issues/comments/220854358","html_url":"https://github.com/processing/processing/issues/4468#issuecomment-220854358","issue_url":"https://api.github.com/repos/processing/processing/issues/4468","id":220854358,"user":{"login":"JakubValtar","id":3177098,"avatar_url":"https://avatars.githubusercontent.com/u/3177098?v=3","gravatar_id":"","url":"https://api.github.com/users/JakubValtar","html_url":"https://github.com/JakubValtar","followers_url":"https://api.github.com/users/JakubValtar/followers","following_url":"https://api.github.com/users/JakubValtar/following{/other_user}","gists_url":"https://api.github.com/users/JakubValtar/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubValtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubValtar/subscriptions","organizations_url":"https://api.github.com/users/JakubValtar/orgs","repos_url":"https://api.github.com/users/JakubValtar/repos","events_url":"https://api.github.com/users/JakubValtar/events{/privacy}","received_events_url":"https://api.github.com/users/JakubValtar/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T20:29:35Z","updated_at":"2016-05-22T20:29:35Z","body":"I think that I managed to reproduce your problem:\r\n```processing\r\nvoid setup() {\r\n  size(300, 300, P3D);\r\n  surface.setLocation(100, 100);\r\n  try { Thread.sleep(6000); } catch (InterruptedException e) { }\r\n}\r\n```\r\nYou call `surface.setLocation()` and then you initialize your OSC, which probably takes more than 5 seconds to complete. JOGL then complains that it could not set the location for 5 seconds and it is giving up. In your `setup()`, try to call `OSCSetup()` first and `size_scene()` after it and I'm sure it will be alright.\r\n\r\n  "}}
{"actor":{"display_login":"JakubValtar"}}