-
Notifications
You must be signed in to change notification settings - Fork 45
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
打包成so包之后,dlopen(dynamicModulePath.c_str(), RTLD_LAZY);加载会报错时因为什么 #26
Comments
debug到 m_DynamicModulePtr = dlopen(dynamicModulePath.c_str(), RTLD_LAZY);这一行时会报错误: Signal: SIGSEGV (signal SIGSEGV: invalid address (fault address: 0x10)) 我编译的时候没有出错 |
先检查下你的so库路径是否正确,dlopen是否打开的是正确路径的so |
路径是没有问题的,我换了别的so包,就可以加载成功,换了自己编译的so包就不行了 |
我没有实际在Ubuntu上编译和运行过这个项目,所以没有办法对你的问题提出建议。 |
dll存在
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
The text was updated successfully, but these errors were encountered: