Comments (17)
Can you link to the version that works for you?
from nwnx2-linux.
Also, when does it segfault? On launch?
Create a core dump and check the stack trace:
- ulimit -c unlimited
- make it crash; a new file will appear, usually with ‘core’ in its name
- gdb nwserver -c
- bt
- copy the output here
from nwnx2-linux.
I don't have a version of fixes that works on Xenial. I tried the version from this git, which I think is 105, I tried a 106 from the forum and your 108 from the forum.
I am about to take my dog for a walk, I'll get back with the results of your request in an hour or so.
from nwnx2-linux.
Okay, my Linux-fu is not up to snuff.
The command gdb nwserver -c tells me gdb: option '--c' requires an argument
from nwnx2-linux.
Worked around on my own, here's the output:
#0 0xb71b3ad6 in ?? ()
#1 0xb71b46bf in ?? ()
#2 0xb768a514 in ?? ()
#3 0xb768b276 in ?? ()
#4 0xb768b37e in ?? ()
#5 0xb768b3b3 in ?? ()
#6 0xb7721465 in ?? ()
#7 0x00000007 in ?? ()
#8 0xbfca4824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
from nwnx2-linux.
pass the name of the core file after -c
from nwnx2-linux.
There we go, this output looks much different. I did load the core file within gdb but got the output above. Here's the new output:
(gdb) bt
#0 0xb71b3ad6 in FindHookFunctions() () from ./nwnx_fixes.so
#1 0xb71b46bf in CNWNXFixes::OnCreate(gline*, char const*) ()
from ./nwnx_fixes.so
#2 0xb768a514 in LoadLibraries() () from ./nwnx2.so
#3 0xb768b276 in startstop::startstop() () from ./nwnx2.so
#4 0xb768b37e in __static_initialization_and_destruction_0(int, int) ()
from ./nwnx2.so
#5 0xb768b3b3 in _GLOBAL__sub_I_pluginCoreLink () from ./nwnx2.so
#6 0xb7721465 in call_init (l=, argc=argc@entry=7,
argv=argv@entry=0xbfca4824, env=0xbfca4844) at dl-init.c:72
#7 0xb772158e in call_init (env=0xbfca4844, argv=0xbfca4824, argc=7,
l=) at dl-init.c:30
#8 _dl_init (main_map=, argc=7, argv=0xbfca4824,
env=0xbfca4844) at dl-init.c:120
#9 0xb7712a5f in _dl_start_user () from /lib/ld-linux.so.2
from nwnx2-linux.
Thanks. This looks familiar but I don’t remember what this may be. I’ll look into it later today.
Is this only happening with nwnx_fixes?
from nwnx2-linux.
Of the plugins I use, only nwnx_fixes is having problems so far.
List of plugins that I use that aren't crashing (at least without stress testing yet anyway):
nwnx_functions.so (renamed nwnx_funcs.so to match the old name)
nwnx_hashset.so
nwnx_odbc.so
nwnx_profiler.so
nwnx_resetplugin.so
nwnx_resman.so
nwnx_sortset.so
nwnx_vaultster.so
All compiled on Ubuntu 16.04.4 LTS last night after pulling source from this repo.
from nwnx2-linux.
Any movement on this? If I could be pointed to a good tutorial on troubleshooting code with gdb in Linux, I would be happy to try and find and fix the issue myself. I am not a professional programmer, but I also am not entirely inexperienced either. I am adept at learning existing code and modifying it. I know you're busy with work and I don't want to seem like a pest.
from nwnx2-linux.
32-bit or 64-bit with 32-bit libs/chroot?
from nwnx2-linux.
32-bit. Since this is a VM, I built it specifically for the job of running up to two NWN servers with somewhat heavy scripted AI.
If access to it would be useful to you, we could arrange that.
from nwnx2-linux.
Found the issue. This is caused by recent changes.
from nwnx2-linux.
Fixed in db00044. Check out git master and try again.
from nwnx2-linux.
Thanks much, I'll come back after testing. Do you want me to close it with my next comment if it works?
from nwnx2-linux.
Yes. Thanks for reporting this!
from nwnx2-linux.
I gave a run around my test server for a bit and all appears to be well. Everything loaded up fine this time around. I wanted to give it some time running around in game before reporting just in case there was a crash along the way after initial load. But, looks good. Thanks again. :)
from nwnx2-linux.
Related Issues (20)
- Missing function in nwnx_chat.nss
- Static DB plugin libraries built by default. HOT 2
- It's a mess to install in CentOS 7 HOT 2
- Error when I try to compile on Ubuntu:Xenial HOT 4
- When I try to follow the exact procedure of the README.md I run in a CMAKE error (missing library) HOT 2
- about zlib not found HOT 1
- Raspberry PI 3 - cross-compile HOT 3
- nwnx_defenses
- nwnx_spells
- nwnx_resman no longer works HOT 9
- Feature request - Dev Crit event HOT 1
- Dev Crit hook causing segfault HOT 1
- NWNX ResMan memory leak. HOT 7
- Areas loaded with nwnx_areas do not have visible name in the party bar
- Compilation fails under GCC 4.8 HOT 1
- funcs: local variables functions broken for areas and module
- Adding ability to compile from x86_64 host without ia32 chroot HOT 3
- Amend astyle rules proposal
- Compilation on ARM architecture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nwnx2-linux.