View previous topic :: View next topic |
Author |
Message |
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Fri Jan 25, 2008 23:38 Post subject: Segmentationfeult when using nwnx_odmbc |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sat Jan 26, 2008 10:11 Post subject: |
|
|
When exactly does it crash? Immediately after module load or when you execute any query? |
|
Back to top |
|
|
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Sat Jan 26, 2008 11:42 Post subject: |
|
|
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 |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sat Jan 26, 2008 12:09 Post subject: |
|
|
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 |
|
|
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Sat Jan 26, 2008 22:57 Post subject: |
|
|
thank you, works fine now |
|
Back to top |
|
|
|