Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349727 - games-fps/openarena-0.8.5 crashes with "netchan queue is not properly initialized in SV_Netchan_TransmitNextFragment" on maps that don't support bots if bots are enabled
Summary: games-fps/openarena-0.8.5 crashes with "netchan queue is not properly initial...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-26 04:27 UTC by John Hardin
Modified: 2013-01-31 18:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hardin 2010-12-26 04:27:27 UTC
Older versions of the Q3A engine had a problem when many bots enter zombie mode (i.e. from being kicked or from bots being enabled on a map that does not support bots). The map will crash back to the main menu with "netchan queue is not properly initialized in SV_Netchan_TransmitNextFragment" due to the comm state of the zombied bots.

This has apparently been fixed upstream in the ioquake sources at icculus.org, see http://svn.icculus.org/quake3/trunk/code/server/sv_net_chan.c?r1=1552&r2=1596

Could the patch from that commit be applied to the Gentoo OpenArena ebuild? It is not in the OA 0.8.1 sources and the OA 0.8.5 patch doesn't appear to include any server-side fixes. 

I'm in the process of reporting this to the OA devs, but if someone else here has closer ties then another report via that channel might get faster results.

Reproducible: Always

Steps to Reproduce:
1. Launch OA
2. Enable bots and set bot_minplayers, restart
3. Load a map that does not support bots
4. Wait

Actual Results:  
After several (a dozen?) expected bot init failure errors, the map crashes back to the main OA menu.

Expected Results:  
Map does not crash.

Upstream's upstream fixed (in 2009!) at http://svn.icculus.org/quake3/trunk/code/server/sv_net_chan.c?r1=1552&r2=1596
Comment 1 John Hardin 2010-12-26 22:07:48 UTC
After a little research I need to modify this report. The openarena-0.8.5 ebuild appears to ignore the (compiled) server code shipped in the OA 0.8.5 patch in favor of applying specific source patches to the 0.8.1 server code. If I run the executable from the 0.8.5 OA patch file the server does not crash as described.

So, can the above patch be included in the OpenArena ebuild custom patches, or  can the ebuild use the ioquake sources from icculus.org, which is what the OA team uses?
Comment 2 John Hardin 2011-01-01 04:04:35 UTC
The OA engine sources are available here: http://files.poulsander.com/~poul19/public_files/oa/dev081/

The source for the 0.8.5 official release for Linux is apparently:

http://files.poulsander.com/~poul19/public_files/oa/dev081/openarena-engine-source-0.8.x-13.tar.bz2

I've asked in the 0.8.5 bugs thread on the OA forum to have the release source tarball copied to the SVN server when a stable release is made, so that the ebuild doesn't have to use some dev's home dir rather than the project's SVN server as an authoritative source for code, but until/unless that actually happens for the 0.8.5 sources perhaps the ebuild should be modified to pull the source tarball from http://files.poulsander.com/~poul19/public_files/oa/dev081/
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2013-01-31 18:46:07 UTC
games-fps/openarena-0.8.5 is gone