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

Segmentation fault when calling BridJ.register() on Android #74

Open
Yrlec opened this issue Aug 4, 2015 · 0 comments
Open

Segmentation fault when calling BridJ.register() on Android #74

Yrlec opened this issue Aug 4, 2015 · 0 comments

Comments

@Yrlec
Copy link

Yrlec commented Aug 4, 2015

I get a segmentation fault when calling BridJ.register() on Android (it's when registering a library called PackJPG). The code works on OS X and Windows but not on Android (KitKat). I have tested it using BridJ 0.7.0, 0.7.0-SNAPSHOT and 0.7.1-SNAPSHOT (all with same binaries from March 5th 2015).

I have debugged it and the problem occurs at line 149 in NativeEntities.java (I'm guessing when it calls JNI.bindJavaMethodsToCFunctions)

This causes the app to crash and print the following error: A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1)

I have attached one screenshot from IntelliJ just before the error occurs and one just after. Hopefully they provide useful info. screen shot 2015-08-04 at 21 11 06.
screen shot 2015-08-04 at 21 11 20
Just let me know if you need any further info.

How do I solve this? Thanks!

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

No branches or pull requests

1 participant