View Issue Details

IDProjectCategoryView StatusLast Update
0004008Spring engineGeneralpublic2013-09-23 03:24
Reporterabma Assigned TojK  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version95.0 
Summary0004008: (validation) failed assertion in LuaUtils.cpp:1036
Descriptionhttp://buildbot.springrts.com/builders/validationtests/builds/3572/steps/analyze%20core%20dumps/logs/stdio
Additional Information#0 0x00007f8ca9c74c55 in raise () from /lib64/libc.so.6
The program being debugged is not being run.
#0 0x00007f8ca9c74c55 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f8ca9c76408 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007f8ca9c6d972 in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
0000003 0x00007f8ca9c6da22 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
0000004 0x00000000007f52a6 in LuaUtils::ScopedDebugTraceBack::ScopedDebugTraceBack (this=0x7ffffeec1cc0, L=0xb0b3770) at ../../rts/Lua/LuaUtils.cpp:1036
No locals.
0000005 0x000000000076fc4a in CLuaRules::AllowWeaponTarget (this=0xb0b32e0, attackerID=8114, targetID=12928, attackerWeaponNum=0, attackerWeaponDefID=302, targetPriority=0x7ffffeec1d84) at ../../rts/Lua/LuaRules.cpp:949
        __PRETTY_FUNCTION__ = "bool CLuaRules::AllowWeaponTarget(unsigned int, unsigned int, unsigned int, unsigned int, float*)"
        ret = true
        __FUNCTION__ = "AllowWeaponTarget"
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 293, starttime = {static binder = {class_ = 0x1c5f540, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b15840 <spring_time::memberRegistrator>, name = 0x12600dd "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc5a2ac <spring_time::_ConstructInstance(void*)>, destructor = 0xc5a2d8 <spring_time::_DestructInstance(void*)>, nextBinder = 0x1b15760 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1b158f8 <spring_timemreg>, static hasVTable = false, x = 3813750633988861}, nameIterator = {first = 293, second = "Lua"}}, autoShowGraph = false, it = {first = 293, second = 1}}
        L = 0xb0b3770
        cmdStr = {str = "AllowWeaponTarget", hash = 1819030777}
        traceBack = {luaState = 0xb0b3770, errFuncIdx = -1}Python Exception <type 'exceptions.IndexError'> list index out of range:

#6 0x000000000059abcd in CGameHelper::GenerateWeaponTargets (weapon=0x11ef4750, lastTargetUnit=0xe773d90, targets=std::multimap with 1 elements) at ../../rts/Game/GameHelper.cpp:698
        targetLOSState = 15
        dist2D = 502.634216
        damageMul = 280
        targetUnit = 0xe773d90
        targetPriority = 5.31356668
        targPos = {static binder = {class_ = 0x1c5f1c0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b18560 <float3::memberRegistrator>, name = 0x1271ab4 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xcb59e2 <float3::_ConstructInstance(void*)>, destructor = 0xcb5a0e <float3::_DestructInstance(void*)>, nextBinder = 0x1b184e0 <float2::binder>}, static memberRegistrator = 0x1b18648 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 1690.38196, y = 184.292282, z = 2864.76489}, {r = 1690.38196, g = 184.292282, b = 2864.76489}, {x1 = 1690.38196, y1 = 184.292282, x2 = 2864.76489}, {s = 1690.38196, t = 184.292282, p = 2864.76489}, {xstart = 1690.38196, ystart = 184.292282, xend = 2864.76489}}}
        modRange = 536.465942
        rangeMul = 817.220581Python Exception <type 'exceptions.IndexError'> list index out of range:

        ui =
        allyTeamUnits = std::list
        t = 0
        qi = 182
        radius = 530
        pos = @0x11d7195c: {static binder = {class_ = 0x1c5f1c0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b18560 <float3::memberRegistrator>, name = 0x1271ab4 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xcb59e2 <float3::_ConstructInstance(void*)>, destructor = 0xcb5a0e <float3::_DestructInstance(void*)>, nextBinder = 0x1b184e0 <float2::binder>}, static memberRegistrator = 0x1b18648 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 1988.42371, y = 187.040192, z = 2460.02759}, {r = 1988.42371, g = 187.040192, b = 2460.02759}, {x1 = 1988.42371, y1 = 187.040192, x2 = 2460.02759}, {s = 1988.42371, t = 187.040192, p = 2460.02759}, {xstart = 1988.42371, ystart = 187.040192, xend = 2460.02759}}}
        aHeight = 216.621964
        paralyzer = false
        quads = std::vector of length 24, capacity 25 = {118, 119, 120, 121, 133, 134, 135, 136, 137, 149, 150, 151, 152, 153, 154, 165, 166, 167, 168, 169, 182, 183, 184, 185}
        attacker = 0x11d718e0
        heightMod = 0.200000003
        weaponDef = 0x55c56d0
        secDamage = 40
        tempNum = 8417
#7 0x0000000000bfedba in CWeapon::AutoTarget (this=0x11ef4750) at ../../rts/Sim/Weapons/Weapon.cpp:767
        targetsIt = <error reading variable targetsIt (Cannot access memory at address 0x20)>
        prevTargetUnit = 0x11ef4750
        goodTargetUnit = 0xc2015198c39142e8
        targets = std::multimap with 1 elements = {[18.3307705] = 0x1289f800}
        badTargetUnit = 0xc059ec <CWeapon::AllowWeaponTargetCheck()+210>
        nextTargetPos = {static binder = {class_ = 0x1c5f1c0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b18560 <float3::memberRegistrator>, name = 0x1271ab4 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xcb59e2 <float3::_ConstructInstance(void*)>, destructor = 0xcb5a0e <float3::_DestructInstance(void*)>, nextBinder = 0x1b184e0 <float2::binder>}, static memberRegistrator = 0x1b18648 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 2441.45288, y = 4095, z = 0}, {r = 2441.45288, g = 4095, b = 0}, {x1 = 2441.45288, y1 = 4095, x2 = 0}, {s = 2441.45288, t = 4095, p = 0}, {xstart = 2441.45288, ystart = 4095, xend = 0}}}
#8 0x0000000000bffff0 in CWeapon::SlowUpdate (this=0x11ef4750, noAutoTargetOverride=false) at ../../rts/Sim/Weapons/Weapon.cpp:926
No locals.
#9 0x0000000000bff289 in CWeapon::SlowUpdate (this=0x11ef4750) at ../../rts/Sim/Weapons/Weapon.cpp:837
No locals.
0000010 0x0000000000ba55f0 in CUnit::SlowUpdateWeapons (this=0x11d718e0) at ../../rts/Sim/Units/Unit.cpp:1011
        w = 0x11ef4750
        wi =
#11 0x0000000000ba548a in CUnit::SlowUpdate (this=0x11d718e0) at ../../rts/Sim/Units/Unit.cpp:988
No locals.
0000012 0x0000000000bc819d in CUnitHandler::Update (this=0x665c940) at ../../rts/Sim/Units/UnitHandler.cpp:310
        unit = 0x11d718e0
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 1580, starttime = {static binder = {class_ = 0x1c5f540, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b15840 <spring_time::memberRegistrator>, name = 0x12600dd "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc5a2ac <spring_time::_ConstructInstance(void*)>, destructor = 0xc5a2d8 <spring_time::_DestructInstance(void*)>, nextBinder = 0x1b15760 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1b158f8 <spring_timemreg>, static hasVTable = false, x = 3813750633799560}, nameIterator = {first = 1580, second = "Unit::SlowUpdate"}}, autoShowGraph = false, it = {first = 1580, second = 1}}
        n = 2
        __PRETTY_FUNCTION__ = "void CUnitHandler::Update()"
0000013 0x00000000005860aa in CGame::SimFrame (this=0x1ca53b0) at ../../rts/Game/Game.cpp:1564
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 796, starttime = {static binder = {class_ = 0x1c5f540, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b15840 <spring_time::memberRegistrator>, name = 0x12600dd "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc5a2ac <spring_time::_ConstructInstance(void*)>, destructor = 0xc5a2d8 <spring_time::_DestructInstance(void*)>, nextBinder = 0x1b15760 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1b158f8 <spring_timemreg>, static hasVTable = false, x = 3813750619477940}, nameIterator = {first = 796, second = "SimFrame"}}, autoShowGraph = false, it = {first = 796, second = 1}}
0000014 0x00000000006f8586 in CGame::ClientReadNet (this=0x1ca53b0) at ../../rts/Net/NetCommands.cpp:431
        msgProcTimeSpent = 0
        packet = {px = 0x7f15da0, pn = {pi_ = 0xee31470}}
        dataLength = 1
        allowMsgProcessing = true
        inbuf = 0x53997d0 "\002\024\343\016"
        packetCode = 2 '\002'
        simDrawRatio = 2.13437772
        msgProcStartTime = {static binder = {class_ = 0x1c5f540, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b15840 <spring_time::memberRegistrator>, name = 0x12600dd "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc5a2ac <spring_time::_ConstructInstance(void*)>, destructor = 0xc5a2d8 <spring_time::_DestructInstance(void*)>, nextBinder = 0x1b15760 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1b158f8 <spring_timemreg>, static hasVTable = false, x = 3813750619263080}
        __FUNCTION__ = "ClientReadNet"
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
        maxSimFPS = 181.036621
        minDrawFPS = 84.8193893
        msgProcTimeLimit = 10.0212936
#15 0x00000000005830f2 in CGame::Update (this=0x1ca53b0) at ../../rts/Game/Game.cpp:955
        timeNow = {static binder = {class_ = 0x1c5f540, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1b15840 <spring_time::memberRegistrator>, name = 0x12600dd "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc5a2ac <spring_time::_ConstructInstance(void*)>, destructor = 0xc5a2d8 <spring_time::_DestructInstance(void*)>, nextBinder = 0x1b15760 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1b158f8 <spring_timemreg>, static hasVTable = false, x = 3813750619252004}
        diffsecs = 0.603141785
#16 0x0000000000c70b74 in Threading::UpdateGameController (ac=0x1ca53b0) at ../../rts/System/Platform/Threading.cpp:348
        ret = false
#17 0x0000000000c80c46 in SpringApp::Update (this=0x7ffffeec3290) at ../../rts/System/SpringApp.cpp:967
        ret = 1
#18 0x0000000000c80e33 in SpringApp::Run (this=0x7ffffeec3290, argc=3, argv=0x7ffffeec3478) at ../../rts/System/SpringApp.cpp:1055
No locals.
#19 0x0000000000c526ed in Run (argc=3, argv=0x7ffffeec3478) at ../../rts/System/Main.cpp:64
        app = {cmdline = 0x1c4db70, binaryName = "/tmp/spring/tests/usr/local/bin/spring-headless"}
        ret = -1
        err = 0x4016cbe401a92600
0000020 0x0000000000c52c98 in main (argc=3, argv=0x7ffffeec3478) at ../../rts/System/Main.cpp:123
TagsNo tags attached.
Attached Files
infolog_cr.txt (Attachment missing)
bt_full_cr.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

has duplicate 0004013 resolvedjK crash in CLuaHandle::CollectGarbage 

Activities

abma

2013-09-18 01:44

administrator   ~0011628

sorry, no replays: http://springrts.com/dl/buildbot/validation/develop/94.1.1-1171-g34503c0//validation/%5Bvalidation%5D%7Bdevelop%7D94.1.1-1171-g34503c02013-09-17_22-42-13-dbg.7z

:-|

cleanrock

2013-09-21 11:53

reporter   ~0011640

I saw this now too:
[f=0000520] [Texture] Load S3O texture now (Flip Y Axis: no, Invert Team Alpha: no)
[f=0000524] [Texture] Load S3O texture now (Flip Y Axis: no, Invert Team Alpha: no)
[f=0000524] Player added point: Chicken Queen Grounded
spring: /home/johanr/my_projects/spring/rts/Lua/LuaUtils.cpp:1036: LuaUtils::ScopedDebugTraceBack::ScopedDebugTraceBack(lua_State*): Assertion `errFuncIdx >= 0' failed.


Spring 94.1.1-1178-gcc53afa develop (Debug)
Using game: Zero-K test-11447

On Tempest:
/give all 1
/give all

Attached bt full and infolog.

Issue History

Date Modified Username Field Change
2013-09-18 01:41 abma New Issue
2013-09-18 01:41 abma Target Version => 95.0
2013-09-18 01:44 abma Note Added: 0011628
2013-09-21 11:53 cleanrock Note Added: 0011640
2013-09-21 11:54 cleanrock File Added: infolog_cr.txt
2013-09-21 11:54 cleanrock File Added: bt_full_cr.txt
2013-09-23 03:24 jK Relationship added has duplicate 0004013
2013-09-23 03:24 jK Status new => resolved
2013-09-23 03:24 jK Resolution open => fixed
2013-09-23 03:24 jK Assigned To => jK