Author Topic: /nwn: line 14: 3917 Naruszenie ochrony pamiÄ™ci (core dumped) ./nwmain $@  (Read 853 times)

Legacy_Elsworth

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               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
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0


               Did you change the line

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
               
               

               
            

Legacy_Elsworth

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               Skildron, thanx for reply. Yes I did it.

Elsworth
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0


               Elsworth, could you please translate the polish(?) error message - or is core dumped the translation?

Greetings
Skildron
               
               

               
            

Legacy_Elsworth

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               Skildron
Naruszenie ochrony pamięci = segfault or literally Memory protection violation

Elsworth
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0


               You could try the following: Add the line

export MALLOC_CHECK_=0

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.

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
               
               

               
            

Legacy_Elsworth

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               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
               
               

               
            

Legacy_Elsworth

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               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