[amd64, and possibly others] The crash problem in team arena

Ian Kumlien pomac at vapor.com
Thu Sep 8 22:59:02 EDT 2005


Hi, 

I redid my installation... I was missing the patches etc, which i'll be
taring up and putting in my q3 mirror tomrrow
(http://pomac.netswarm.net/mirror/ ) and i managed to get the strange
crash.

From my debug data:
-- valgrind--
==31775== Invalid read of size 1
[data snipped]
==31775==  Address 0x11803A8E7 is not stack'd, malloc'd or (recently)
free'd

This made me want to try gdb, which gave me this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912510151392 (LWP 32106)]
0x00002aaab489989b in Item_Bind_HandleKey (item=0x100000000, key=1,
down=4292783056) at ui_shared.c:3485
3485  id = BindingIDFromName(item->cvar);

to which bt full yeilded:
#0  0x00002aaab489989b in Item_Bind_HandleKey (item=0x100000000, key=1,
down=4292783056) at ui_shared.c:3485
        id = -1263967912
        i = 1

Now, id shoud correspond to a binding, and is also used to index a
array... =)

I never got around this for some reason.... Anyways, it's running now
becouse i replaced my .q3a/missionpack/q3config.cfg with one from my
laptop.

I attached both the working and non working for your... *cough* reading
pleasure... They are kind of a mess though, since it's a friends
settings against my quick hackup.

For easy diffing i did this and attached it:
cat q3config.cfg |sort >test1
cat q3config.cfg_old |sort >test2
(I first did it to check the data but i know to little about cvars to
make anything useful from this.)

-- 
Ian Kumlien <pomac () vapor ! com> -- http://pomac.netswarm.net
-------------- next part --------------
bind 0 "weapon 10"
bind 1 "weapon 1"
bind 2 "weapon 2"
bind 3 "weapon 3"
bind 4 "weapon 4"
bind 5 "weapon 5"
bind 6 "weapon 6"
bind 7 "weapon 7"
bind 8 "weapon 8"
bind 9 "weapon 9"
bind ALT "+strafe"
bind a "+moveleft"
bind c "+movedown"
bind CTRL "+attack"
bind DEL "+lookdown"
bind d "+moveright"
bind DOWNARROW "+back"
bind END "centerview"
bind ENTER "+button2"
bind ESCAPE "togglemenu"
bind F11 "screenshot"
bind F1 "vote yes"
bind F2 "vote no"
bind F3 "ui_teamorders"
bind LEFTARROW "+left"
bind \ "+mlook"
bind MOUSE1 "+attack"
bind MOUSE2 "+strafe"
bind MOUSE3 "+zoom"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"
bind PAUSE "pause"
bind PGDN "+lookup"
bind RIGHTARROW "+right"
bind s "+back"
bind SHIFT "+speed"
bind _ "sizedown"
bind - "sizedown"
bind = "sizeup"
bind + "sizeup"
bind SPACE "+moveup"
bind TAB "+scores"
bind t "messagemode"
bind ` "toggleconsole"
bind ~ "toggleconsole"
bind UPARROW "+forward"
bind / "weapnext"
bind ] "weapnext"
bind [ "weapprev"
bind w "+forward"
// generated by quake, do not modify
seta capturelimit "5"
seta cg_autoswitch "1"
seta cg_bobpitch "0.002"
seta cg_bobroll "0.002"
seta cg_bobup "0.005"
seta cg_brassTime "2500"
seta cg_cameraOrbitDelay "35"
seta cg_crosshairHealth "1"
seta cg_crosshairSize "24"
seta cg_crosshairX "0"
seta cg_crosshairY "0"
seta cg_currentSelectedPlayer "0"
seta cg_currentSelectedPlayerName ""
seta cg_deferPlayers "0"
seta cg_draw2D "1"
seta cg_draw3dIcons "1"
seta cg_drawAmmoWarning "1"
seta cg_drawAttacker "1"
seta cg_drawCrosshair "4"
seta cg_drawCrosshairNames "1"
seta cg_drawFPS "0"
seta cg_drawFriend "1"
seta cg_drawGun "1"
seta cg_drawIcons "1"
seta cg_drawRewards "1"
seta cg_drawSnapshot "0"
seta cg_drawStatus "1"
seta cg_drawTeamOverlay "0"
seta cg_drawTimer "1"
seta cg_forceModel "0"
seta cg_fov "90"
seta cg_gibs "1"
seta cg_hudFiles "ui/hud.txt"
seta cg_lagometer "1"
seta cg_marks "1"
seta cg_noProjectileTrail "0"
seta cg_noTaunt "0"
seta cg_noVoiceChats "0"
seta cg_noVoiceText "0"
seta cg_oldPlasma "1"
seta cg_oldRail "1"
seta cg_oldRocket "1"
seta cg_predictItems "1"
seta cg_railTrailTime "400"
seta cg_runpitch "0.002"
seta cg_runroll "0.005"
seta cg_scorePlums "1"
seta cg_selectedPlayer "1"
seta cg_selectedPlayerName "Lionheart"
seta cg_shadows "1"
seta cg_simpleItems "0"
seta cg_smoothClients "0"
seta cg_stereoSeparation "0.4"
seta cg_teamChatHeight "0"
seta cg_teamChatsOnly "0"
seta cg_teamChatTime "3000"
seta cg_trueLightning "0.0"
seta cg_viewsize "100"
seta cg_zoomfov "22.5"
seta cl_allowDownload "0"
seta cl_anonymous "0"
seta cl_freelook "1"
seta cl_maxpackets "30"
seta cl_maxPing "800"
seta cl_mouseAccel "0"
seta cl_packetdup "1"
seta cl_pitchspeed "140"
seta cl_punkbuster "1"
seta cl_run "1"
seta cl_yawspeed "140"
seta cm_playerCurveClip "1"
seta color1 "4"
seta color2 "5"
seta com_blood "1"
seta com_hunkMegs "56"
seta com_introplayed "1"
seta com_maxfps "85"
seta com_soundMegs "8"
seta com_zoneMegs "16"
seta dmflags "0"
seta fraglimit "10"
seta g_allowVote "1"
seta g_banIPs ""
seta g_blueTeam "Stroggs"
seta g_filterBan "1"
seta g_friendlyFire "0"
seta g_log "games.log"
seta g_logSync "0"
seta g_maxGameClients "0"
seta g_redTeam "Crusaders"
seta g_spAwards "\a5\3\a4\25"
seta g_spScores1 ""
seta g_spScores2 "\l1\1\l0\1\l24\1"
seta g_spScores3 ""
seta g_spScores4 ""
seta g_spScores5 ""
seta g_spSkill "2"
seta g_spVideos "\tier1\1"
seta g_teamAutoJoin "0"
seta g_teamForceBalance "0"
seta g_warmup "15"
seta handicap "100"
seta headmodel "bones/bones"
seta in_dgamouse "1"
seta in_joystick "0"
seta in_mouse "1"
seta in_subframe "1"
seta joy_threshold "0.150000"
seta m_filter "0"
seta m_forward "0.25"
seta model "bones/bones"
seta m_pitch "-0.022000"
seta m_side "0.25"
seta m_yaw "0.022"
seta name "Player"
seta r_allowExtensions "1"
seta rate "25000"
seta r_colorbits "32"
seta r_customaspect "1"
seta r_customheight "1024"
seta r_customwidth "1600"
seta r_depthbits "24"
seta r_detailtextures "1"
seta r_dlightBacks "1"
seta r_drawSun "0"
seta r_dynamiclight "1"
seta r_ext_compiled_vertex_array "1"
seta r_ext_compressed_textures "0"
seta r_ext_gamma_control "1"
seta r_ext_multitexture "1"
seta r_ext_texture_env_add "0"
seta r_facePlaneCull "1"
seta r_fastsky "0"
seta r_finish "1"
seta r_flares "0"
seta r_fullscreen "1"
seta r_gamma "1"
seta r_glDriver "libGL.so.1"
seta r_ignoreFastPath "1"
seta r_ignoreGLErrors "1"
seta r_ignorehwgamma "0"
seta r_inGameVideo "1"
seta r_lastValidRenderer "GeForce4 4200 Go/AGP/SSE2"
seta r_lodbias "0"
seta r_lodCurveError "250"
seta r_mode "6"
seta r_overBrightBits "1"
seta r_picmip "0"
seta r_primitives "0"
seta r_railCoreWidth "6"
seta r_railSegmentLength "32"
seta r_railWidth "16"
seta r_roundImagesDown "1"
seta r_simpleMipMaps "1"
seta r_smp "0"
seta r_stencilbits "0"
seta r_stereo "0"
seta r_subdivisions "4"
seta r_swapInterval "0"
seta r_texturebits "32"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_vertexLight "0"
seta sdldevsamps "0"
seta sdlmixsamps "0"
seta s_doppler "1"
seta sensitivity "5.229166"
seta server1 ""
seta server10 ""
seta server11 ""
seta server12 ""
seta server13 ""
seta server14 ""
seta server15 ""
seta server16 ""
seta server2 ""
seta server3 ""
seta server4 ""
seta server5 ""
seta server6 ""
seta server7 ""
seta server8 ""
seta server9 ""
seta sex "male"
seta s_khz "22"
seta s_mixahead "0.2"
seta s_mixPreStep "0.05"
seta s_musicvolume "0.25"
seta snaps "20"
seta sndbits "16"
seta sndchannels "2"
seta snddevice "/dev/dsp"
seta sndspeed "0"
seta s_separation "0.5"
seta sv_floodProtect "1"
seta sv_hostname "noname"
seta sv_lanForceRate "1"
seta sv_master2 ""
seta sv_master3 ""
seta sv_master4 ""
seta sv_master5 ""
seta sv_maxclients "6"
seta sv_maxPing "0"
seta sv_maxRate "0"
seta sv_minPing "0"
seta s_volume "0.8"
seta sv_punkbuster "0"
seta sv_pure "0"
seta sv_strictAuth "1"
seta team_headmodel "*James"
seta team_model "james"
seta timelimit "0"
seta ui_actualNetGametype "3"
seta ui_bigFont "0.4"
seta ui_blueteam1 "0"
seta ui_blueteam2 "0"
seta ui_blueteam3 "0"
seta ui_blueteam4 "0"
seta ui_blueteam5 "0"
seta ui_blueteam "Stroggs"
seta ui_browserGameType "0"
seta ui_browserMaster "0"
seta ui_browserShowEmpty "1"
seta ui_browserShowFull "1"
seta ui_browserSortKey "4"
seta ui_ctf_capturelimit "8"
seta ui_ctf_friendly "0"
seta ui_ctf_timelimit "30"
seta ui_currentMap "0"
seta ui_currentNetMap "26"
seta ui_currentOpponent "0"
seta ui_currentTier "0"
seta ui_dedicated "0"
seta ui_ffa_fraglimit "20"
seta ui_ffa_timelimit "0"
seta ui_findPlayer "Sarge"
seta ui_gametype "3"
seta ui_joinGametype "0"
seta ui_lastServerRefresh_0 "Sep-2, 2005 at 23:14"
seta ui_lastServerRefresh_1 "Sep-2, 2005 at 23:14"
seta ui_lastServerRefresh_2 ""
seta ui_lastServerRefresh_3 "Sep-2, 2005 at 23:14"
seta ui_mapIndex "0"
seta ui_menuFiles "ui/menus.txt"
seta ui_netGametype "3"
seta ui_netSource "3"
seta ui_opponentName "Stroggs"
seta ui_q3model "0"
seta ui_recordSPDemo "0"
seta ui_recordSPDemoName ""
seta ui_redteam1 "0"
seta ui_redteam2 "0"
seta ui_redteam3 "0"
seta ui_redteam4 "0"
seta ui_redteam5 "0"
seta ui_redteam "Pagans"
seta ui_scoreAccuracy "0%"
seta ui_scoreAssists "0"
seta ui_scoreBase "0"
seta ui_scoreCaptures "0"
seta ui_scoreDefends "0"
seta ui_scoreExcellents "0"
seta ui_scoreGauntlets "0"
seta ui_scoreImpressives "0"
seta ui_scorePerfect "0"
seta ui_scoreScore "0"
seta ui_scoreShutoutBonus "0"
seta ui_scoreSkillBonus "0"
seta ui_scoreTeam "0 to 0"
seta ui_scoreTime "00:00"
seta ui_scoreTimeBonus "0"
seta ui_serverStatusTimeOut "7000"
seta ui_smallFont "0.25"
seta ui_teamArenaFirstRun "1"
seta ui_team_fraglimit "0"
seta ui_team_friendly "1"
seta ui_teamName "Crusaders"
seta ui_team_timelimit "20"
seta ui_tourney_fraglimit "0"
seta ui_tourney_timelimit "15"
seta vm_cgame "2"
seta vm_game "2"
seta vm_ui "2"
unbindall
-------------- next part --------------
bind 0 "weapon 10"
bind 1 "weapon 1"
bind 2 "weapon 2"
bind 3 "weapon 3"
bind 4 "weapon 4"
bind 5 "weapon 5"
bind 6 "weapon 6"
bind 7 "weapon 7"
bind 8 "weapon 8"
bind 9 "weapon 9"
bind ALT "+strafe"
bind a "+moveleft"
bind c "+movedown"
bind CTRL "+attack"
bind DEL "+lookdown"
bind d "+moveright"
bind DOWNARROW "+back"
bind END "centerview"
bind ENTER "+button2"
bind ESCAPE "togglemenu"
bind F11 "screenshot"
bind F1 "vote yes"
bind F2 "vote no"
bind F3 "ui_teamorders"
bind LEFTARROW "+left"
bind \ "+mlook"
bind MOUSE1 "+attack"
bind MOUSE2 "+moveup"
bind MOUSE3 "+zoom"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"
bind PAUSE "pause"
bind PGDN "+lookup"
bind RIGHTARROW "+right"
bind s "+back"
bind SHIFT "+speed"
bind _ "sizedown"
bind - "sizedown"
bind = "sizeup"
bind + "sizeup"
bind SPACE "+moveup"
bind TAB "+scores"
bind t "messagemode"
bind ` "toggleconsole"
bind ~ "toggleconsole"
bind UPARROW "+forward"
bind / "weapnext"
bind ] "weapnext"
bind [ "weapprev"
bind w "+forward"
// generated by quake, do not modify
seta capturelimit "5"
seta cg_autoswitch "1"
seta cg_bobpitch "0.002"
seta cg_bobroll "0.002"
seta cg_brassTime "2500"
seta cg_cameraOrbitDelay "50"
seta cg_crosshairHealth "1"
seta cg_crosshairSize "24"
seta cg_crosshairX "0"
seta cg_crosshairY "0"
seta cg_deferPlayers "1"
seta cg_draw2D "1"
seta cg_draw3dIcons "1"
seta cg_drawAmmoWarning "1"
seta cg_drawAttacker "1"
seta cg_drawCrosshair "4"
seta cg_drawCrosshairNames "1"
seta cg_drawFPS "0"
seta cg_drawFriend "1"
seta cg_drawGun "1"
seta cg_drawIcons "1"
seta cg_drawRewards "1"
seta cg_drawSnapshot "0"
seta cg_drawStatus "1"
seta cg_drawTeamOverlay "0"
seta cg_drawTimer "1"
seta cg_forceModel "0"
seta cg_fov "90"
seta cg_gibs "1"
seta cg_hudFiles "ui/hud.txt"
seta cg_lagometer "1"
seta cg_marks "1"
seta cg_noProjectileTrail "0"
seta cg_noTaunt "0"
seta cg_noVoiceChats "0"
seta cg_noVoiceText "0"
seta cg_oldPlasma "1"
seta cg_oldRail "1"
seta cg_oldRocket "1"
seta cg_predictItems "1"
seta cg_railTrailTime "400"
seta cg_runpitch "0.002"
seta cg_runroll "0.005"
seta cg_scorePlums "1"
seta cg_selectedPlayer "0"
seta cg_selectedPlayerName ""
seta cg_shadows "1"
seta cg_simpleItems "0"
seta cg_smoothClients "0"
seta cg_stereoSeparation "0.4"
seta cg_teamChatHeight "0"
seta cg_teamChatsOnly "0"
seta cg_teamChatTime "3000"
seta cg_trueLightning "0.0"
seta cg_viewsize "100"
seta cg_zoomfov "22.5"
seta cl_allowDownload "0"
seta cl_anonymous "0"
seta cl_freelook "1"
seta cl_maxpackets "30"
seta cl_maxPing "800"
seta cl_mouseAccel "0"
seta cl_packetdup "1"
seta cl_pitchspeed "140"
seta cl_run "1"
seta cl_yawspeed "140"
seta cm_playerCurveClip "1"
seta color1 "4"
seta color2 "5"
seta com_blood "1"
seta com_hunkMegs "56"
seta com_introplayed "1"
seta com_maxfps "85"
seta com_soundMegs "8"
seta com_zoneMegs "16"
seta dmflags "0"
seta fraglimit "10"
seta g_allowVote "1"
seta g_banIPs ""
seta g_blueTeam "Stroggs"
seta g_filterBan "1"
seta g_friendlyFire "0"
seta g_log "games.log"
seta g_logSync "0"
seta g_maxGameClients "0"
seta g_redTeam "Crusaders"
seta g_spAwards "\a5\2\a4\15"
seta g_spScores1 ""
seta g_spScores2 "\l0\1\l24\1"
seta g_spScores3 ""
seta g_spScores4 ""
seta g_spScores5 ""
seta g_spSkill "2"
seta g_spVideos "\tier1\1"
seta g_teamAutoJoin "0"
seta g_teamForceBalance "0"
seta g_warmup "15"
seta handicap "100"
seta headmodel "sarge/default"
seta in_dgamouse "1"
seta in_joystick "0"
seta in_mouse "1"
seta in_subframe "1"
seta joy_threshold "0.150000"
seta m_filter "0"
seta m_forward "0.25"
seta model "sarge/default"
seta m_pitch "-0.022000"
seta m_side "0.25"
seta m_yaw "0.022"
seta name "Player"
seta r_allowExtensions "1"
seta rate "25000"
seta r_colorbits "0"
seta r_customaspect "1"
seta r_customheight "1024"
seta r_customwidth "1600"
seta r_depthbits "0"
seta r_detailtextures "1"
seta r_dlightBacks "1"
seta r_drawSun "0"
seta r_dynamiclight "1"
seta r_ext_compiled_vertex_array "1"
seta r_ext_compressed_textures "0"
seta r_ext_gamma_control "1"
seta r_ext_multitexture "1"
seta r_ext_texture_env_add "0"
seta r_facePlaneCull "1"
seta r_fastsky "0"
seta r_finish "0"
seta r_flares "0"
seta r_fullscreen "1"
seta r_gamma "1"
seta r_glDriver "libGL.so.1"
seta r_ignoreFastPath "1"
seta r_ignoreGLErrors "1"
seta r_ignorehwgamma "0"
seta r_inGameVideo "1"
seta r_lastValidRenderer "GeForce 6600/PCI/SSE2"
seta r_lodbias "0"
seta r_lodCurveError "250"
seta r_mode "6"
seta r_overBrightBits "1"
seta r_picmip "0"
seta r_primitives "0"
seta r_railCoreWidth "6"
seta r_railSegmentLength "32"
seta r_railWidth "16"
seta r_roundImagesDown "1"
seta r_simpleMipMaps "1"
seta r_smp "0"
seta r_stencilbits "0"
seta r_stereo "0"
seta r_subdivisions "4"
seta r_swapInterval "0"
seta r_texturebits "0"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_vertexLight "0"
seta sdldevsamps "0"
seta sdlmixsamps "0"
seta s_doppler "1"
seta sensitivity "5"
seta server1 ""
seta server10 ""
seta server11 ""
seta server12 ""
seta server13 ""
seta server14 ""
seta server15 ""
seta server16 ""
seta server2 ""
seta server3 ""
seta server4 ""
seta server5 ""
seta server6 ""
seta server7 ""
seta server8 ""
seta server9 ""
seta sex "male"
seta s_khz "22"
seta s_mixahead "0.2"
seta s_mixPreStep "0.05"
seta s_musicvolume "0.25"
seta snaps "20"
seta sndbits "16"
seta sndchannels "2"
seta snddevice "/dev/dsp"
seta sndspeed "0"
seta s_separation "0.5"
seta sv_floodProtect "1"
seta sv_hostname "noname"
seta sv_lanForceRate "1"
seta sv_master2 ""
seta sv_master3 ""
seta sv_master4 ""
seta sv_master5 ""
seta sv_maxclients "6"
seta sv_maxPing "0"
seta sv_maxRate "0"
seta sv_minPing "0"
seta s_volume "0.8"
seta sv_pure "0"
seta sv_strictAuth "1"
seta team_headmodel "*James"
seta team_model "James"
seta timelimit "0"
seta ui_actualNetGametype "3"
seta ui_bigFont "0.4"
seta ui_blueteam1 "0"
seta ui_blueteam2 "0"
seta ui_blueteam3 "0"
seta ui_blueteam4 "0"
seta ui_blueteam5 "0"
seta ui_blueteam "Stroggs"
seta ui_browserGameType "0"
seta ui_browserMaster "0"
seta ui_browserShowEmpty "1"
seta ui_browserShowFull "1"
seta ui_browserSortKey "4"
seta ui_ctf_capturelimit "8"
seta ui_ctf_friendly "0"
seta ui_ctf_timelimit "30"
seta ui_currentMap "2"
seta ui_currentNetMap "0"
seta ui_currentOpponent "0"
seta ui_currentTier "0"
seta ui_dedicated "0"
seta ui_ffa_fraglimit "20"
seta ui_ffa_timelimit "0"
seta ui_findPlayer "Sarge"
seta ui_gametype "3"
seta ui_joinGametype "0"
seta ui_lastServerRefresh_0 ""
seta ui_lastServerRefresh_1 ""
seta ui_lastServerRefresh_2 ""
seta ui_lastServerRefresh_3 ""
seta ui_mapIndex "2"
seta ui_menuFiles "ui/menus.txt"
seta ui_netGametype "3"
seta ui_netSource "0"
seta ui_opponentName "Stroggs"
seta ui_q3model "0"
seta ui_recordSPDemo "0"
seta ui_redteam1 "0"
seta ui_redteam2 "0"
seta ui_redteam3 "0"
seta ui_redteam4 "0"
seta ui_redteam5 "0"
seta ui_redteam "Pagans"
seta ui_scoreAccuracy "0%"
seta ui_scoreAssists "0"
seta ui_scoreBase "0"
seta ui_scoreCaptures "0"
seta ui_scoreDefends "0"
seta ui_scoreExcellents "0"
seta ui_scoreGauntlets "0"
seta ui_scoreImpressives "0"
seta ui_scorePerfect "0"
seta ui_scoreScore "0"
seta ui_scoreShutoutBonus "0"
seta ui_scoreSkillBonus "0"
seta ui_scoreTeam "0 to 0"
seta ui_scoreTime "00:00"
seta ui_scoreTimeBonus "0"
seta ui_serverStatusTimeOut "7000"
seta ui_smallFont "0.25"
seta ui_teamArenaFirstRun "1"
seta ui_team_fraglimit "0"
seta ui_team_friendly "1"
seta ui_teamName "Crusaders"
seta ui_team_timelimit "20"
seta ui_tourney_fraglimit "0"
seta ui_tourney_timelimit "15"
seta vm_cgame "0"
seta vm_game "0"
seta vm_ui "0"
unbindall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/quake3/attachments/20050909/c0513fb8/attachment.pgp>


More information about the quake3 mailing list