Hi
After happily playing on 0.30 for ages with no issues the latest build is random (frequent) crashing ....
I get this error after playing for a while :- (on what seems all servers)
On Archlinux64:-
-----------------------------------
Received signal 11, exiting...
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Resource id in failed request: 0x1800002
Serial number of failed request: 89776
Current serial number in output stream: 89777
X Error of failed request: GLXBadContext
Major opcode of failed request: 136 (GLX)
Minor opcode of failed request: 4 (X_GLXDestroyContext)
Serial number of failed request: 89777
Current serial number in output stream: 89777
-----------------------------------
On Ubuntu 10.10 x86 I get
------------------------------
Received signal 11, exiting...
paintball2: ../../src/xcb_io.c:183: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' failed.
Received signal 6, exiting...
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Resource id in failed request: 0x3a00002
Serial number of failed request: 15929
Current serial number in output stream: 15933
------------------------------
I have tried to gdb it but X completely locks when it crashes using gdb but I did get this (in Ubuntu 10.10)
(i have edited useless info from this)
-------------------------------------
morgan@morgan-desktop:~/games/paintball2$ gdb ./paintball2
Reading symbols from /home/morgan/games/paintball2/paintball2...done.
(gdb) run
Starting program: /home/morgan/games/paintball2/paintball2
[Thread debugging using libthread_db enabled]
Paintball 2 -- Version 2.0
execing configs/config.cfg
Console initialized.
------- sound initialization -------
LoadLibrary("./snd_sdl.so")
[New Thread 0xb38b2b70 (LWP 2000)]
[Thread 0xb38b2b70 (LWP 2000) exited]
[New Thread 0xb38b2b70 (LWP 2001)]
Initializing SDL Sound System
Stereo: 1
Samples: 4096
Samplepos: 0
Samplebits: 16
Submission_chunk: 1
Speed: 48000
Sound sampling rate: 48000
------------------------------------
------- Loading ref_pbgl.so -------
LoadLibrary("./ref_pbgl.so")
[New Thread 0xb14d7b70 (LWP 2002)]
ref_gl version: PB2GL 0.31
Using libGL.so for OpenGL...
Initializing OpenGL display
...setting fullscreen mode 9: 1280 1024
[Thread 0xb14d7b70 (LWP 2002) exited]
Using XFree86-VidModeExtension Version 2.2
------------------------------------
Loaded stats file yossarianuk.stat
====== Paintball II Initialized ======
70.85.9.178:27900: vninitresponse
70.85.9.178:27900: vnresponse
[New Thread 0xb0418b70 (LWP 2005)]
pinging broadcast...
[Thread 0xb0418b70 (LWP 2005) exited]
-----------------------------------
Be better edition- Napalm
By AircreW
Requesting maps/napalm.bsp
Downloading maps/napalm.bsp
519.19 KB received in 16.34 seconds. 31.78 KB/s.
Program received signal SIGSEGV, Segmentation fault.
0x0808570e in GetLittleLong ()
(gdb)
-------------------------------------
as mentioned last version (0.30) NEVER crashed on same OS's...
No h/w, firewall, etc changes,- just the version of paintball
If I run 0.30 its fine.
Any ideas / any info I can provide to fix this issue ?
I have used the full version on both OS's.
It is not related to using SDL for sound as I use oss in Arch (ubuntu 10.10 has removed OSS completely ... Alsa just doesn't work correctly unfortunately)