Author Topic: memory access error - build 18  (Read 3648 times)

CrYpto

  • Guest
memory access error - build 18
« on: May 19, 2007, 11:27:10 PM »
heya!

i tryed to update my pb server...
but i get an strange error...

"speicherzugriffsfehler" what means something like "memory access error" in english :P
i tested the minimal server version and the fullversion (linux)

i even get this error on 2 different servers... on both run debian 3.1
all older versions of paintball2 worked fine

any ideas?
« Last Edit: August 19, 2015, 02:16:28 AM by Cameron »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: build 18 error
« Reply #1 on: May 21, 2007, 11:10:47 AM »
I could compile a debug build and have you run it with gdb to hopefully pinpoint the cause of the error.  Does the error happen immediately?

CrYpto

  • Guest
Re: build 18 error
« Reply #2 on: May 21, 2007, 02:56:39 PM »
yes this happens direct when i start ./paintball2 +set.... 
here is a screenshot from the console.

http://frag24.net/error.png

i tryed to change user premissions and so on too but nothing helps..
the strange thing is that this happens on 2 different servers... but on both run debian 3.1
ok i know 3.1 is old.. but it worked fine with the old paintball version too.

TinMan

  • Autococker
  • Posts: 1347
Re: build 18 error
« Reply #3 on: May 21, 2007, 03:09:10 PM »
Is that German for segment fault?

CrYpto

  • Guest
Re: build 18 error
« Reply #4 on: May 21, 2007, 03:23:24 PM »
when i transtale that i get "memory access error"... but i serched for segment fault too now.. wikipedia says it means the same :P

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: build 18 error
« Reply #5 on: May 21, 2007, 05:03:43 PM »
Try without the config, and you also need to load a map (unless that's being done in the config), for example:

./paintball2 +set dedicated 1 +map midnight

CrYpto

  • Guest
Re: build 18 error
« Reply #6 on: May 22, 2007, 03:47:21 AM »
i did that too...
this error comes even when i type ./paintball2 only

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: build 18 error
« Reply #7 on: May 22, 2007, 03:34:30 PM »
I'll try to get a debug build together tonight for you to test with.  In the meantime, you might try running it with gdb anyway:

gdb paintball2
run +set dedicated 1 +map midnight

CrYpto

  • Guest
Re: build 18 error
« Reply #8 on: May 22, 2007, 03:57:48 PM »
I'll try to get a debug build together tonight for you to test with.  In the meantime, you might try running it with gdb anyway:

gdb paintball2
run +set dedicated 1 +map midnight

a debug build sounds nice :)

but im sorry to say.. i dont know what gdb means or how to run it. do you mean that like ./gdb paintball2 +set dedicated 1 +map midnight?
with that i just get: -bash : gdb: command not found


CrYpto

  • PGP
  • Posts: 4
Re: build 18 error
« Reply #9 on: May 22, 2007, 04:05:52 PM »
woops... ok i figured out what gdb is...
here is a screenshot of the terminal:

www.frag24.net/error2.png


jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: build 18 error
« Reply #10 on: May 22, 2007, 05:19:13 PM »
Use just +map midnight, not +set map midnight.  Map is a command, not a setting.  Also, after it crashes, type "up" and press enter a few times.  That will identify the functions that lead to calling CL_Shutdown().

Actually, I think I may have fixed the crash, but the server is shutting down because of something (maybe it was just the +set map instead of +map).

CrYpto

  • PGP
  • Posts: 4
Re: build 18 error
« Reply #11 on: May 22, 2007, 11:04:23 PM »
ok. i did what you said..
here is the console

www.frag24.net/error3.png

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: build 18 error
« Reply #12 on: May 23, 2007, 01:12:06 AM »
I'm going to take a guess that it can't load the gamei386.so library.  Do you have that in /usr/local/games/paintball2/pball?  And do you have execute permissions?  It looks like I'm going to have to release a new version shortly to fix some other issues, so perhaps my change will at least let it print the error out instead of crashing so we can have a better idea of what's going on.

Another thing you might try doing is typing "print".  I'm not sure if that will give any useful information without a debug build, though.

CrYpto

  • PGP
  • Posts: 4
Re: build 18 error
« Reply #13 on: May 23, 2007, 04:03:31 AM »
uhm yes i have that file ... and execute premissions too..
do you mean typing print in gdb? it says "history is empty" only.

CrYpto

  • PGP
  • Posts: 4
Re: build 18 error
« Reply #14 on: May 23, 2007, 10:18:26 AM »
so i got a new solution for now...
i started to rape my win32 vserver with paintball xD, lets see how laggy it will be :D
lol, i just hope that my datacenter wont complain about that.

but thx for youre support anyway... you guys rock :)