Digital Paint Discussion Board
Development => Bugs, Feature Requests, and Feedback => Topic started by: Phitherek_ on February 19, 2010, 09:47:24 AM
-
I have a patched version of paintball2 build29. It works fine, but hangs after some time of playing.
Here is the log:
phitherek@phitherek-laptop ~ $ paintball2
Paintball 2 -- Version 2.0
execing configs/config.cfg
Console initialized.
------- sound initialization -------
LoadLibrary("./snd_oss.so")
Initializing OSS Sound System
Buffer size: 65536
Stereo: 1
Samples: 32768
Samplepos: 0
Samplebits: 16
Submission_chunk: 1
Speed: 48000
Sound sampling rate: 48000
------------------------------------
------- Loading ref_pbgl.so -------
LoadLibrary("./ref_pbgl.so")
ref_gl version: PB2GL 0.28
Using libGL.so for OpenGL...
Initializing OpenGL display
...setting fullscreen mode 19: 1280 800
Using XFree86-VidModeExtension Version 2.2
I got 8 bits of red
I got 8 bits of blue
I got 8 bits of green
I got 24 bits of depth
I got 8 bits of alpha
I got 8 bits of stencil
Using hardware gamma
------------------------------------
CDAudio_Init: No CD in player.
CD Audio Initialized
====== Paintball II Initialized ======
Loaded stats file phitherek.stat
70.85.9.178:27900: vninitresponse
70.85.9.178:27900: vnresponse
pinging broadcast...
85.25.2.54:27920: info
NARCISM Public shazam22 8/18
85.25.68.188:27916: info
lawl:]Match I shock 0/10
81.169.171.13:11117: info
ic3y's Jump jump/kjump1_b1 14/14
81.169.171.13:22222: info
ic3y's Match #1 airtime 0/16
81.169.171.13:11113: info
ic3y's Beta beta/1day 0/ 5
81.169.171.13:11116: info
ic3y's Private Jump jump/sabrespookjump2 0/ 8
83.169.4.183:44444: info
[OTB] Match 2 - www.OTB-Clan.de wobluda 2/16
83.169.4.183:55555: info
[OTB] Match 3 - www.OTB-Clan.de italy 2/16
83.169.4.183:20007: info
[OTB] Soccer - www.OTB-Clan.de otb_soccer2_cup 5/16
Connecting to 83.169.4.183:23585...
83.169.4.183:23585: challenge
83.169.4.183:23585: print
Server is full.
(... game log ...)
Round started...
20:00 left in match.
newbie timed out
>trx<pker! entered the game (build 27).
*newbie (Spyder SE) eliminated *newbie(3) (VM-68).
*morsch (Carbine) eliminated *[CSO]Phitherek_ (Carbine).
*Red's >trx<pker! revived!
./paintball2: symbol lookup error: pball/pics/testl.dat: undefined symbol: _vsnprintf
^^ the problem is with test1.dat - can someone help?
-
That file is for the hardware check, jitspoe can say u more.
-
And you don't have this problem on the previous builds at all?
What version of the libc/glibc libraries do you have on your system? Seems like you're having a compatibility issue.. perhaps jitspoe updated his toolchain since he last compiled a Linux release.
What timestamp do you have for test1.dat? Can you tell if it's from the full or patch tarballs, or whether it was downloaded after installing?
-
Odd - _vsnprintf has been used throughout the code for quite some time. I'm not sure why you'd just have an issue with it now. Make sure you have all of these libraries installed (32bit): libgcrypt, libgpg-error, libjpeg, libpng12, libstdc++, libpthread, libgcc_s, libXxf86vm, libXau, libXdmcp, libXext, libXdamage, libXfixes, libdrm, libX11, libGL, libxcb, libz, libdl, librt, libm, libc.
-
Isn't it just vsnprintf on linux? I think the underscore is just for the windows API.
-
Ah...
#ifndef WIN32
#define _vsnprintf(a, b, c, d) vsnprintf(a, b, c, d)
#endif
I might be missing that.
Also, it looks like I must not have saved my makefile changes so that this won't require glibc 2.4 or higher. That could also be an issue. Build 30 might have to be a quick patch. :P
Edit: Yeah, that was it.
This is yet another reason I hate Linux. That crap shouldn't even compile. Why does it let you just put whatever function calls you want in there and not bother to tell you they don't exist until that code is executed?
-
Ok, so when this fixed version is going to be released?
Btw. I' m really glad that I had my part in improving Paintball2 :)
-
Hi.
tried the new build (0.29) on various distro's - same crash.
/home/morgan/games/paintball2/paintball2: symbol lookup error: pball/pics/testl.dat: undefined symbol: _vsnprintf
- occurs on Arch 64bit and Ubuntu 386
gdb doesn't seem to give any output
Just to confirm I used
gdb paintball2
run
after crash - bt
Program exited with code 0177.
(gdb) bt
No stack.
(gdb)
Any ideas ?
It is happening very frequently (usually 2-3 mins)
-
http://dplogin.com/forums/index.php?topic=20007.0
-
Thanks for the response.
Guess I will have to revert back until 0.30 is out .
cheers
-
Jitspoe put some love into Linux maybe then it will go more smoothly :]
-
Merging these threads. This will be fixed for the next release.
-
I would like to thank Jitspoe for releasing a Linux version at all....
It looks like a relatively easy fix so i'm sure it will be out soon.
Does the later version still depend on the same libjpeg version (6) - just wondering..
-
Does the later version still depend on the same libjpeg version (6) - just wondering..
I use the libjpeg version 7 and it works fine.
-
I'm not sure what version it requires - is there a way to check?
-
'ldd paintball2' might show it...
(this is from a another binary on a RHEL server with v6 of libjpeg)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00000039d5000000)
Edit: sometimes it's possible for users to link the version they have installed to the one that the program is looking for.. i.e. libjpeg.so.62 -> libjpeg.so.7
-
When it goes to libjpeg, linking doesn' t work. I know it from my own OS.
-
I think libjpeg 6b is directly compiled into the code, hence all the source files in ref_gl/jpeg...
-
Thanks for the responses.
I was asking as the my main distro (arch) uses libjpeg8 as the default version, there is version 6 in AUR though (one bad side of having the latest everything)
btw: I launch it with
LD_PRELOAD=~/libjpeg6/lib/libjpeg.so.62.0.0 ./paintball
Will build 0.27 still connect to servers now - I haven't bothered re-installing it yet...
-
hmmm... For me, paintball2 runs on 8 properly... (or on 7, because I have a mess since the upgrade to 8 :P I had some problems then...) But I don' t need the libjpeg6 version at all...
-
if someone has 9.10 please test it with that since its the newer built and more people will be swapping over to that. preferably test it in the 64 bit since mostly everyone is or will be converting to 64
-
vLaD, sorry I may be missing something here...
Test what ? The build 0.29 build is the same one that was released with the 'undefined symbol: _vsnprintf' bug in.
Is there a newer test build ?
I have ubuntu 9.10 (32+64bit) installed.
-
hmm i didnt have that issue, the only issue i had was that the alsa driver would not initiate properly. didn't work at all and when i moved it was jerky as hell.
-
I think he just wants someone to tell him it works so that he can spam ubuntuforums.org about this awesome paintball game.. The linux client is about the most complicated game I've ever had to make work.. and the complexity keeps evolving with each build (no thanks to Viciouz ;))
-
[/quote]I think he just wants someone to tell him it works so that he can spam ubuntuforums.org about this awesome paintball game.. The linux client is about the most complicated game I've ever had to make work.. and the complexity keeps evolving with each build (no thanks to Viciouz ;))
lol you got me there :)
-
I think he just wants someone to tell him it works so that he can spam ubuntuforums.org about this awesome paintball game.. The linux client is about the most complicated game I've ever had to make work.. and the complexity keeps evolving with each build (no thanks to Viciouz ;))
:(
Incase you haven't noticed, I added flags to add OGG support in the makefile and they're disabled by default so :( :( :( to you
-
XtremeBain the client was working fine in 0.27 (apart from that odd crash..), i've been playing it (purely on linux) for a while now...
It is not the most complicated game to run at all, usually you have to do no more than
./paintball2 (or were you referring to the development)
My crash is the exact same as the original posters.
P.S although i have Ubuntu installed I do not use as my main system I am not going to spam the Ubuntu forums, I run arch as my main system (i'm not going to spam arch's either) - it plays paintball faster than any other system i've tried..
And anyway do you not want more users ? (Linux users are more likely to have access to a server....)
-
hey. please help me im a ubuntu user and i downloaded the game but when i double click on paintball2 executable file nothing happens. meaby i dont have the libs that it need. if so , where i can download those files. sorry my english:)
-
NOW I KNOW THAT I HAVE SAME PROBLEM
-
Hi
It is best to start the game via command line or create a desktop link which launches the game, just double clicking on it may not work.
cd paintball2
./paintball2
I've stopped playing until the next version is released, you should use the older version 0.27 until the issue is fixed.
-
cd paintball2
./paintball2
yeah i launched it from the command line and i cant play build 0.27 becouse its not supported on the servers. does anybody know when 0.30 is coming. hope it works on linux. but thanks to jitspoe to he even made the linux version. ps: older versions work on singleplayer
-
when next build comes?
-
This is fixed is 0.30