View Issue Details

IDProjectCategoryView StatusLast Update
0002212AIAIpublic2010-11-10 20:30
Reporterabma Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0002212: kaik/engine crash in current master , with /cheat + /give all
Descriptionsee attached backtrace + infolog
Additional Information(gdb) bt
#0 0x00007ffff4656a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff465a5c0 in *__GI_abort () at abort.c:92
#2 0x00007ffff46904fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
0000003 0x00007ffff469a5b6 in malloc_printerr (action=3, str=0x7ffff476ab2e "malloc(): memory corruption", ptr=<value optimized out>) at malloc.c:6266
0000004 0x00007ffff469e6d8 in _int_malloc (av=0x7fffd4000020, bytes=1440) at malloc.c:4395
0000005 0x00007ffff469f58e in *__GI___libc_malloc (bytes=1440) at malloc.c:3660
#6 0x00007ffff4f0b26d in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#7 0x000000000089b807 in CUnitLoader::LoadUnit (this=0x7fffd59a4090, ud=0x7fffd4d9ae00, pos=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at /home/abma/dev/spring/master/rts/Sim/Units/UnitLoader.cpp:124
#8 0x00000000004ada81 in CGame::ActionReceived (this=<value optimized out>, action=<value optimized out>, playernum=<value optimized out>)
    at /home/abma/dev/spring/master/rts/Game/SyncedGameCommands.cpp:230
#9 0x00000000004a4530 in CGame::ClientReadNet (this=0x7fffd4182b90) at /home/abma/dev/spring/master/rts/Game/NetCommands.cpp:953
0000010 0x00000000004e30fc in CGame::Update (this=0x7fffd4182b90) at /home/abma/dev/spring/master/rts/Game/Game.cpp:999
#11 0x00000000009352cb in SpringApp::Update (this=0x7fffde912cc0) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1065
0000012 0x000000000093c48c in SpringApp::Run (this=0x7fffde912cc0, argc=<value optimized out>, argv=0x7fffffffe7e8) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1198
0000013 0x0000000000940638 in MainFunc (argc=1, argv=0x7fffffffe7e8, ret=0x7fffffffe6fc) at /home/abma/dev/spring/master/rts/System/Main.cpp:54
0000014 0x00007ffff625db70 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
#15 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
TagsNo tags attached.
Attached Files
backtrace.log (Attachment missing)
infolog.txt (Attachment missing)

Relationships

related to 0002197 resolvedKloot KAIK SIGSEGV near end of game 

Activities

Kloot

2010-11-07 17:17

developer   ~0005844

quick note to self on how to reproduce:

1) start game against KAIK, mod BA 7.19, map Coast2Coast
2) wait until AI has loaded
3) /cheat
4) /give ajuno (as team 0)
5) crash in KAIK's CUnitHandler::IdleUnitUpdate

seems to be memory corruption in LosHandler related to ajuno LOS radii

Issue History

Date Modified Username Field Change
2010-11-07 14:44 abma New Issue
2010-11-07 14:44 abma File Added: backtrace.log
2010-11-07 14:45 abma File Added: infolog.txt
2010-11-07 14:45 abma Additional Information Updated
2010-11-07 17:11 Kloot Relationship added related to 0002197
2010-11-07 17:17 Kloot Note Added: 0005844
2010-11-10 20:30 Kloot Status new => resolved
2010-11-10 20:30 Kloot Resolution open => fixed
2010-11-10 20:30 Kloot Assigned To => Kloot