Civil / OpenJK

Community effort to maintain and improve Jedi Academy + Jedi Outcast released by Raven Software
GNU General Public License v2.0
0 stars 0 forks source link

SIGABRT at G_ReflectMissile #2

Open Civil opened 8 years ago

Civil commented 8 years ago
Program received signal SIGABRT, Aborted.
0x00007ffff6abe528 in raise () from /lib64/libc.so.6
(gdb) backtrace
#0  0x00007ffff6abe528 in raise () from /lib64/libc.so.6
#1  0x00007ffff6abf97a in abort () from /lib64/libc.so.6
#2  0x00007ffff6ab7417 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff6ab74c2 in __assert_fail () from /lib64/libc.so.6
#4  0x00007fffe2538bce in G_ReflectMissile (ent=0x7fffe2b5a960 <g_entities>, missile=0x7fffe2bf78a0 <g_entities+642880>, forward=0x7fffffff3570) at /home/civil/src/OpenJK/codeJK2/game/g_missile.cpp:269
#5  0x00007fffe258fe50 in WP_SaberInFlightReflectCheck (self=0x7fffe2b5a960 <g_entities>, ucmd=0x7fffffff797c) at /home/civil/src/OpenJK/codeJK2/game/wp_saber.cpp:3795
#6  0x00007fffe25948a2 in WP_SaberUpdate (self=0x7fffe2b5a960 <g_entities>, ucmd=0x7fffffff797c) at /home/civil/src/OpenJK/codeJK2/game/wp_saber.cpp:5310
#7  0x00007fffe2508b34 in ClientThink_real (ent=0x7fffe2b5a960 <g_entities>, ucmd=0x7fffffff797c) at /home/civil/src/OpenJK/codeJK2/game/g_active.cpp:2702
#8  0x00007fffe2509b36 in ClientThink (clientNum=0, ucmd=0x7fffffff797c) at /home/civil/src/OpenJK/codeJK2/game/g_active.cpp:3030
#9  0x0000000000471682 in SV_ClientThink (cl=0x2298a30, cmd=0x7fffffff797c) at /home/civil/src/OpenJK/code/server/sv_client.cpp:399
#10 0x0000000000471b4b in SV_UserMove (cl=0x2298a30, msg=0x7fffffff7e20) at /home/civil/src/OpenJK/code/server/sv_client.cpp:520
#11 0x0000000000471c02 in SV_ExecuteClientMessage (cl=0x2298a30, msg=0x7fffffff7e20) at /home/civil/src/OpenJK/code/server/sv_client.cpp:565
#12 0x000000000047545e in SV_PacketEvent (from=..., msg=0x7fffffff7e20) at /home/civil/src/OpenJK/code/server/sv_main.cpp:348
#13 0x000000000044a6a1 in Com_RunAndTimeServerPacket (evFrom=0x7fffffff7e40, buf=0x7fffffff7e20) at /home/civil/src/OpenJK/code/qcommon/common.cpp:815
#14 0x000000000044a816 in Com_EventLoop () at /home/civil/src/OpenJK/code/qcommon/common.cpp:854
#15 0x000000000044b3af in Com_Frame () at /home/civil/src/OpenJK/code/qcommon/common.cpp:1369
#16 0x00000000004c0a34 in main (argc=1, argv=0x7fffffffd828) at /home/civil/src/OpenJK/shared/sys/sys_main.cpp:789
(gdb) frame 4
#4  0x00007fffe2538bce in G_ReflectMissile (ent=0x7fffe2b5a960 <g_entities>, missile=0x7fffe2bf78a0 <g_entities+642880>, forward=0x7fffffff3570) at /home/civil/src/OpenJK/codeJK2/game/g_missile.cpp:269
269                     assert( !Q_isnan(missile->s.pos.trDelta[0])&&!Q_isnan(missile->s.pos.trDelta[1])&&!Q_isnan(missile->s.pos.trDelta[2]));
(gdb) info local
bounce_dir = {-nan(0x7f3620), -nan(0x7f3620), -nan(0x7f3620)}
i = 3
speed = 437.499969
reflected = 0
owner = 0x7fffe2b5a960 <g_entities>
__PRETTY_FUNCTION__ = "void G_ReflectMissile(gentity_t*, gentity_t*, float*)"
(gdb) print missile->s.pos.trDeltra[0]
There is no member named trDeltra.
(gdb) print missile->s.pos
$1 = {trType = TR_GRAVITY, trTime = 132994, trDuration = 0, trBase = {139.751968, -1975.83911, -467.010193}, trDelta = {-nan(0x7f3620), -nan(0x7f3620), -nan(0x7f3620)}}
(gdb) print missile->s.pos.trDelta
$2 = {-nan(0x7f3620), -nan(0x7f3620), -nan(0x7f3620)}
(gdb) frame 5
#5  0x00007fffe258fe50 in WP_SaberInFlightReflectCheck (self=0x7fffe2b5a960 <g_entities>, ucmd=0x7fffffff797c) at /home/civil/src/OpenJK/codeJK2/game/wp_saber.cpp:3795
3795                                            G_ReflectMissile( self, missile_list[x], forward );
(gdb) print missile_list[x]
$3 = (gentity_t *) 0x7fffe2bf78a0 <g_entities+642880>
(gdb) print x
$4 = 0
(gdb) info local
x = 0
fx_dir = {0, 1, 0}
ent = 0x7fffe2ba8ae0 <g_entities+319872>
entityList = {0x7fffe2ba4160 <g_entities+301056>, 0x7fffe2b90f20 <g_entities+222656>, 0x7fffe2c9c880 <g_entities+1318688>, 0x7fffe2c75de0 <g_entities+1160320>, 0x7fffe2c9c260 <g_entities+1317120>, 0x7fffe2c9bc40 <g_entities+1315552>, 
  0x7fffe2c21440 <g_entities+813792>, 0x7fffe2c9f980 <g_entities+1331232>, 0x7fffe2c98b40 <g_entities+1303008>, 0x7fffe2c9e720 <g_entities+1326528>, 0x7fffe2bf78a0 <g_entities+642880>, 0x7fffe2bf7280 <g_entities+641312>, 
  0x7fffe2bf6c60 <g_entities+639744>, 0x7fffe2bf6640 <g_entities+638176>, 0x7fffe2c9e100 <g_entities+1324960>, 0x7fffe2bf6020 <g_entities+636608>, 0x7fffe2b78100 <g_entities+120736>, 0x7fffe2c9b620 <g_entities+1313984>, 
  0x7fffe2c9b000 <g_entities+1312416>, 0x7fffe2c9a9e0 <g_entities+1310848>, 0x7fffe2c9a3c0 <g_entities+1309280>, 0x7fffe2c99da0 <g_entities+1307712>, 0x7fffe2c99780 <g_entities+1306144>, 0x7fffe2c72ce0 <g_entities+1147776>, 
  0x7fffe2bf3540 <g_entities+625632>, 0x7fffe2b5a960 <g_entities>, 0x7fffe2c9dae0 <g_entities+1323392>, 0x7fffe2c9cea0 <g_entities+1320256>, 0x7fffe2b92180 <g_entities+227360>, 0x7fffe2bf8b00 <g_entities+647584>, 0x7fffe2bf2f20 <g_entities+624064>, 
  0x7fffe2ba8ae0 <g_entities+319872>, 0xc3f3f000ffffffff, 0x7fffffff36f0, 0x7fffffff3780, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x3f80000000000000, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff380c, 0x7fffffff3800, 0x3f80000000000000, 0x0, 0x1183960 <cmg>, 0x7fffffff3800, 0x4496455a448c08a7, 0x0, 0x6c672e6c65646f6d, 0x7fffffff3d1c, 
  0x3b72640, 0x3966638, 0x7fffffff37c0, 0x7fffffff3924, 0x7d, 0x4a4b480e6903bd00, 0x7fffffff37e0, 0x7fffffff37a0, 0x7fffffff3930, 0x7fffffff4730, 0x7fffffff3d70, 
  0x4474cf <CM_BoxTrace(trace_t*, float const*, float const*, float const*, float const*, int, int)+2083>, 0x3d243d4, 0x4d3928 <vec3_origin>, 0x4d3928 <vec3_origin>, 0x7fffffff4730, 0x3d243d4, 0x7fffffff3e20, 0x0, 0x300000000, 0x1183960 <cmg>, 
  0x1ea58a0, 0x0, 0x0, 0xc500f6fe42c08a71, 0x43322accc3e3dcc0, 0xc3f3f000c5026232, 0x0 <repeats 17 times>, 0xc502623242c08a71, 0x43322accc3f3f000, 0xc3e3dcc0c500f6fe, 0x0, 0x0, 0x0, 0x0, 0x800000000000, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
  0x3f80000000000000, 0xc502623243322acc, 0xc3f3f000, 0x0, 0x0, 0x0, 0x0, 0xffff34c0ffffffff, 0x0, 0x157428dda90, 0x47c35000022acec0, 0x7fffffffffff, 0x47a30b <SV_AreaEntities(float const*, float const*, gentity_s**, int)+92>, 0x40000000000, 
  0x47c35000ffff42d0, 0x7fffffffffff, 0x7fffffff6360, 0x7fffffff6360, 0x47c35000ffff636c, 0x7fffffffffff, 0x7, 0x7d, 0x47c35000e2b5a960, 0x7fffffffffff, 0x47a431 <SV_ClipMoveToEntities(moveclip_t*)+150>, 0x1d50f8a010d91f06, 0x47c35000ffff6360, 
  0x906e0000ffffffff, 0x8d04a0000011, 0x81ac000000000007, 0x47c3500080000023, 0xffffffff, 0x2403000000047, 0x7fffe2c9a3c0 <g_entities+1309280>, 0x47c3500080000091, 0x27800000ffffffff, 0x9318c00000125, 0x6580000049cc7800, 0x47c3500000000250, 
  0xcc800000ffffffff, 0x258668000004ac, 0xf70000012d338000, 0x47c3500000000971, 0x80000002ffffffff, 0xffffffff47c35000, 0x58000004cd8a8000, 0x47c350000000268c, 0x8000009ffffffff, 0x270c88000004dd9, 0xf000001396520000, 0x47c3500000009d33, 
  0x60000027ffffffff, 0xffffffff47c35000, 0x8000004fda280000, 0x47c35000000280d1, 0x800000a1ffffffff, 0x288d280000050da4, 0x14569600000, 0x47c35000000a334c, 0x290ffffffff, 0xffffffff47c35000, 0xffff380000000000, 0x47c3500047c35000, 
  0xe2b90f20ffffffff, 0xe2c75de000007fff, 0xe2c9c88000007fff, 0x47c3500000007fff, 0xe2c9bc40ffffffff, 0xffffffff47c35000, 0xe2c9b62000007fff, 0x47c3500047c35000, 0xe2c9a9e0ffffffff, 0xe2c9a3c000007fff, 0xe2c98b4000007fff, 0x47c3500000007fff, 
  0xe2c99da0ffffffff, 0xffffffff47c35000, 0xe2c9978000007fff, 0x47c3500047c35000, 0xe2bf6640ffffffff, 0xe2bf602000007fff, 0xe2b7810000007fff, 0x47c3500000007fff, 0xe2b5a960ffffffff, 0xffffffff47c35000, 0xe2c9cea000007fff, 0x47c3500047c35000, 
  0xe2b92180ffffffff, 0xe2bf8b0000007fff, 0xe2bf2f2000007fff, 0x47c3500000007fff, 0xe2ba8ae0ffffffff, 0xffffffff47c35000, 0x6903bd0000007fff, 0x47c3500047c35000, 0xffff36f0ffffffff, 0xffff378000007fff, 0x4466da00007fff...}
missile_list = {0x7fffe2bf78a0 <g_entities+642880>, 0x7fffe2bf6020 <g_entities+636608>, 0x458104184581b5e4, 0xf8d10e7240400000, 0xff2fffb9f573054b, 0xffffffff47c35000, 0x3b73460, 0x39ef050, 0x23cb1710211e1143, 0x268f1407238915e0, 0x1cca0bed233f118f, 
  0x4a4b480e6903bd00, 0x3a21140531c80f8d, 0x7fffffff5650, 0x7fffffff56e0, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x1206fda60ac10547, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 0x3f80000000000000, 0xe100000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x45a1041845a1b5e4, 0xf306089c40400000, 
  0xf408fd0cefd404f0, 0xf1e2f0bef3f5f54a, 0x3b73450, 0x39ef028, 0x7bc1546113e0cdf, 0xf3290eccfc1214b9, 0xf9b90ce3f0bf0c71, 0x4a4b480e6903bd00, 0xd580da90be50c12, 0x7fffffff5700, 0x7fffffff5790, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0xc53fec41b01011d, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 
  0x3f80000000000000, 0xe000000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x45c1041845c1b5e4, 0x455f9c140400000, 0x671fc230ed8ffb4, 0xfb9aeb64fb02f17e, 0x3b73440, 0x39ef000, 0xfcc1c160cca1a84, 0x7d819070eb71b4e, 0x4da090504b21313, 0x4a4b480e6903bd00, 
  0xfac0ec2ff6ffee99, 0x7fffffff57b0, 0x7fffffff5840, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0xeef10a09e7e007c5, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 0x3f80000000000000, 0xdf00000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x45e1041845e1b5e4, 0x13bf80740400000, 
  0xfb61fa26fb7bfb9b, 0x2edf30dfd14f621, 0x3b73430, 0x39eefd8, 0xf11cf854e969f845, 0xfba5fea1f28dfb61, 0xfa37f25d0207fa7e, 0x4a4b480e6903bd00, 0xfba9fba7f881f3ef, 0x7fffffff5860, 0x7fffffff58f0, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x4810a7607c40ba9, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 
  0x3f80000000000000, 0xde00000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x4600820c4600daf2, 0xd248016f40400000, 0xd613f5f5c732fd44, 0xeb970129e4cef653, 0x3b73420, 0x3969540, 0xd5bfeb63cc1fdd7b, 0xf8910fcaec1700e0, 0xd32f0424e93f0f1f, 
  0x4a4b480e6903bd00, 0xde7000caf8730266, 0x7fffffff5910, 0x7fffffff59a0, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0xe962f685edfcf848, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 0x3f80000000000000, 0xdd00000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x4610820c4610daf2, 0xfc0a110e40400000, 
  0xee061113f2c617ce, 0xefd404b9eaed078a, 0x3b73410, 0x39659b8, 0x48a072d076908dd, 0xf8f008f8fb770772, 0xd63159101c60eac, 0x4a4b480e6903bd00, 0xc5efabf08d600c8, 0x7fffffff59c0, 0x7fffffff5a50, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0xd85df6ead4f8f9ec, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 
  0x3f80000000000000, 0xdc00000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x4620820c4620daf2, 0xf5a322e240400000, 0xf2c912a1f4a61a8c, 0x8a4029afbd80aba, 0x3b73400, 0x39567b0, 0x1599f60e13a5ea07, 0xf703131108e407ad, 0xfa5008c2f3551280, 0x4a4b480e6903bd00, 
  0x19d011591454099d, 0x7fffffff5a70, 0x7fffffff5b00, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x1edf1b2410131656, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 0x3f80000000000000, 0xdb00000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0x4630820c4630daf2, 0x19a3e44940400000, 
  0xd61e62f0d20e0b3, 0xeae3ef1034e87d, 0x3b733f0, 0x3956698, 0xf868f5dff6e6ebeb, 0x2b3f5020087f9d6, 0xfabded96fe09ed76, 0x4a4b480e6903bd00, 0x167becff1432f730, 0x7fffffff5b20, 0x7fffffff5bb0, 
  0x44675b <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+899>, 0xf9e1129ef1871e24, 0x44675b <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+899>, 0x7fffffff5d9c, 0x7fffffff5d90, 
  0x3f80000000000000, 0x200000000, 0x1183960 <cmg>, 0x7fffffff5d90, 0xc459a570c45c80e5, 0x2c39f2bc40400000, 0xff97ee28183bf146, 0xf9c9f347f514edc3, 0x3b72660, 0x3965da0, 0x4483fc0044840400, 0x42000000, 0x702f736c65646f6d, 0x4a4b480e6903bd00, 
  0x3b748a0, 0x7fffffff5bd0, 0x7fffffff5c60, 0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x1183960 <cmg>, 
  0x4466da <CM_TraceThroughTree(traceWork_s*, clipMap_t*, int, float, float, float*, float*)+770>, 0x7fffffff5d9c, 0x7fffffff5d90, 0x3f80000000000000, 0x100000000, 0x1183960 <cmg>, 0x7fffffff5d90...}
numListedEntities = 32
mins = {-26.5849457, -2195.48804, -645.831909}
maxs = {333.415039, -1835.48804, -285.83194}
i = 3
e = 32
ent_count = 2
radius = 180
center = {153.415054, -2015.48804, -465.83194}
forward = {-nan(0x7f3620), 4.59163468e-41, 6.28189069e-39}
tip = {187.957245, -1987.78284, -465.895416}
up = {0, 0, 1}
saberent = 0x7fffe2c21440 <g_entities+813792>
(gdb) quit
A debugging session is active.

        Inferior 1 [process 13031] will be killed.

Quit anyway? (y or n) y