- 论坛徽章:
- 0
|
HELP!!!!!!!!!!! 关于动态库调用问题高手请进~~~3X
我看UNXI下man dlclose()最后一行说: \r\nOnce an object has been closed by dlclose( ), referencing symbols contained in that object can cause undefined behavior. \r\n看AIX的资料也说: \r\nNevertheless, subsequent uses of Data are invalid, and further uses of symbols that were exported by the module being unloaded result in undefined behavior. \r\n是不是dlclose()本身在使用时就会带来不确定的后果 \r\n有谁用过吗,请教啦 \r\n谢谢无双版主,我在UNIX下使用都正常移植到AIX就会有这个问题.传入参数应该没错是我用dlopen()打开的handle, 我也检查了动态库不存在内存泄漏的问题。 \r\n是这样的我在服务程序里调用一个交易调度的动态库,在交易调度的动态库里再根据交易码调相应的动态库,在这一级动态库调用时使用dlclose()服务程序被当掉了。 \r\nHELP ME~~ \r\n程序因为涉及文件太多不知贴那一段不好意思  |
|