logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Bugs with G++ 6.3.0?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
drake127



Joined: 26 Jan 2010
Posts: 28

PostPosted: Sun Feb 05, 2017 16:41    Post subject: Bugs with G++ 6.3.0? Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group