On 16/01/11 23:54, Simon McVittie wrote:
> On Wed, 15 Dec 2010 at 11:17:22 +0000, Daniel Piddock wrote:
>> I've been experiencing seg faults of the quake server using openarena from
>> experimental (0.8.5-5+exp2). I recompiled both with DEB_BUILD_OPTIONS="noopt
>> nostrip" and run with:
>> OPENARENA_BACKTRACE=1 /usr/games/openarena-server +exec debian_server.cfg
> Hi,
> Thanks for testing the experimental openarena! Unfortunately, the openarena
> wrapper script in revision -5+exp2 handled OPENARENA_BACKTRACE incorrectly.
> Please try the attached script instead (or upgrade to -5+exp3, but you'd
> need to rebuild it with nostrip again for useful results).

Hi,

ioquake has crashed again on oa_dm1 using the new script and gdb
generated some data, although it was 3 lines later at be_aas_route.c:1863.
if (aasworld.areasettings[testareanum].contents & stopcontents)

Dan

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com

          Item: 3 weapon_rocketlauncher
]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000468a93 in AAS_PredictRoute (route=0x7fffffffd060, areanum=497, 
origin=0x7fffed24df18, goalareanum=2, travelflags=18616254, maxareas=100, 
maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, stopareanum=0) 
at code/b
otlib/be_aas_route.c:1863
1863    code/botlib/be_aas_route.c: No such file or directory.
        in code/botlib/be_aas_route.c

Thread 1 (process 1996):
#0  0x0000000000468a93 in AAS_PredictRoute (route=0x7fffffffd060, areanum=497, 
origin=0x7fffed24df18, goalareanum=2, travelflags=18616254, maxareas=100, 
maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, stopareanum=0) 
at co
de/botlib/be_aas_route.c:1863
        curareanum = 759
        reachnum = 994
        i = 4
        j = 0
        testareanum = 53543636
        curorigin = {-276, 852, -119.875}
        reach = 0x7fffee39d7c0
        reachareas = 0x7ffff5f5fa98
#1  0x000000000040c879 in SV_GameSystemCalls (args=0x7fffffffce50) at 
code/server/sv_game.c:525
No locals.
#2  0x0000000000445507 in VM_DllSyscall (arg=576) at code/qcommon/vm.c:353
        args = {576, 140737488343136, 497, 140737172004632, 2, 18616254, 
3472609778985861220, 1000, -4294967290, 140733193389056, 140733260496896, 
140733193388032, 6298758252, 433791685152, 8608550846, 140737172004632}
        i = 16
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffffffcff0, reg_save_area = 0x7fffffffcee0}}
#3  0x00007fffecfe8a2e in trap_AAS_PredictRoute (route=0x7fffffffd060, 
areanum=497, origin=0x7fffed24df18, goalareanum=2, travelflags=18616254, 
maxareas=100, maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, 
stopareanum=0) at code/game/g_syscalls.c:357
No locals.
#4  0x00007fffecf8ca81 in BotAIPredictObstacles (bs=0x7fffed24cbe4, 
goal=0x7fffffffd220) at code/game/ai_dmq3.c:4658
        modelnum = 0
        entitynum = -316355612
        bspent = 32767
        activategoal = {inuse = 0, goal = {origin = {0, 0, 0}, areanum = 0, 
mins = {0, 0, 0}, maxs = {0, 0, 0}, entitynum = 0, number = 0, flags = 0, 
iteminfo = 0}, time = 0, start_time = 0, justused_time = 0, shoot = 0, weapon = 
0, target = {0, 0, 0}, origin = {0, 0, 2.1019477e-44}, areas = {0 <repeats 32 
times>}, numareas = 16, areasdisabled = 0, next = 0x3f77777743340000}
        route = {endpos = {-276, 852, -119.875}, endarea = 759, stopevent = 0, 
endcontents = 0, endtravelflags = 2, numareas = 0, time = 646}
#5  0x00007fffecf7b47c in AINode_Seek_LTG (bs=0x7fffed24cbe4) at 
code/game/ai_dmnet.c:1986
        goal = {origin = {1049, 1286, 72.25}, areanum = 2, mins = {-13, -13, 
-13}, maxs = {13, 13, 13}, entitynum = 172, number = 202, flags = 5, iteminfo = 
32}
        target = {0, 0, 0}
        dir = {0, 0, 0}
        moveresult = {failure = 0, type = 0, blocked = 0, blockentity = 0, 
traveltype = 0, flags = 0, weapon = 0, movedir = {0, 0, 0}, ideal_viewangles = 
{0, 0, 0}}
        range = 0
#6  0x00007fffecf8e552 in BotDeathmatchAI (bs=0x7fffed24cbe4, 
thinktime=0.100000001) at code/game/ai_dmq3.c:5372
        gender = "\227\340\362?", '\000' <repeats 28 times>"\340, 
\327\377\377\377\177\000\000*\207\376\354\377\177\000\000\000\000\000\000\000\000\000\000\030\337$\355\377\177\000\000@\330\377\377\377\177\000\000O\017\370\354\377\177\000\000P\330\377\377\361\001\000\000\030\337$\355\377\177\000\000\364\313$\355\377\177\000\000\343\362\370\354\377\177\000\000@\330\377\377\377\177\000\000\067\206\376\354\377\177\000\000\364\313$\355\377\177\000\000(\217\376\354\000\004\000"
        name = 
"`\330\377\377\377\177\000\000\030\337$\355\377\177\000\000\207SD\000\000\000\000\000\000\004\000\000\000\000\000\000\207SD",
 '\000' <repeats 13 times>, 
"\001\000\000\006\377\177\000\000\000\000\000\000\377\177\000\000\220\334\377\377\377\177\000\000/+\373\354\020\000\000\000\277#0D\242~\236D\002\000\000\000\000\000\000\000`\330\377\377\377\177\000\000\000\004\000\000\000\000\000\000\207SD",
 '\000' <repeats 21 times>"\260, +\232\367\377\177\000"
        buf = 
"3\001\000\000\000\000\000\000\030\337$\355\377\177\000\000\207SD\000\000\000\000\000\000\004\000\000\000\000\000\000\207SD",
 '\000' <repeats 21 times>, 
"\030\337$\355\377\177\000\000@\330\377\377\377\177\000\000O\017\370\354\377\177\000\000P\330\377\377_\001\000\000\030\337$\355\377\177\000\000\364\313$\355\377\177\000\000\343\362\370\354\377\177\000\000@\330\377\377\377\177\000\000\067\206\376\354\377\177\000\000\364\313$\355\377\177\000\000(\217\376\354\020\000\000"
        userinfo = 
"\020\323\377\377\377\177\000\000HbB\000\000\000\000\000\340\033\273\365\377\177\000\000\270ɼ\365\000\000\000\000\002\000\341A\002\000\337A\314\326\377\377\377\177\000\000\300\326\377\377\377\177\000\000\000\000\000\000\000\000\200?\000\000\000\000\021\000\000\000\300\326\377\377\377\177\000\000\000\000p\301\000\000\340\301\000\000p\301\000\000\000\000\020\034\273\365\377\177\000\000\250\343\274\365\377\177\000\000\004qgìRg\303\000\000\000\000\000\000\200?\000\000\000\000\r\000\000\000\300\324\377\377\377\177\000\000\240\323\377\377\377\177\000\000\362aB\000\000\000\000\000\320\033\273\365\377\177\000\000Hռ\365\000\000\000\000\370\354\062C\370\354\062C\314\326\377\377\377\177\000\000\300\326\377\377\377\177\000\000\000\000\000\000\000\000\200?\000\000\000\000\020\000\000\000\300\326\377\377\377\177\000\000\000\000\000\000\000\000\200?5\317TD\000\000\000\000\000\034\273\365\377\177\000\000\230\337\274\365\377\177\000\000\374\216
 CT\255 
C\000\000\000\000\000\000\200?\000\000\000\000\001\000\000\000\300\324\377\377\377\177\000\000\060\324\377\377\377\177\000\000\362aB\000\000\000\000\000"...
        i = 1
#7  0x00007fffecf91c55 in BotAI (client=2, thinktime=0.100000001) at 
code/game/ai_main.c:1060
        bs = 0x7fffed24cbe4
        buf = 
"\001\000\000\006\377\177\000\000\000\000\000\000\377\177\000\000\220\334\377\377\377\177\000\000/+\373\354\377\177\000\000\340D)\355\377\177\000\000\324D)\355\377\177\000\000\bE)\355\377\177\000\000\320\334\377\377\377\177\000\000\277\343/D\242^\236D\000\000\000>Uk0D\222\272\236DLp9@\324D)\355\377\177\000\000\340D)\355\377\177\000\000\bE)\355\377\177\000\000U+0D\242~\236D\227\340\362?\000\000\000\000\000\000\000\000\000\000\200?U+0D\242~\236D\227\340\362?",
 '\000' <repeats 28 times>"\377, 
\003\000\000\000\000\000\000\000\001\071\355\377\177\000\000\000\001\071\355\377\177\000\000
 
C\227\000\205k\223C\205k\223C\377\177\000\000ɳ@\000\205k\223C\320\332\377\377\377\177\000\000\036\304@\000\000\000\000\000\340\332\377\377\377\177\000\000ɳ@\000\000\000\000\000\360\332\377\377\377\177\000\000\253\303@\000\000\000\000\000\rTD\000\000\000\000\000\340\331\377\377\377\177\000\000\004",
 '\000' <repeats 15 times>, "2\001\000\000\000\000\000\000\205"...
        args = 0x7fffffffdc90 "@\335\377\377\377\177"
        j = 3
#8  0x00007fffecf931ee in BotAIStartFrame (time=294920) at 
code/game/ai_main.c:1569
        i = 2
        ent = 0x7fffed35f908
        state = {type = 100663297, flags = 294880, origin = {-3.52973519e+27, 
4.59163468e-41, -3.23326502e+27}, angles = {4.59163468e-41, -3.23326502e+27, 
4.59163468e-41}, old_origin = {-3.23326502e+27, 4.59163468e-41, 
4.20389539e-45}, mins = {5.60519386e-44, -nan(0x7fdd20), 4.59163468e-41}, maxs 
= {0, 4.59163468e-41, -nan(0x7fdd20)}, groundent = 32767, solid = 19, 
modelindex = 14, modelindex2 = -8928, frame = 32767, event = -319383564, 
eventParm = 2, powerups = -8928, weapon = 32767, legsAnim = -318866346, 
torsoAnim = 32767}
        elapsed_time = 40
        thinktime = 100
        local_time = 294920
        botlib_residual = 80
        lastbotthink_time = 100
#9  0x00007fffecf66af7 in vmMain (command=10, arg0=294920, arg1=353102, 
arg2=32, arg3=16843009, arg4=-168568928, arg5=0, arg6=-8304, arg7=4268441, 
arg8=196901025, arg9=0, arg10=0, arg11=40) at code/game/g_main.c:426
No locals.
#10 0x000000000044626a in VM_Call (vm=0x9b4500, callnum=10) at 
code/qcommon/vm.c:779
        args = {294920, 353102, 32, 16843009, -168568928, 0, -8304, 4268441, 
196901025, 0}
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffffffdf80, reg_save_area = 0x7fffffffde70}}
        oldVM = 0x9b4500
        r = 429440895025153
        i = 10
#11 0x0000000000403d79 in SV_BotFrame (time=294920) at code/server/sv_bot.c:436
No locals.
#12 0x0000000000412199 in SV_Frame (msec=39) at code/server/sv_main.c:1106
        frameMsec = 40
        startTime = 0
#13 0x000000000042caa3 in Com_Frame () at code/qcommon/common.c:3041
        msec = 39
        minMsec = 1
        key = -2027669113
        timeBeforeFirstEvents = 0  
        timeBeforeServer = 0
        timeBeforeEvents = 0
        timeBeforeClient = 0
        timeAfter = 0
        lastTime = 196901025
#14 0x00000000004930e5 in main (argc=24, argv=0x7fffffffe558) at 
code/sys/sys_main.c:592
        i = 24
        commandLine = "\000set com_standalone 1 \000set fs_basegame baseoa 
\000set fs_basepath /usr/lib/games/openarena \000set fs_homepath 
\"/var/games/openarena-server/.openarena\" \000set protocol 71 \000set 
sv_master1 dpmaster.deathmask.ne"...
Kill the program being debugged? (y or n) [answered Y; input not from terminal]

Reply via email to