Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Violation in Clone() for ROI subimage aligned with bottom of original image #401

Open
GoogleCodeExporter opened this issue Sep 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run attached code (Microsoft Unit Test).

What is the expected output? What do you see instead?

Expected: all four tests pass
Instead: often (not always) the RoiClone_bottom test fails with 
System.AccessViolationException


What version of the product are you using?
AForge 2.2.5 (installed via NuGet)
Visual Studio Express 2013

Please provide any additional information below.
The failure usually occurs the first time the test is run after compiling; 
after that, I see failures in perhaps one execution out of ten.

The code being tested (Extras.Roi()) is taken from a forum post by A.Kirillov:
http://www.aforgenet.com/forum/viewtopic.php?f=2&t=2141&p=5563#p5564

Original issue reported on code.google.com by kismet...@gmail.com on 3 Apr 2015 at 8:08

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant