Digital Paint Discussion Board
Development => Bugs, Feature Requests, and Feedback => Topic started by: PLazTiC on June 25, 2007, 06:51:05 AM
-
Bug: Starting paintball2 with ./paintball2 gives segmentation fault
OS: Ubuntu Linux 6.10 (2.6.17-10-server)
HW: VMware ESX 3.01
Any ideas? It's been a while (v1.6x) since I ran a dp2 server in Linux. Lots have changed, is there any new docs to read?
\plaztic
-
Are you starting it in dedicated mode? If you're not than it might be trying to load the OpenGL library, which might be segfaulting since you're running in a Linux VM.
-
.. yeah .. but as my momma never taught me not to run things as root ::) ... But that was after I ended up upgrading it to release 19.
I'm going to revert back to release 18 to see if there were any problems or if it was me .. :-[
\plaz
-
I had same problem...
-
If you're running a dedicated server, you need to be starting it like:
./paintball2 +set dedicated 1 +exec server.cfg +map midnight
Not just "./paintball2"
Edit: Are you familiar with gdb? If you type "gdb paintball2" then "run +set dedicated 1 +exec server.cfg +map midnight" then (after it crashes) type "up" a few times, it should tell you what function it crashed in.
-
Edit: Are you familiar with gdb? If you type "gdb paintball2" then "run +set dedicated 1 +exec server.cfg +map midnight" then (after it crashes) type "up" a few times, it should tell you what function it crashed in.
Nope, but a wild guess would be gnu debug or something?
@painkE
Don't do the misstake I did and try to run the game as root, wont start .. think I issued ./paintball --help or something and it told me big no no.
@jitspoe
Maybe you could add a function that if you try to run the game as root with all the arguments it would tell you it's not allowed.
I've reread my reply and I admit it's a bit fuzzy. It did work when I ran it as a normal user .. so I dont think anything were wrong with the software :)
-
So running the game as root was your problem? Didn't know that didn't work. I guess I never tried it. Is everything good now?
-
Yupp, everything seems nice and dandy. About the root problem, could be that this distro (ubuntu) has some automatic checks if you run programs as root (which generally is a bad idea). Would be good if you could verify this on your system (Is Sad still around?) and make a pointer in the faq / docs.
\plaz