{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/676","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/676/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/676/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/676/events","html_url":"https://github.com/mshabunin/test2/issues/676","id":95205365,"number":676,"title":"ORB feature detector crashes with AccessViolationException","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mshabunin/test2/labels/affected:%20master","name":"affected: master","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/auto-transferred","name":"auto-transferred","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/category:%20features2d","name":"category: features2d","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/priority:%20normal","name":"priority: normal","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/status:%20new","name":"status: new","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/target:%203.0","name":"target: 3.0","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-15T14:13:09Z","updated_at":"2015-07-15T14:13:09Z","closed_at":null,"body":"Converted from http://code.opencv.org/issues/4423\r\n```\n|| by Robert Schwede on 2015-06-19 07:40\n|| Status: New\n|| Priority: Normal\n|| Affected: branch 'master' (3.0-dev)\n|| Target: 3.0\n|| Category: features2d\n|| Tracker: bug\n```\n\nORB feature detector crashes with AccessViolationException\n-----------\n```\nWhen trying to to detect features on a large number of images,\nOrb::detectAndCompute() crashes from time to time with an\nAccessViolationException.  \nAll my images are of the same size (256x256 pixels), it makes no\ndifference if they contain random data or meaningful images.\n\nI use Emgu.CV to call opencv from my c# program.\n\nFor the ORB detector, I use the following parameters:\n\nnfeatures=1000, scaleFactor=1.2f, nlevels=1, edgeThreshold=0,\nfirstLevel=0, WTA_K=2, scoreType=ORB::HARRIS_SCORE, patchSize=32\n\nI was not able to reproduce the crash when I changed the patchSize to\n31.\n\nThe crash happens after processing ~1000 images when processing the\nimages in a sequential for-loop, but much faster (~20 images) when I try\nto process several images in parallel.\n\nI was able to catch the exception in the VisualStudio debugger, but i\nhave no experience in debugging unmanaged code. Please give me\ninstructions how to extract additional information from the debugger, if\nneccessary.  \nAttached are screenshots from the debugger, showing the part of the code\nwhere the exception happens, and the local variables.\n```\n\nHistory\n-------\n##### by Robert Schwede on 2015-06-19 07:41\n```\n-   Assignee deleted (Maria Dimashova)\n```"}}