[quake3] Just a q...
Laurent Desnogues
laurent.desnogues at wanadoo.fr
Tue Dec 6 16:46:37 EST 2005
So this means I was right: int's are too big
anyway :)
Laurent
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,
>
More information about the quake3
mailing list