{"action":"created","issue":{"url":"https://api.github.com/repos/opencv/opencv/issues/8753","repository_url":"https://api.github.com/repos/opencv/opencv","labels_url":"https://api.github.com/repos/opencv/opencv/issues/8753/labels{/name}","comments_url":"https://api.github.com/repos/opencv/opencv/issues/8753/comments","events_url":"https://api.github.com/repos/opencv/opencv/issues/8753/events","html_url":"https://github.com/opencv/opencv/pull/8753","id":229996278,"number":8753,"title":"Fix cpu features detection on android","user":{"login":"RyuheiMori","id":28442155,"avatar_url":"https://avatars1.githubusercontent.com/u/28442155?v=3","gravatar_id":"","url":"https://api.github.com/users/RyuheiMori","html_url":"https://github.com/RyuheiMori","followers_url":"https://api.github.com/users/RyuheiMori/followers","following_url":"https://api.github.com/users/RyuheiMori/following{/other_user}","gists_url":"https://api.github.com/users/RyuheiMori/gists{/gist_id}","starred_url":"https://api.github.com/users/RyuheiMori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyuheiMori/subscriptions","organizations_url":"https://api.github.com/users/RyuheiMori/orgs","repos_url":"https://api.github.com/users/RyuheiMori/repos","events_url":"https://api.github.com/users/RyuheiMori/events{/privacy}","received_events_url":"https://api.github.com/users/RyuheiMori/received_events","type":"User","site_admin":false},"labels":[{"id":241027683,"url":"https://api.github.com/repos/opencv/opencv/labels/category:%20android","name":"category: android","color":"ededed","default":false},{"id":241025032,"url":"https://api.github.com/repos/opencv/opencv/labels/category:%20build/install","name":"category: build/install","color":"ededed","default":false},{"id":241024773,"url":"https://api.github.com/repos/opencv/opencv/labels/category:%20core","name":"category: core","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"alalek","id":4981219,"avatar_url":"https://avatars3.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false},"assignees":[{"login":"alalek","id":4981219,"avatar_url":"https://avatars3.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-05-19T14:42:21Z","updated_at":"2017-06-10T01:30:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencv/opencv/pulls/8753","html_url":"https://github.com/opencv/opencv/pull/8753","diff_url":"https://github.com/opencv/opencv/pull/8753.diff","patch_url":"https://github.com/opencv/opencv/pull/8753.patch"},"body":"/proc/self/auxv will fail from regular application processes on some Android platform versions.\r\n\r\nuse cpufeatures library provided by ndk instead."},"comment":{"url":"https://api.github.com/repos/opencv/opencv/issues/comments/307533408","html_url":"https://github.com/opencv/opencv/pull/8753#issuecomment-307533408","issue_url":"https://api.github.com/repos/opencv/opencv/issues/8753","id":307533408,"user":{"login":"alalek","id":4981219,"avatar_url":"https://avatars3.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false},"created_at":"2017-06-10T01:30:12Z","updated_at":"2017-06-10T01:30:12Z","body":"@RyuheiMori Hi! I'm sorry for huge delay.\r\n\r\nUnfortunately, `cpufeatures` detection uses `dlopen` call.\r\nCurrently OpenCV features detection code is processed at library initialization stage (under other `dlopen` call). This pattern is not supported well: recursive dlopen calls hangs on some devices (It hangs on Android 2.2.3, but Android 4.4.3 is fine).\r\n\r\nCould you try to remove dlopen call and try again on your device:\r\n```.diff\r\n-void* libc_handle = dlopen(\"libc.so\", RTLD_NOW);\r\n+void* libc_handle = 0;\r\n```\r\n\r\nDoes other fallback detections work for you?"}}
{"actor":{"display_login":"alalek"}}