ipfixcol2 icon indicating copy to clipboard operation
ipfixcol2 copied to clipboard

Some libstdc++ functions might fail when used in a plugin

Open Lukas955 opened this issue 5 years ago • 0 comments

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.

Lukas955 avatar Apr 26 '20 07:04 Lukas955