I installed NWN on Fedora 14 x86 platform. To run NWN I installed all necessary i686 packages. After that I tried to run the game. Game start to launch, Neverwinter Nigts splash screen appears (on black background), and then I get the error "/nwn: line 14: 3917 Naruszenie ochrony pamięci (core dumped) ./nwmain $@". Is anyone who can help me to solve the problem?
Elsworth
/nwn: line 14: 3917 Naruszenie ochrony pamięci (core dumped) ./nwmain $@
Débuté par
Elsworth
, avril 11 2011 07:11
#1
Posté 11 avril 2011 - 07:11
#2
Posté 11 avril 2011 - 07:33
Did you change the line
to
(ie removing the ./lib statement) prior to start nwn?
Greetings
Skildron
export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH
to
export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH
(ie removing the ./lib statement) prior to start nwn?
Greetings
Skildron
#3
Posté 11 avril 2011 - 09:36
Skildron, thanx for reply. Yes I did it.
Elsworth
Elsworth
#4
Posté 11 avril 2011 - 09:38
Elsworth, could you please translate the polish(?) error message - or is core dumped the translation?
Greetings
Skildron
Greetings
Skildron
#5
Posté 12 avril 2011 - 05:16
Skildron
Naruszenie ochrony pamięci = segfault or literally Memory protection violation
Elsworth
Naruszenie ochrony pamięci = segfault or literally Memory protection violation
Elsworth
#6
Posté 12 avril 2011 - 06:18
You could try the following: Add the line
I'm not sure, though, if that's the solution in your case. In the old forums, there is a posting by Eyrdan with lots of information how to check that your nwn Linux installation is correct. I recommend to check that one out if the MALLOC setting does not help.
Greetings
Skildron
in your nwn start script right before the ./nwmain line. Newer glibc versions do additional memory checks that sometimes cause nwmain to crash - this environment variable deactivates the additional memory checks for nwn.export MALLOC_CHECK_=0
I'm not sure, though, if that's the solution in your case. In the old forums, there is a posting by Eyrdan with lots of information how to check that your nwn Linux installation is correct. I recommend to check that one out if the MALLOC setting does not help.
Greetings
Skildron
#7
Posté 12 avril 2011 - 06:36
Skildron,
thanx for replay. I checked everything posted by Eyrdan in the old forum, but without success.
Elsworth
P.S.
I tried to run nwn with MALLOC_CHECK environment set to 0, but the problem still exists. I will try to trace nwmain and post it to this forum, maybe there is something which I do not see.
Elsworth
thanx for replay. I checked everything posted by Eyrdan in the old forum, but without success.
Elsworth
P.S.
I tried to run nwn with MALLOC_CHECK environment set to 0, but the problem still exists. I will try to trace nwmain and post it to this forum, maybe there is something which I do not see.
Elsworth
#8
Posté 18 avril 2011 - 10:23
I checked that I have all necessary 32bit libraries
<code>
[Elsworth@zx149f nwn]$ ldd nwmain
linux-gate.so.1 => (0xf77f5000)
libm.so.6 => /lib/libm.so.6 (0x4443c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x44189000)
libGL.so.1 => /usr/lib/nvidia/libGL.so.1 (0xf7708000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf76a2000)
libmss.so.6 => /usr/lib/libmss.so.6 (0xf762d000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xf758d000)
libc.so.6 => /lib/libc.so.6 (0x43ff6000)
/lib/ld-linux.so.2 (0x43fd5000)
libnvidia-tls.so.260.19.36 => /usr/lib/nvidia/tls/libnvidia-tls.so.260.19.36 (0xf758b000)
libnvidia-glcore.so.260.19.36 => /usr/lib/nvidia/libnvidia-glcore.so.260.19.36 (0xf5eda000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x4a4df000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x4a713000)
libdl.so.2 => /lib/libdl.so.2 (0x44182000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf5dec000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x446a6000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x446fa000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x44767000)
[Elsworth@zx149f nwn]$
</code>
It look like that all necessary 32bit libriaries are installed.
Then I run "strace -f ./nwn-launcher.sh 2>nwn.strace_2011.04.18.txt' command. The result is in file which you can find here: rapidshare.com/files/457975065/nwn_strace_2011.04.zip.
Elsworth
<code>
[Elsworth@zx149f nwn]$ ldd nwmain
linux-gate.so.1 => (0xf77f5000)
libm.so.6 => /lib/libm.so.6 (0x4443c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x44189000)
libGL.so.1 => /usr/lib/nvidia/libGL.so.1 (0xf7708000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf76a2000)
libmss.so.6 => /usr/lib/libmss.so.6 (0xf762d000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xf758d000)
libc.so.6 => /lib/libc.so.6 (0x43ff6000)
/lib/ld-linux.so.2 (0x43fd5000)
libnvidia-tls.so.260.19.36 => /usr/lib/nvidia/tls/libnvidia-tls.so.260.19.36 (0xf758b000)
libnvidia-glcore.so.260.19.36 => /usr/lib/nvidia/libnvidia-glcore.so.260.19.36 (0xf5eda000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x4a4df000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x4a713000)
libdl.so.2 => /lib/libdl.so.2 (0x44182000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf5dec000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x446a6000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x446fa000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x44767000)
[Elsworth@zx149f nwn]$
</code>
It look like that all necessary 32bit libriaries are installed.
Then I run "strace -f ./nwn-launcher.sh 2>nwn.strace_2011.04.18.txt' command. The result is in file which you can find here: rapidshare.com/files/457975065/nwn_strace_2011.04.zip.
Elsworth





Retour en haut






