[quake3] Just a q...
Nightmare
nightmare at int13h.com
Tue Dec 19 09:33:39 EST 2006
I get this exact issue on IRIX (mips) when spawning a bot in the game. My debugger makes it to that line too botlib/l_precomp.c:1800
PC_EvaluateTokens(source = 0x10c510d0, tokens = 0x10cc087c, intvalue = 0x0, floatvalue = 0x7ffedc50, integer = 0) ["l_precomp.c":1800, 0x1010ab4c]
v->floatvalue = t->floatvalue;
Values :
v->floatvalue = 7.89921175592437700e-227
t->floatvalue = 0.00000000000000000e+00
Using version : 1.33_SVN1013M
Cheers,
Dave
On Tue, 6 Dec 2005 22:30:12 +0100 (CET)
vincent at cojot.name wrote:
> On Tue, 6 Dec 2005, Ludwig Nussel wrote:
>
> > Why didn't I come to this conclusion? :-)
>
> :)
>
> > Please check whether the attached patch fixes it. It uses memcpy
> > instead of the strange double* cast.
>
> Your patch fixes it!!! :) I can now bring up the UI of the optimized (-O1)
> release on Solaris/Sparc!!! :)
>
> That's what I like about Solaris on Sparc, it usually makes code crash
> where none has crashed before (no wonder they provide /usr/lib/0 at 0.so.1 to
> try to make it more friendly.. :) :) :) :) ).
>
> It still crashes when starting a game, though:
>
> Program received signal SIGSEGV, Segmentation fault.
> PC_EvaluateTokens (source=0xb7ff18, tokens=0xc, intvalue=0x0, floatvalue=0xffbfc4d8, integer=0) at ../botlib/l_precomp.c:1800
> 1800 v->floatvalue = t->floatvalue;
> (gdb) bt
> #0 PC_EvaluateTokens (source=0xb7ff18, tokens=0xc, intvalue=0x0, floatvalue=0xffbfc4d8, integer=0) at ../botlib/l_precomp.c:1800
> #1 0x000d1734 in PC_DollarEvaluate (source=0xb7ff18, intvalue=0x0, floatvalue=0xffbfc4d8, integer=0) at ../botlib/l_precomp.c:2325
> #2 0x000d1c8c in PC_DollarDirective_evalfloat (source=0xb7ff18) at ../botlib/l_precomp.c:2586
> #3 0x000d1dec in PC_ReadDollarDirective (source=0xb7ff18) at ../botlib/l_precomp.c:2641
> #4 0x000d1f00 in PC_ReadToken (source=0xb7ff18, token=0xffbfd330) at ../botlib/l_precomp.c:2735
> #5 0x000d2400 in PC_ExpectAnyToken (source=0xb7ff18, token=0xffbfd330) at ../botlib/l_precomp.c:2870
> #6 0x000cb020 in ReadValue (source=0xb7ff18, value=0xbeedbc) at ../botlib/be_ai_weight.c:63
> #7 0x000cb10c in ReadFuzzyWeight (source=0xb7ff18, fs=0xbeedb0) at ../botlib/be_ai_weight.c:89
> #8 0x000cb4d0 in ReadFuzzySeperators_r (source=0xb7ff18) at ../botlib/be_ai_weight.c:215
> #9 0x000cb50c in ReadFuzzySeperators_r (source=0xb7ff18) at ../botlib/be_ai_weight.c:223
> #10 0x000cb938 in ReadWeightConfig (filename=0x1c71cb4 "bots/phobos_i.c") at ../botlib/be_ai_weight.c:369
> #11 0x000c1988 in BotLoadItemWeights (goalstate=9, filename=0x1c71cb4 "bots/phobos_i.c") at ../botlib/be_ai_goal.c:1697
> #12 0x000825fc in SV_GameSystemCalls (args=0x1c71c9c) at ../server/sv_game.c:743
> #13 0x00094ef8 in VM_CallInterpreted (vm=0x955eb8, args=0xffbfebb0) at ../qcommon/vm_interpreted.c:548
> #14 0x00094324 in VM_Call (vm=0x955eb8, callnum=9) at ../qcommon/vm.c:769
> #15 0x00082e74 in SV_GameCommand () at ../server/sv_game.c:971
> #16 0x0005a624 in Cmd_ExecuteString (text=0xffbfed58 "addbot phobos 1.000000 free 2000") at ../qcommon/cmd.c:667
> #17 0x00059cdc in Cbuf_Execute () at ../qcommon/cmd.c:220
> #18 0x0005e564 in Com_Frame () at ../qcommon/common.c:2736
> #19 0x00126dc0 in main (argc=16, argv=0xffbff6bc) at ../unix/unix_main.c:1414
>
> Best regards,
>
> --
> ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
> Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
> Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
> Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
> http://step.polymtl.ca/~coyote _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name
>
> They cannot scare me with their empty spaces
> Between stars - on stars where no human race is
> I have it in me so much nearer home
> To scare myself with my own desert places. - Robert Frost
>
>
>
More information about the quake3
mailing list