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

Get fatal signal 11 (SIGSEGV) when creating a Mat #197

Closed
beta opened this issue Aug 9, 2015 · 2 comments
Closed

Get fatal signal 11 (SIGSEGV) when creating a Mat #197

beta opened this issue Aug 9, 2015 · 2 comments

Comments

@beta
Copy link

beta commented Aug 9, 2015

I'm using JavaCV with Android and I want to convert a drawable resource to Mat.

Bitmap bitmapRoad = BitmapFactory.decodeResource(this.getResources(), R.drawable.road);
Frame frameRoad = converterBitmapFrame.convert(bitmapRoad);
Mat matRoad = converterFrameMat.convert(frameRoad);

However I got an error which says "Fatal signal 11 (SIGSEGV), code 1, fault addr 0x28 in tid 15549". I removed all the code and left just one line Mat mat = new Mat();, it also threw the same error. What's the possible reason of this error?

@saudet
Copy link
Member

saudet commented Aug 9, 2015

Even with the binaries at #179 (comment)?

@beta
Copy link
Author

beta commented Aug 9, 2015

@saudet wow it works. Thanks!

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

2 participants