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 
 
Segmentationfeult when using nwnx_odmbc

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



Joined: 23 Aug 2005
Posts: 31

PostPosted: Fri Jan 25, 2008 23:38    Post subject: Segmentationfeult when using nwnx_odmbc Reply with quote

Hello all together.

I finally got it and nwnx2 compiles successfully on our AMD64-Systemd. It all runs smooth as long as i'm not using nwnx_odmbc.

But as soon as i'm linking nwnx_odmbc to the module, the following error occurs:

Code:
NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f1660, new SetString() at 0x55577ef6
NWNX2lib: org GetObj() at 0x81f1568, new GetObj() at 0x55577f1e
* Parsing configuration...
NWN Extender v2.7-beta2
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007 by virusman
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Loading modules...
EVENTS plugin Registerred.
HASHSET plugin Registerred.
PROFILER plugin Registerred.
MNX plugin Registerred.
RESETPLUGIN plugin Registerred.
ODBC plugin Registerred.
FIXES plugin Registerred.
FUNCTIONS plugin Registerred.
ODMBC plugin Registerred.
RESMAN plugin Registerred.
* NWNX2 activated.
Neverwinter Nights Server
Build:8099
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "HWS".......
Server: Module loaded
NWNX!INIT enforcement disabled, using 0x0820149c
/home/nwn/_startvg.sh: line 6: 16782 Segmentation fault


nwnx_odmbc.txt says

Code:
NWNX2 ODBC2 version 0.3 for Linux.
(c) 2005-2006 by dumbo (dumbo@nm.ru) & virusman (virusman@virusman.ru)
o SCO located at 82d4b7c.
o RCO located at 82d4a98.
o Connect successful.


I hope there's anyone out there who can help me?
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sat Jan 26, 2008 10:11    Post subject: Reply with quote

When exactly does it crash? Immediately after module load or when you execute any query?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Timear



Joined: 23 Aug 2005
Posts: 31

PostPosted: Sat Jan 26, 2008 11:42    Post subject: Reply with quote

Seems to be directly after module load. I've commented out all calls to the database within the OnModuleLoad-event and the problem still was there.

Do you think our linked mysqlclient-library dows not fit?
Or is this because of concurrent calls from the nwnx_odbc and nwnx_odmbc plugins?

I've renamed the nwnx_odmbc-plugin to coexist with the nwnx_odbc-plugin. Still, when i'm not using the nwnx_odbc-plugin, nwnx_odmbc quits with the message, that rco/sco couldn't be hooked while with both plugins the hooking seems to work.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sat Jan 26, 2008 12:09    Post subject: Reply with quote

NWNX ODBC and ODBC2 (odmbc) may conflict as they are just different versions of one plugin. Don't use them both, choose either of them.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Timear



Joined: 23 Aug 2005
Posts: 31

PostPosted: Sat Jan 26, 2008 22:57    Post subject: Reply with quote

thank you, works fine now Smile
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