-
Notifications
You must be signed in to change notification settings - Fork 730
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
StackOverflowError when loading .so files #331
Comments
This might interesting:
|
I think I got it! While searching for |
Awesome, thanks for the feedback! Might be a good idea to make a wiki page where to collect those weird errors and their solution. Everyone has write access, so feel free to create a new page. |
…nt `StackOverflowError` in `JNI_OnLoad()` (issue bytedeco/javacpp-presets#331) * Propagate within `Parser` type information from macros to other macros referencing them Also fix a few more issues with `Parser`
Given:
This works on my machine (Ubuntu 14.04.5 LTS, x86_64) and on the machines of my colleagues (Linux Mint 18 Sarah, x86_64).
However on our deployment environment (Ubuntu 15.10, x86_64) the Loader.load() fails:
I don't think this is a real StackOverflow as the length of the stack is not that large. The issue seems related to bytedeco/javacv#113 .
What I've done so far:
Enabled debug:
This indicates that loading libjniavcodec.so fails.
ldd libjniavcodec.so
however shows that all dependencies can be found (same output on my machine as on the deployment server)Also
objdump
shows the same information on both machines:This list of needed libs is shown below, but all are available as they are loaded as indicated by the logs.
I have no idea how to continue the investigation, does anyone have an idea on how to proceed?
The text was updated successfully, but these errors were encountered: