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

                 Summary: Assert in droid.c "Illegal reference to droid"
                 Project: Warzone Resurrection Project
            Submitted by: skellr
            Submitted on: Tuesday 01/01/2008 at 06:22
                Category: Engine: Scripting
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn/trunk
        Operating System: GNU/Linux
         Planned Release: None

    _______________________________________________________

Details:

Enemy cyborg was destroyed by Rotary MG bunker or Inferno bunker. The sound
effects of the exploding cyborg and the inferno flame happened at/about the
same time when it triggered.

>From stdout:
error   : Illegal reference to droid from aiUpdateStructure line 3003
error   : Assert in Warzone: droid.c:301 : droidCheckReferences (!"Illegal
reference to droid"), last script event: '15 (CALL_DROID_DESTROYED)'
warzone2100: droid.c:301: droidCheckReferences: Assertion `!"Illegal
reference to droid"' failed.

=============================
#7  0xb7c4207e in *__GI___assert_fail (
    assertion=0x81f7543 "!\"Illegal reference to droid\"", 
    file=0x81f734c "droid.c", line=301, 
    function=0x81f74ec "droidCheckReferences") at assert.c:78
        buf = 0xcad3728 "P\021
P\021
        assertion = 0x6 <Address 0x6 out of bounds>
        file = 0x6 <Address 0x6 out of bounds>
        line = 6
        function = 0x81f74ec "droidCheckReferences"
#8  0x0807bf0d in droidCheckReferences (psVictimDroid=0xc9b5788)
    at droid.c:300
        psStruct = (STRUCTURE *) 0xc99ce08
        psDroid = (DROID *) 0x0
        plr = 1
        i = 0
        __FUNCTION__ = "droidCheckReferences"
        __PRETTY_FUNCTION__ = "droidCheckReferences"
#9  0x080eb859 in objmemDestroy (psObj=0xc9b5788) at objmem.c:99
        __FUNCTION__ = "objmemDestroy"
        __PRETTY_FUNCTION__ = "objmemDestroy"
#10 0x080eb9d3 in objmemUpdate () at objmem.c:153
        psCurr = (BASE_OBJECT *) 0x0
        psNext = (BASE_OBJECT *) 0x0
        psPrev = (BASE_OBJECT *) 0x0
#11 0x080c7e9e in gameLoop () at loop.c:422
        psCurr = (DROID *) 0x0
        psNext = (DROID *) 0x0
        psCBuilding = (STRUCTURE *) 0x0
        psNBuilding = (STRUCTURE *) 0x0
        psCFeat = (FEATURE *) 0x0
        psNFeat = (FEATURE *) 0x0
        i = 8
        widgval = 1
        quitting = 0
        intRetVal = INT_NONE
        clearMode = 3
        __FUNCTION__ = "gameLoop"
        __PRETTY_FUNCTION__ = "gameLoop"
#12 0x080c98b3 in runGameLoop () at main.c:578
No locals.
#13 0x080c9c3b in mainLoop () at main.c:744
        event = {type = 4 '\004', active = {type = 4 '\004', gain = 0 '\0', 
    state = 0 '\0'}, key = {type = 4 '\004', which = 0 '\0', state = 0 '\0',

    keysym = {scancode = 195 '
', sym = 1, mod = KMOD_NONE, unicode = 0}}, 
  motion = {type = 4 '\004', which = 0 '\0', state = 0 '\0', x = 195, 
    y = 212, xrel = 1, yrel = 0}, button = {type = 4 '\004', which = 0 '\0',

    button = 0 '\0', state = 0 '\0', x = 195, y = 212}, jaxis = {
    type = 4 '\004', which = 0 '\0', axis = 0 '\0', value = 195}, jball = {
    type = 4 '\004', which = 0 '\0', ball = 0 '\0', xrel = 195, yrel = 212},

  jhat = {type = 4 '\004', which = 0 '\0', hat = 0 '\0', value = 0 '\0'}, 
  jbutton = {type = 4 '\004', which = 0 '\0', button = 0 '\0', 
    state = 0 '\0'}, resize = {type = 4 '\004', w = 13893827, h = 1}, 
  expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = {
    type = 4 '\004', code = 13893827, data1 = 0x1, data2 = 0x0}, syswm = {
    type = 4 '\004', msg = 0xd400c3}}
#14 0x080ca0be in main (argc=1, argv=0xbfad1674) at main.c:932
        psPaletteBuffer = (PIELIGHT *) 0x0
        pSize = 768



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tuesday 01/01/2008 at 06:22  Name: droid.c:301-warzone2100.gdmp  Size:
9kB   By: skellr

<http://gna.org/bugs/download.php?file_id=3480>

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to