Update of bug #22341 (project freeciv):

                  Status:                    None => Confirmed              
                 Release:               SVN@25382 => trunk r25382           
         Planned Release:                         => 2.6.0                  

    _______________________________________________________

Follow-up Comment #1:

Reproduced with trunk r25582 and a slightly simpler scenario:

Attached (unremarkable, classic ruleset) savegame. Then issue


/lua cmd print(find.tile(62,31):has_base('Stoat'))


Top of backtrace:


#0  base_extra_get (pbase=0x0) at base.c:272
No locals.
#1  0x000000000068001e in api_methods_tile_has_base (L=<optimised out>, 
    ptile=0x17a1e60, name=<optimised out>) at api_game_methods.c:586
        pbase = <optimised out>
        __FUNCTION__ = "api_methods_tile_has_base"
#2  0x00000000006788f3 in tolua_game_Tile_has_base00 (tolua_S=0x1398830)
    at tolua_game_gen.c:1202
        tolua_ret = <optimised out>
        L = 0x1398830
        self = 0x17a1e60
        name = <optimised out>
#3  tolua_game_Tile_has_base00 (tolua_S=0x1398830) at tolua_game_gen.c:1185
        tolua_err = {index = 20547632, array = 0, type = 0x1a12400 "`\210g"}
#4  0x000000000047fc82 in luaD_precall (L=0x1398830, func=<optimised out>, 
    nresults=-1) at ldo.c:319
        f = 0x678860 <tolua_game_Tile_has_base00>
        ci = <optimised out>
        n = <optimised out>
        funcr = <optimised out>
        __PRETTY_FUNCTION__ = "luaD_precall"
#5  0x000000000048a164 in luaV_execute (L=0x1398830) at lvm.c:709
        b = <optimised out>
        nresults = -1
        i = <optimised out>
        ra = 0x1a12400
        ci = 0x1350340
        cl = 0x1a121e0
        k = 0x1a1cca0
        base = 0x1a123f0
[snip]


    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to