1

Topic: assertion failed --- "id error" in snap_new_id()

The server crashed with the following backtrace:

[48fa0e71][game]: rotating map to dm1
[48fa0e71][datafile]: datafile loading. filename='data/maps/dm1.map'
[48fa0e71][server]: data/maps/dm1.map crc is e6991fb3
[48fa0e71][datafile]: loading data index=10 size=325
[48fa0e71][game]: -- Death Match --
[48fa0e71][assert]: /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/engine/server/es_server.c(165): id error

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c3d990 (LWP 32263)]
0x0805634e in dbg_break () at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/engine/e_system.c:73
73              *((unsigned*)0) = 0x0;
(gdb) bt full
#0  0x0805634e in dbg_break () at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/engine/e_system.c:73
No locals.
#1  0x08056344 in dbg_assert_imp (filename=0x807b8a0 "/home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/engine/server/es_server.c", line=165, test=0, msg=0x807b91b "id error")
    at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/engine/e_system.c:67
No locals.
#2  0x08057ade in snap_new_id () at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/engine/server/es_server.c:165
        id = -1
        now = 1224347249665791
#3  0x08064f9b in entity (this=0x84b2db8, objtype=4) at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/game/server/gs_server.cpp:182
No locals.
#4  0x08064fe7 in powerup (this=0x84b2db8, _type=0, _subtype=0) at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/game/server/gs_server.cpp:1811
No locals.
#5  0x08068bf2 in gameobject::on_entity (this=0x8495df0, index=7, pos={{x = 1264, u = 1264}, {y = 656, v = 656}}) at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/game/server/gs_game.cpp:83
        ppower = (class powerup *) 0x84b2d78
        type = 0
        subtype = 0
#6  0x08065332 in mods_init () at /home/k/teeworlds/0.4.3-rrcon/teeworlds-0.4.3-src/src/game/server/gs_server.cpp:2492
        index = 7
        pos = {{x = 1264, u = 1264}, {y = 656, v = 656}}
        x = 39
        y = 20
        tmap = (._52 *) 0x84d2dd8
        tiles = (._48 *) 0x84afc8c

I'm running my own mod (rrcon), but I think that's unrelated. Any hints, opinions or missing information? I couldn't reproduce this yet, will report back if I get another one.

Sorry for my bad English, I'm a dumbass from Germany who says "fuck school!!111" and does not give a damn about readability in public forums.

2

Re: assertion failed --- "id error" in snap_new_id()

http://www.teeworlds.com/forum/viewtopi … 281#p24281

*closed* we don't leave support for mods

3

Re: assertion failed --- "id error" in snap_new_id()

Try using the vanilla version, no support is given for mods, sorry.

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites