Author Topic: Build 26 - linux - random : Received signal 11, exiting...  (Read 5263 times)

yossarianuk

  • VM-68
  • Posts: 127
Build 26 - linux - random : Received signal 11, exiting...
« on: March 24, 2009, 06:00:20 PM »
Hi.

Since The upgrade from 23 to 26 the Linux client can randomly crash at any moment in the middle of a game (usually when i'm doing o.k ...)

The only message I get is:-

 Received signal 11, exiting...

This didn't happen on the 23 version.

It is happening from clean 26 full install, on various different versions of linux - amd64 + x86 (arch64 / ubuntux86 / susex86)

Is there any more info I can give you to help investigate this.

I've checked the usual logs (dmesg, messages,etc) and can't see anything..

specs:

athlon64 am2 4600
nvidia 8500 (latest stable nvidia driver)
2X2GB ram.
various linux os's .


« Last Edit: March 24, 2009, 07:06:22 PM by yossarianuk »

Eiii

  • Autococker
  • Posts: 4595
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #1 on: March 24, 2009, 07:51:42 PM »
Segfault :(
Is your memory okay?

EDIT: And if you install build 23 now, does it do the same?

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #2 on: March 25, 2009, 04:24:11 AM »
Hi.

I'll check tonight if the same thing occurs with 23 build now.

My memory is fine  - i.e everything else works... no random errors,crashes.

The crash in 26 does seem a bit random - sometimes I can play for 10-15 mins before the crash...

I'll post results tonight

Is there a way to make paintball create some sort of error log ?

cheers

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #3 on: March 25, 2009, 06:35:17 AM »
Do this:

Pull a memory stick out and try playing like that and see what happens.  There is a good chance that you might have a bad stick of memory.  WOuldn't be the first time that the DP executable has found bad memory.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #4 on: March 25, 2009, 08:40:21 AM »
Try running with gdb.  It might give more useful information.

cd /path/to/paintball2
gdb paintball2
run

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #5 on: March 28, 2009, 06:02:42 AM »
Hi

Tried for hours to get it to crash when running gdb.

Just managed to get a crash !

I had to go to a console (ctrl+alt+f1) then kill the paintball process in order to get back to X

This was at the end

------------------------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7d44ab0 (LWP 4513)]
0x08081fdb in S_IssuePlaysound ()
Current language:  auto; currently asm
(gdb)
------------------------------------------------------------------------------------

cheers

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #6 on: March 28, 2009, 06:34:07 AM »
Hi.

Should have mentioned that this gdb log is from

Arch linux 64 - X86_64 - 2.6.28.8

I have just got another one (few mins later)

This time I got it to output to text file

Starting program: /home/morgan/games/paintball2/paintball2
[Thread debugging using libthread_db enabled]
[New Thread 0xf7d9eab0 (LWP 4328)]
[New Thread 0xf685eb90 (LWP 4331)]
[Thread 0xf685eb90 (LWP 4331) exited]
[New Thread 0xf247db90 (LWP 4333)]
[Thread 0xf247db90 (LWP 4333) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7d9eab0 (LWP 4328)]
0x08081fdb in S_IssuePlaysound ()
Current language:  auto; currently asm

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #7 on: March 28, 2009, 10:19:51 PM »
Hm, could be an issue with the OGG stuff ViciouZ added.  Have you put anything in the music directory?  Which sound driver are you using?

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #8 on: March 29, 2009, 05:46:50 AM »
Hi.

It looks like I dont have a music directory ..

I'm using the default oss sound driver for paintball2 - I am running alsa on my main system.

Here is my startup log

morgan@linux-w3db:~/games/paintball2> ./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
Starting Ogg Vorbis.
OGG_LoadPlaylist: could not open playlist: No such file or directory.
No Ogg Vorbis files found.
Shutting down Ogg Vorbis.
------------------------------------
------- Loading ref_pbgl.so -------
LoadLibrary("./ref_pbgl.so")
ref_gl version: PB2GL 0.24
Using libGL.so for OpenGL...
Initializing OpenGL display

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #9 on: March 29, 2009, 06:56:12 AM »
Hm, could be an issue with the OGG stuff ViciouZ added. 


Sorry V, but this is for you.....




;D

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #10 on: July 23, 2009, 07:07:43 AM »
I have been looking at this pretty hard, but I can't find any reason why it's bugging out, at least not with the OGG system. I may have overlooked something but basically, the function that is bugging out is a long way down the call-chain and is not directly used by the OGG system. In addition, the crash occured when there were no OGG files available, which causes the OGG system to shut itself down immediately. As I am unable to replicate the crash, please try playing with the cvar "ogg_enable" set to 0. If the crash persists, the problem is somewhere else, or I've missed something (more likely). The other sound addition of build 26 was the first set of surface specific sounds - this code does not directly call the bugged function either - it is only called by other untouched sound functions, indicating that there may be some specific sound data that the function does not agree with. I'm going to try reproducing the bug again when I have some time, hopefully getting gdb to output some more useful information.

edit: If it only happens in-game, can you check if those maps you are getting crashes on use snow textures or w_metal1 (you can just search the bsp file for them)?

edit2: Not sure if S_IssuePlaySound is even used by ogg indirectly, as part of the stuff it does is dealing with attenuation and spatialisation.
« Last Edit: July 23, 2009, 07:33:17 AM by ViciouZ »

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #11 on: August 03, 2009, 05:16:54 PM »
I've made OGG compilation optional so it can be easily disabled for Linux server builds and Linux client builds until this crash issue is resolved. Should also help with determining why the crashing is occuring.

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #12 on: August 04, 2009, 03:38:02 PM »
ViciouZ your a legend - +enable_ogg 0 seems to have stopped the crashing.

Been running for a few hours now and no crashes.

(will gdb it if I do have crashes in future with the enable_ogg 0 setting)

I'm so happy!!!

You mentioned compiling the alsa driver?

At the moment alsa is unusable (see http://dplogin.com/forums/index.php?topic=17084.msg166952 )

Can you give pointers where to get the source ? (I am quite familiar  with compiling software and generally do compile games if I can - i,e tremulous, nexuiz, etc)

Thanks for your help


Btw: Just checked out KDE 4.3 (its already in Arch Linux) its really very nice ..

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #13 on: August 04, 2009, 04:20:22 PM »
That really is very odd, seeing as ogg enable 0 should do just the same as when no ogg files are found. The source I was referring to was the engine source code available at http://sf.net/projects/paintball2/

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #14 on: August 05, 2009, 05:23:49 AM »
ViciouZ - As mentioned the crash was random - perhaps it just hasn't crashed yet...

I'm on call (for work)  over the weekend - this usually means lots of paintball...  I'll give it more testing.

If i manage to play for 3-4 hours without crashing i'll assume the bug's gone.

If not i'll try to compile the source code.

yossarianuk

  • VM-68
  • Posts: 127
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #15 on: August 08, 2009, 06:10:03 AM »
It has done the crash......  Nightmare!

I have tried to compile from source - I am having issues connecting to all servers

I have made a separate thread regarding this - can someone see If i did corrects steps to compile

http://dplogin.com/forums/index.php?topic=18318

Cheers

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Build 26 - linux - random : Received signal 11, exiting...
« Reply #16 on: August 08, 2009, 08:08:34 AM »
Didn't know you were on 64 bit, and also I only meant the snd_* drivers, the client and renderer are checked for mod content :/

Do you remember what map you were playing when the crash occured?