Some libstdc++ functions might fail when used in a plugin
Lukas955 opened this issue · 0 comments
Lukas955 commented
The issue is caused by RTLD_DEEPBIND flag used during loading of a plugin. This flag breaks some ODR assumptions required by C++, therefore, some libstdc++ functions might fail.
For example, following code used in a plugin can cause segmentation fault:
std::cout << "random text";
The issue can be resolved by removing the flag, however, some 3rd party libraries used in plugins (for example, libdrkafka in JSON output) might not work due to symbol collisions.