URL:
  <http://gna.org/bugs/?9504>

                 Summary: Projectile crash in first map of cam2
                 Project: Warzone Resurrection Project
            Submitted by: per
            Submitted on: Saturday 07/14/2007 at 19:32
                Category: Campaign
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn
        Operating System: All

    _______________________________________________________

Details:

error   : gridStartIterate: coords off grid
error   : Assert in Warzone: mapgrid.c:267 : gridStartIterate ((x >= 0) && (x
< gridWidth*GRID_UNITS) && (y >= 0) && (y < gridHeight*GRID_UNITS)), last
script event: 'regionGroupsEvnt'
warzone2100: mapgrid.c:267: gridStartIterate: Assertion `(x >= 0) && (x <
gridWidth*(8 * (1<<7))) && (y >= 0) && (y < gridHeight*(8 * (1<<7)))'
failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912498405792 (LWP 27611)]
0x00000030aa4305c5 in raise () from /lib64/libc.so.6
(gdb) bt full
#0  0x00000030aa4305c5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000030aa432070 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00000030aa429a0f in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#3  0x00000000004857c1 in gridStartIterate (x=63721, y=9562) at
mapgrid.c:265
        __FUNCTION__ = "gridStartIterate"
        __PRETTY_FUNCTION__ = "gridStartIterate"
#4  0x0000000000531beb in projGetNaybors (psObj=0x209d440) at
projectile.c:2315
        xdiff = 0
        ydiff = 13
        dx = 63721
        dy = 9562
        distSqr = 27
        psTempObj = (BASE_OBJECT *) 0x20a4800
        __PRETTY_FUNCTION__ = "projGetNaybors"
#5  0x0000000000530154 in proj_Update (psObj=0x209d440) at projectile.c:1760
        __PRETTY_FUNCTION__ = "proj_Update"
#6  0x00000000005301ba in proj_UpdateAll () at projectile.c:1788
        psObj = (PROJECTILE *) 0x209d440
        psPrev = (PROJECTILE *) 0x7
#7  0x0000000000480e0f in gameLoop () at loop.c:417

(gdb) p gridWidth
$1 = 16
(gdb) p gridHeight
$2 = 16

#4  0x0000000000531beb in projGetNaybors (psObj=0x209d440) at
projectile.c:2315
2315            gridStartIterate((SDWORD)dx, (SDWORD)dy);
(gdb) p *psObj
$3 = {type = OBJ_PROJECTILE, id = 48, x = 63721, y = 9562, z = 220, direction
= 86.0364227, pitch = 30, roll = 0, psNext = 0x1a5b4d0, state = 0 '\0', 
  airTarget = 0 '\0', player = 2 '\002', bVisible = 1 '\001', psWStats =
0x46c0298, psSource = 0x2e259e0, psDest = 0x20a2f40, psDamaged = 0x0, 
  startX = 4294965481, startY = 9562, tarX = 12300, tarY = 10540, vXY = 3495,
vZ = 2017, srcHeight = 220, altChange = -17, born = 9310912, 
  targetRadius = 41, died = 0, pInFlightFunc = 0x52c470
<proj_InFlightIndirectFunc>}
(gdb) p *psObj->psDest
$4 = {type = OBJ_DROID, id = 4503, x = 12370, y = 10649, z = 202, direction =
213.325195, pitch = -18, roll = 12, psNext = 0x20a2b20, sDisplay = {
    imd = 0x462a6e0, frameNumber = 2676, screenX = 16204, screenY = 33,
screenR = 10}, player = 0 '\0', group = 1 '\001', selected = 0 '\0', 
  cluster = 2 '\002', visible = {255 '�', 0 '\0', 255 '�', 0 '\0', 0
'\0', 0 '\0', 0 '\0', 0 '\0'}, died = 0, lastEmission = 0, inFire = 0,
burnStart = 0, 
  burnDamage = 0}
(gdb) p *psObj->psSource
$5 = {type = OBJ_STRUCTURE, id = 4471, x = 12736, y = 9536, z = 194,
direction = 0, pitch = 0, roll = 0, psNext = 0x2e258b0, sDisplay = {imd =
0x4568450, 
    frameNumber = 2676, screenX = 20149, screenY = 4294967255, screenR =
4286348412}, player = 2 '\002', group = 141 '\215', selected = 0 '\0', 
  cluster = 3 '\003', visible = {255 '�', 0 '\0', 255 '�', 0 '\0', 0
'\0', 0 '\0', 0 '\0', 0 '\0'}, died = 0, lastEmission = 0, inFire = 0,
burnStart = 0, 
  burnDamage = 0}





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9504>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to