Giter Club home page Giter Club logo

Comments (17)

virusman avatar virusman commented on August 15, 2024

Can you link to the version that works for you?

from nwnx2-linux.

virusman avatar virusman commented on August 15, 2024

Also, when does it segfault? On launch?
Create a core dump and check the stack trace:

  1. ulimit -c unlimited
  2. make it crash; a new file will appear, usually with ‘core’ in its name
  3. gdb nwserver -c
  4. bt
  5. copy the output here

from nwnx2-linux.

Themicles avatar Themicles commented on August 15, 2024

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.

Themicles avatar Themicles commented on August 15, 2024

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.

Themicles avatar Themicles commented on August 15, 2024

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.

virusman avatar virusman commented on August 15, 2024

pass the name of the core file after -c

from nwnx2-linux.

Themicles avatar Themicles commented on August 15, 2024

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.

virusman avatar virusman commented on August 15, 2024

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.

Themicles avatar Themicles commented on August 15, 2024

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.

Themicles avatar Themicles commented on August 15, 2024

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.

virusman avatar virusman commented on August 15, 2024

32-bit or 64-bit with 32-bit libs/chroot?

from nwnx2-linux.

Themicles avatar Themicles commented on August 15, 2024

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.

virusman avatar virusman commented on August 15, 2024

Found the issue. This is caused by recent changes.

from nwnx2-linux.

virusman avatar virusman commented on August 15, 2024

Fixed in db00044. Check out git master and try again.

from nwnx2-linux.

Themicles avatar Themicles commented on August 15, 2024

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.

virusman avatar virusman commented on August 15, 2024

Yes. Thanks for reporting this!

from nwnx2-linux.

Themicles avatar Themicles commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.