View previous topic :: View next topic |
Author |
Message |
dus
Joined: 17 Aug 2008 Posts: 2
|
Posted: Sun Aug 17, 2008 2:13 Post subject: Segfault on Debian AMD64 |
|
|
I tried to run nwnx server on my Debian(testing) AMD64 and I get segfault when module is loading. On Debian Stable i386 everything works fine.
Here is backtrace from gdb:
Code: | Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7cff6b0 (LWP 4507)]
0x08091cb6 in CNWTileSurfaceMesh::LoadWalkMesh ()
(gdb) bt
#0 0x08091cb6 in CNWTileSurfaceMesh::LoadWalkMesh ()
#1 0x0809350e in CNWTileSurfaceMesh::GetSurfaceMaterial ()
#2 0x081edef6 in CNWSTile::GetSurfaceMaterial ()
#3 0x080d40ae in CNWSArea::PositionWalkable ()
#4 0x081df3b3 in CNWSPlaceable::AddToArea ()
#5 0x080d080d in CNWSArea::LoadPlaceables ()
#6 0x080cf33b in CNWSArea::LoadGIT ()
#7 0x080ce033 in CNWSArea::LoadArea ()
#8 0x081b86c6 in CNWSModule::LoadModuleInProgress ()
#9 0x080a0a98 in CServerExoAppInternal::MainLoop ()
#10 0x0804e747 in AdminLoadModule ()
#11 0x0804d251 in ProcessCommandLine ()
#12 0x0804b957 in main ()
|
Any ideas ? |
|
Back to top |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Sun Aug 17, 2008 2:36 Post subject: |
|
|
Can you successfully run NWNX on Debian AMD64 with NWN 1.68? Are you attempting to use any plugins?
Acaos |
|
Back to top |
|
|
dus
Joined: 17 Aug 2008 Posts: 2
|
Posted: Sun Aug 17, 2008 3:03 Post subject: |
|
|
There is the same problem with NWN 1.68. It seems that this is some problem with LetoScript.so - when i removed this library, server sucesfully loaded module.
Here is plugins list:
Code: | * Loading modules...
ERROR: LETO: OnCreate() failed.
HASHSET plugin Registerred.
EVENTS plugin Registerred.
MNX plugin Registerred.
CHAT plugin Registerred.
FUNCTIONS plugin Registerred.
FIXES plugin Registerred.
RESETPLUGIN plugin Registerred.
ODBC plugin Registerred.
* NWNX2 activated. |
|
|
Back to top |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Sun Aug 17, 2008 8:24 Post subject: |
|
|
Unfortunately I don't have any experience editing nwnx_leto, and I don't even know if I have a copy of the necessary source to build LetoScript.so.
You could try using nwnx_funcs instead if you are comfortable building your own NWNX installation and willing to run beta software (we have been using it on Higher Ground for over a year and it has pretty much entirely replaced Leto for us).
Acaos |
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Fri Sep 05, 2008 23:35 Post subject: |
|
|
The architecture is the problem - LetoScript.so was compiled for i386 and not AMD64.
Try downloading the source for nwnx_leto - there's the Delphi source as well as the C++ source. I've never compiled that part myself, but it ought to be possible to compile if you get a Linux Delphi compiler.
EDIT: Let me know if you succeed and send me a copy of the file so I can include it in nwnx_easy! |
|
Back to top |
|
|
|