drake127
Joined: 26 Jan 2010 Posts: 28
|
Posted: Sun Feb 05, 2017 16:41 Post subject: Bugs with G++ 6.3.0? |
|
|
Hi, I was trying to make NWNX2 run on Debian Stretch and came to odd bug. Most plugins crashed during their initialization with having pluginLink zero even if InitPlugin is called properly.
I digged a little bit and it seems like CreateHookableEvent uses pluginLink from core.cpp (still being zero at this moment) instead of pluginLink present in the plugin itself.
If I called dlopen with RTLD_DEEPBIND, initialization succeeds but nwserver crashes if I choose to use nwnx_profiler just after loading a module.
Any ideas why this might happened? Did G++/cmake do something to addressing global variables? |
|