{"action":"created","issue":{"url":"https://api.github.com/repos/kylelutz/compute/issues/432","labels_url":"https://api.github.com/repos/kylelutz/compute/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/kylelutz/compute/issues/432/comments","events_url":"https://api.github.com/repos/kylelutz/compute/issues/432/events","html_url":"https://github.com/kylelutz/compute/issues/432","id":59614045,"number":432,"title":"opengl_create_shared_context() crashes","user":{"login":"salmanulhaq","id":273014,"avatar_url":"https://avatars.githubusercontent.com/u/273014?v=3","gravatar_id":"","url":"https://api.github.com/users/salmanulhaq","html_url":"https://github.com/salmanulhaq","followers_url":"https://api.github.com/users/salmanulhaq/followers","following_url":"https://api.github.com/users/salmanulhaq/following{/other_user}","gists_url":"https://api.github.com/users/salmanulhaq/gists{/gist_id}","starred_url":"https://api.github.com/users/salmanulhaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salmanulhaq/subscriptions","organizations_url":"https://api.github.com/users/salmanulhaq/orgs","repos_url":"https://api.github.com/users/salmanulhaq/repos","events_url":"https://api.github.com/users/salmanulhaq/events{/privacy}","received_events_url":"https://api.github.com/users/salmanulhaq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T09:12:08Z","updated_at":"2015-03-03T12:15:46Z","closed_at":null,"body":"I've CUDA 6.5 toolkit and latest drivers installed on my Ubuntu 14.04. Normal context creation works just fine. Creating a shared context fails. I've freeglut3 and glew installed as well as Qt5.4\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9147310-opengl_create_shared_context-crashes?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/kylelutz/compute/issues/comments/76934855","html_url":"https://github.com/kylelutz/compute/issues/432#issuecomment-76934855","issue_url":"https://api.github.com/repos/kylelutz/compute/issues/432","id":76934855,"user":{"login":"salmanulhaq","id":273014,"avatar_url":"https://avatars.githubusercontent.com/u/273014?v=3","gravatar_id":"","url":"https://api.github.com/users/salmanulhaq","html_url":"https://github.com/salmanulhaq","followers_url":"https://api.github.com/users/salmanulhaq/followers","following_url":"https://api.github.com/users/salmanulhaq/following{/other_user}","gists_url":"https://api.github.com/users/salmanulhaq/gists{/gist_id}","starred_url":"https://api.github.com/users/salmanulhaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salmanulhaq/subscriptions","organizations_url":"https://api.github.com/users/salmanulhaq/orgs","repos_url":"https://api.github.com/users/salmanulhaq/repos","events_url":"https://api.github.com/users/salmanulhaq/events{/privacy}","received_events_url":"https://api.github.com/users/salmanulhaq/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T12:15:46Z","updated_at":"2015-03-03T12:15:46Z","body":"I've pinned it down to this call:\r\n```c++\r\nif(!gpu.supports_extension(cl_gl_sharing_extension)){\r\n    continue;\r\n} \r\n```\r\n\r\nThis gives me segmentation fault so I thought ```cl_gl_sharing_extension``` (const char*) maybe the cause. I commented this call out but then same \"Segmentation fault\" error with the context creation call below it:\r\n\r\n```c++\r\nreturn context(gpu, properties);\r\n```\r\n\r\n```properties``` array looks ok."}}