You are not logged in.

#1 2011-06-30 08:07:19

QX
Member
Registered: 2010-05-20
Posts: 14

Neverwinter Nights Platinum (AUR) Segfault

Spent the last few nights trying to get this thing working, changed video drivers (Nvidia to Nouveau and back), installed the multilib toolchain, created a 32-bit chroot jail, and I'm still getting the same error.

I installed this from the package in the AUR. When running, I am able to view all of the intro videos, and get to the main menu. But once I get past character selection/creation it segfaults as soon as the modules finish loading. I got the exact same issue running natively on my 64bit box, and in the chroot jail.

chroot jail

$ schroot -p -- nwn
W: line 78 [Arch32]: Deprecated key ‘priority’ used
I: This option will be removed in the future; please update your configuration
ERROR: ld.so: object './nwuser64.so' from LD_PRELOAD cannot be preloaded: ignored.
NWUPOSSIBLE: Unmatched Path: /etc/passwd -> /etc/passwd
NOTICE: NWUser: Version 20041005.184851 Successfully loaded. (BaseDir = /opt/nwn)
NOTICE: NWLogger: Version: 20040311.192648
NOTICE: NWLogger: Initializing handles.
NOTICE: NWLogger: Patch 0 Address: 0x080b8c0f
NOTICE: NWLogger: Patch 1 Address: 0x082ad068
NOTICE: NWLogger: Patch 2 Address: 0x080be2cf
NOTICE: NWLogger: Patch 3 Address: 0x080c44bb
NOTICE: NWLogger: Patch 4 Address: 0x080c466b
NOTICE: NWLogger: PrePatch0 : 53 8b 45 08 ff 70 08 
NOTICE: NWLogger: PostPatch0: e9 b0 c1 67 ef 90 90 
NOTICE: NWLogger: PrePatch1 : 56 53 81 ec c8 00 00 00 
NOTICE: NWLogger: PostPatch1: e9 3f 7d 48 ef 90 90 90 
NOTICE: NWLogger: PrePatch2 : 56 53 8b 75 08 
NOTICE: NWLogger: PostPatch2: e9 ac 6a 67 ef 
NOTICE: NWLogger: PrePatch3 : 53 83 ec 10 a1 54 c3 62 08 
NOTICE: NWLogger: PostPatch3: e9 20 09 67 ef 90 90 90 90 
NOTICE: NWLogger: PrePatch4 : 56 53 83 7d 0c 01 
NOTICE: NWLogger: PostPatch4: e9 24 07 67 ef 90 
NOTICE: NWLogger: Handles Initialized.
NOTICE: NWMovies: Version: 20060113.161108
NOTICE: SDL Library determined to be: /usr/lib/libSDL-1.2.so.0
NOTICE: NWMovies: Patch 0 Address: 0x08077a9d
NOTICE: NWMovies: Patch 1 Address: 0x08077ab1
NOTICE: NWMovies: Patch 2 Address: 0x0815b5f7
NOTICE: NWMovies: Patch 3 Address: 0x0815b611
NOTICE: NWMovies: Patch 4 Address: 0x0807796f
NOTICE: NWMovies: Patch 5 Address: 0x08207835
NOTICE: NWMovies: Patch 6 Address: 0x08207858
NOTICE: NWMovies: PrePatch0: 8b 80 78 02 00 00 5d c3 
NOTICE: NWMovies: PrePatch1: 8b 80 7c 02 00 00 5d c3 
NOTICE: NWMovies: PrePatch2: e8 68 c5 f1 ff 83 ec 08 
NOTICE: NWMovies: PrePatch3: eb 59 90 83 
NOTICE: NWMovies: PostPatch0: b8 00 00 00 00 90 5d c3 
NOTICE: NWMovies: PostPatch1: b8 00 00 00 00 90 5d c3 
NOTICE: NWMovies: PostPatch2: 90 90 90 90 90 83 ec 08 
NOTICE: NWMovies: PostPatch3: 90 90 83 ec 
NOTICE: NWMovies: PrePatch4: 56 8d 5d e8 53 
NOTICE: NWMovies: PostPatch4: e9 d0 74 6c ef 
NOTICE: NWMovies: MoviesPrePatch: 6a 00 53 bf 00 00 00 3f e8 72 4f 2a 00 8b 43 60 8b 10 c7 04 24 00 00 80 3f 57 57 57 50 ff 52 44 83 c4 1c 
NOTICE: NWMovies: MoviesPostPatch: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 
NOTICE: NWMovies: SDL_WM_GrabInput() address: f74cd9e0
NOTICE: NWMovies: (Calculated) SDL_WM_GrabInputRaw() address: f74cbda0
NOTICE: NWMovies: Initialized.
NOTICE: NWMouse: Version: 20050216.085035
NOTICE: NWMouse: Patch 0 Address: 0x084e9380
NOTICE: NWMouse: Patch 1 Address: 0x084e009c
NOTICE: NWMouse: Patch 2 Address: 0x0863d880
NOTICE: NWMouse: Patch 3 Address: 0x084ffd44
NOTICE: NWMouse: Patch 4 Address: 0x084e3018
NOTICE: NWMouse: Patch 5 Address: 0x084e05b7
NOTICE: NWMouse: Patch 6 Address: 0x084e8440
NOTICE: NWMouse: Stop pointer: 0x084e9380
NOTICE: NWMouse: Table Address: 0x0863d880
NOTICE: NWMouse: Table Length: 89
NOTICE: NWMouse: Render function replaced in secondary table, offset: 6
NOTICE: NWMouse: Texture function replaced in secondary table, offset: 13.
NOTICE: NWMouse: Orientation function replaced in secondary table, offset: 25.
NOTICE: NWMouse: Original Table: 80 d8 63 08 
NOTICE: NWMouse: Pushed: 54 2a 7c 08 
NOTICE: NWMouse: PreMod1: c7 40 0c 80 d8 63 08 
NOTICE: NWMouse: PostMod1: e9 69 67 26 ef 90 90 
NOTICE: NWMouse: PreMod2: ff 05 68 d8 63 08 
NOTICE: NWMouse: PostMod2: e9 95 62 26 ef 08 83 
NOTICE: NWMouse: Initialized.
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./tempclient/, 0777) caught
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./localvault/, 0777) caught
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./dmvault/, 0777) caught
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./servervault/, 0777) caught
/usr/bin/nwn: line 31:  2115 Segmentation fault      ./nwmain $*

x86_64 native

$ nwn
ERROR: ld.so: object './nwuser64.so' from LD_PRELOAD cannot be preloaded: ignored.
NWUPOSSIBLE: Unmatched Path: /etc/passwd -> /etc/passwd
NOTICE: NWUser: Version 20041005.184851 Successfully loaded. (BaseDir = /opt/nwn)
NOTICE: NWLogger: Version: 20040311.192648
NOTICE: NWLogger: Initializing handles.
NOTICE: NWLogger: Patch 0 Address: 0x080b8c0f
NOTICE: NWLogger: Patch 1 Address: 0x082ad068
NOTICE: NWLogger: Patch 2 Address: 0x080be2cf
NOTICE: NWLogger: Patch 3 Address: 0x080c44bb
NOTICE: NWLogger: Patch 4 Address: 0x080c466b
NOTICE: NWLogger: PrePatch0 : 53 8b 45 08 ff 70 08 
NOTICE: NWLogger: PostPatch0: e9 18 51 6d ef 90 90 
NOTICE: NWLogger: PrePatch1 : 56 53 81 ec c8 00 00 00 
NOTICE: NWLogger: PostPatch1: e9 a7 0c 4e ef 90 90 90 
NOTICE: NWLogger: PrePatch2 : 56 53 8b 75 08 
NOTICE: NWLogger: PostPatch2: e9 14 fa 6c ef 
NOTICE: NWLogger: PrePatch3 : 53 83 ec 10 a1 54 c3 62 08 
NOTICE: NWLogger: PostPatch3: e9 88 98 6c ef 90 90 90 90 
NOTICE: NWLogger: PrePatch4 : 56 53 83 7d 0c 01 
NOTICE: NWLogger: PostPatch4: e9 8c 96 6c ef 90 
NOTICE: NWLogger: Handles Initialized.
NOTICE: NWMovies: Version: 20060113.161108
NOTICE: SDL Library determined to be: /usr/lib32/libSDL-1.2.so.0
NOTICE: NWMovies: Patch 0 Address: 0x08077a9d
NOTICE: NWMovies: Patch 1 Address: 0x08077ab1
NOTICE: NWMovies: Patch 2 Address: 0x0815b5f7
NOTICE: NWMovies: Patch 3 Address: 0x0815b611
NOTICE: NWMovies: Patch 4 Address: 0x0807796f
NOTICE: NWMovies: Patch 5 Address: 0x08207835
NOTICE: NWMovies: Patch 6 Address: 0x08207858
NOTICE: NWMovies: PrePatch0: 8b 80 78 02 00 00 5d c3 
NOTICE: NWMovies: PrePatch1: 8b 80 7c 02 00 00 5d c3 
NOTICE: NWMovies: PrePatch2: e8 68 c5 f1 ff 83 ec 08 
NOTICE: NWMovies: PrePatch3: eb 59 90 83 
NOTICE: NWMovies: PostPatch0: b8 00 00 00 00 90 5d c3 
NOTICE: NWMovies: PostPatch1: b8 00 00 00 00 90 5d c3 
NOTICE: NWMovies: PostPatch2: 90 90 90 90 90 83 ec 08 
NOTICE: NWMovies: PostPatch3: 90 90 83 ec 
NOTICE: NWMovies: PrePatch4: 56 8d 5d e8 53 
NOTICE: NWMovies: PostPatch4: e9 a0 f3 71 ef 
NOTICE: NWMovies: MoviesPrePatch: 6a 00 53 bf 00 00 00 3f e8 72 4f 2a 00 8b 43 60 8b 10 c7 04 24 00 00 80 3f 57 57 57 50 ff 52 44 83 c4 1c 
NOTICE: NWMovies: MoviesPostPatch: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 
NOTICE: NWMovies: SDL_WM_GrabInput() address: f7511d10
NOTICE: NWMovies: (Calculated) SDL_WM_GrabInputRaw() address: f7510080
NOTICE: NWMovies: Initialized.
NOTICE: NWMouse: Version: 20050216.085035
NOTICE: NWMouse: Patch 0 Address: 0x084e9380
NOTICE: NWMouse: Patch 1 Address: 0x084e009c
NOTICE: NWMouse: Patch 2 Address: 0x0863d880
NOTICE: NWMouse: Patch 3 Address: 0x084ffd44
NOTICE: NWMouse: Patch 4 Address: 0x084e3018
NOTICE: NWMouse: Patch 5 Address: 0x084e05b7
NOTICE: NWMouse: Patch 6 Address: 0x084e8440
NOTICE: NWMouse: Stop pointer: 0x084e9380
NOTICE: NWMouse: Table Address: 0x0863d880
NOTICE: NWMouse: Table Length: 89
NOTICE: NWMouse: Render function replaced in secondary table, offset: 6
NOTICE: NWMouse: Texture function replaced in secondary table, offset: 13.
NOTICE: NWMouse: Orientation function replaced in secondary table, offset: 25.
NOTICE: NWMouse: Original Table: 80 d8 63 08 
NOTICE: NWMouse: Pushed: 54 2a 7c 08 
NOTICE: NWMouse: PreMod1: c7 40 0c 80 d8 63 08 
NOTICE: NWMouse: PostMod1: e9 49 e7 2b ef 90 90 
NOTICE: NWMouse: PreMod2: ff 05 68 d8 63 08 
NOTICE: NWMouse: PostMod2: e9 75 e2 2b ef 08 83 
NOTICE: NWMouse: Initialized.
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./tempclient/, 0777) caught
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./localvault/, 0777) caught
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./dmvault/, 0777) caught
NOTICE: NWLogger: mkdir(/home/tim/.nwn/./servervault/, 0777) caught
/usr/bin/nwn: line 31:  4812 Segmentation fault      ./nwmain $*

They appear to be completely identical to me (other than the number before the segfault). Can I get any help?

Last edited by QX (2011-06-30 08:26:08)

Offline

#2 2011-11-04 21:32:43

zersaa
Member
From: Pskov, Russia
Registered: 2009-02-09
Posts: 26

Re: Neverwinter Nights Platinum (AUR) Segfault

Temporary solution is:

#export LD_PRELOAD=./nwuser.so:./nwuser64.so:./nwmouse.so:./nwmovies.so:./nwlogger.so
export LD_PRELOAD=./nwuser.so:./nwuser64.so:./nwmouse.so:./nwlogger.so

in /usr/bin/nwn. But, obviously, movies will not work.

Offline

#3 2012-02-27 03:31:32

TheCycoONE
Member
From: Hamilton, Ontario, Canada
Registered: 2009-12-21
Posts: 31

Re: Neverwinter Nights Platinum (AUR) Segfault

I hit this same problem with nwn-diamond-1.69-6.  Removing nwmovies.so also fixed it for me. 

Notably my system is native 32 bit and I'm using an AMD Radeon x1300 GPU - so there isn't much in common between our systems.  It was working before with the old nwmovies.  I believe I was on nwn-diamond-1.69-3 when it was working.

Offline

#4 2012-03-02 12:36:12

zersaa
Member
From: Pskov, Russia
Registered: 2009-02-09
Posts: 26

Re: Neverwinter Nights Platinum (AUR) Segfault

TheCycoONE,
Thanks for the trick with nwmovies-latest! On 64 bit nwn-diamond-1.69-7 works too.

Offline

Board footer

Powered by FluxBB