I've been running NWN on Linux since the very beginning on various computers. I recently upgraded to a new laptop and installed Arch on it. When I installed NWN and tried playing HotU, the game crashed instantly when the dream sequence tried to load, but there are no error messages in the terminal window after the game quits. nwcllientError1.txt is empty.
I tried loading different modules and discovered that it only crashes on "cutscene" squences (the dream at the beginning of HotU, the battle scene at the beginning of Witch's Wake, the scene in the lower floor of Drogan's house at the beginning of SoU, etc.). However, the game will crash the same way whenever I try to equip a ranged weapon, in any module or area. There are probably other acts which will trigger a crash, but I haven't taken the time to find all of them.
Here are the last few lines nwclientLog1.txt when it crashes at the beginning of HotU:
[Fri Feb 8 21:21:50] Player [] () Joined as Server Admin 1
[Fri Feb 8 21:21:50] Player () Joined as Player 1
[Fri Feb 8 21:21:50] Loading Module: XP2_Chapter1
[Fri Feb 8 21:21:51] ***DTS-Debug: DTS Initialized - BaseChance: 50 StackVar: 0.500000000 MaxItems: 2
GENERIC SCRIPT DEBUG STRING ********** x2_q2drowscout1class 1 100
GENERIC SCRIPT DEBUG STRING ********** x2_q2drowscout1class 2 100
GENERIC SCRIPT DEBUG STRING ********** x2_q2drowscout1class 3 100
GENERIC SCRIPT DEBUG STRING ********** D100 Roll 44
Here are the last few lines nwclientLog1.txt when it crashes downstairs at Drogan's in SoU:
[Fri Feb 8 21:29:29] Player [] () Joined as Server Admin 1
[Fri Feb 8 21:29:29] Player () Joined as Player 1
[Fri Feb 8 21:29:29] Loading Module: XP1-Chapter 1
GENERIC SCRIPT DEBUG STRING ********** q1ggilfordclass 1 100
GENERIC SCRIPT DEBUG STRING ********** q1ggilfordclass 2 100
GENERIC SCRIPT DEBUG STRING ********** q1ggilfordclass 3 100
GENERIC SCRIPT DEBUG STRING ********** D100 Roll 30
Here are the last few lines when I started the Prelude of the original campaign and equipped a crossbow:
[Fri Feb 8 21:33:39] Player [] () Joined as Server Admin 1
[Fri Feb 8 21:33:39] Player () Joined as Player 1
[Fri Feb 8 21:33:39] Loading Module: Prelude
None of those log entries are particularly helpful, so I tried running the game under gdb, and this is what I get when it crashes (for any reason):
Reading symbols from /usr/games/nwn/nwmain...(no debugging symbols found)...done.
(gdb) set environment LD_LIBRARY_PATH ./miles:$LD_LIBRARY_PATH
(gdb) run
Starting program: /usr/games/nwn/nwmain
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xf78ceb40 (LWP 3909)]
[New Thread 0xf2532b40 (LWP 3910)]
[Thread 0xf2532b40 (LWP 3910) exited]
[New Thread 0xf2532b40 (LWP 3911)]
[New Thread 0xf1bffb40 (LWP 3912)]
[Thread 0xf1bffb40 (LWP 3912) exited]
[Thread 0xf78ceb40 (LWP 3909) exited]
[Thread 0xf78d0700 (LWP 3905) exited]
[Inferior 1 (process 3905) exited with code 0177]
(gdb) bt
No stack.
I did some searching and found that this
might be caused by a function exiting in a rather unconventional way, but when I tried following the accompanying advice on breakpoints, I got nowhere.
Has anybody encountered this bug before? Or, does anybody have any other ideas on how I might glean additional amplifying information on what's going wrong?
EDITed because the formatting on these new (to me) forums kicked my butt at first.
Modifié par lucasjung, 01 mars 2013 - 02:54 .