Closed ghost closed 8 years ago
see e4753fcb7d37ea0c41ec1ed3d5fa61c11269353f - I found no way to reproduce this.
got this on in tutorial 1 map of cavepacker while undoing without ever doing a step to undo.
INFO: (LOG_UI): Display text 'tutorial0001' for 3000 ms
INFO: (LOG_SERVER): move player 28 from 1:1 to 10:-2
=================================================================
==7129== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6006002af968 at pc 0x5cd1a0 bp 0x7fffc9715af0 sp 0x7fffc9715ae8
READ of size 1 at 0x6006002af968 thread T0
#0 0x5cd19f (/home/mattn/dev/caveexpress/cavepacker+0x5cd19f)
#1 0x5c4023 (/home/mattn/dev/caveexpress/cavepacker+0x5c4023)
#2 0x5ecaa8 (/home/mattn/dev/caveexpress/cavepacker+0x5ecaa8)
#3 0x5c9174 (/home/mattn/dev/caveexpress/cavepacker+0x5c9174)
#4 0x5ca9ce (/home/mattn/dev/caveexpress/cavepacker+0x5ca9ce)
#5 0x5c9c66 (/home/mattn/dev/caveexpress/cavepacker+0x5c9c66)
#6 0x5a5290 (/home/mattn/dev/caveexpress/cavepacker+0x5a5290)
#7 0x6107c5 (/home/mattn/dev/caveexpress/cavepacker+0x6107c5)
#8 0x610eb5 (/home/mattn/dev/caveexpress/cavepacker+0x610eb5)
#9 0x5c17e0 (/home/mattn/dev/caveexpress/cavepacker+0x5c17e0)
#10 0x7f34c70edec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4)
#11 0x57e7e8 (/home/mattn/dev/caveexpress/cavepacker+0x57e7e8)
0x6006002af968 is located 8 bytes to the left of 27-byte region [0x6006002af970,0x6006002af98b)
allocated by thread T0 here:
#0 0x7f34c8d9581a (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0x1181a)
#1 0x5e663c (/home/mattn/dev/caveexpress/cavepacker+0x5e663c)
#2 0x5e620e (/home/mattn/dev/caveexpress/cavepacker+0x5e620e)
#3 0x5e5c6a (/home/mattn/dev/caveexpress/cavepacker+0x5e5c6a)
#4 0x5e56c5 (/home/mattn/dev/caveexpress/cavepacker+0x5e56c5)
#5 0x5e5dd0 (/home/mattn/dev/caveexpress/cavepacker+0x5e5dd0)
#6 0x5e5782 (/home/mattn/dev/caveexpress/cavepacker+0x5e5782)
#7 0x5e548e (/home/mattn/dev/caveexpress/cavepacker+0x5e548e)
#8 0x5e42be (/home/mattn/dev/caveexpress/cavepacker+0x5e42be)
#9 0x5c63d5 (/home/mattn/dev/caveexpress/cavepacker+0x5c63d5)
#10 0x5a5c24 (/home/mattn/dev/caveexpress/cavepacker+0x5a5c24)
#11 0x6122f3 (/home/mattn/dev/caveexpress/cavepacker+0x6122f3)
#12 0x622924 (/home/mattn/dev/caveexpress/cavepacker+0x622924)
#13 0x749574 (/home/mattn/dev/caveexpress/cavepacker+0x749574)
#14 0x7492e5 (/home/mattn/dev/caveexpress/cavepacker+0x7492e5)
#15 0x710cfd (/home/mattn/dev/caveexpress/cavepacker+0x710cfd)
#16 0x6b6525 (/home/mattn/dev/caveexpress/cavepacker+0x6b6525)
#17 0x6bc503 (/home/mattn/dev/caveexpress/cavepacker+0x6bc503)
#18 0x6bbe33 (/home/mattn/dev/caveexpress/cavepacker+0x6bbe33)
#19 0x683b7c (/home/mattn/dev/caveexpress/cavepacker+0x683b7c)
#20 0x683a1f (/home/mattn/dev/caveexpress/cavepacker+0x683a1f)
#21 0x6ae99d (/home/mattn/dev/caveexpress/cavepacker+0x6ae99d)
#22 0x667416 (/home/mattn/dev/caveexpress/cavepacker+0x667416)
#23 0x730997 (/home/mattn/dev/caveexpress/cavepacker+0x730997)
#24 0x72e5e3 (/home/mattn/dev/caveexpress/cavepacker+0x72e5e3)
#25 0x60e75d (/home/mattn/dev/caveexpress/cavepacker+0x60e75d)
#26 0x6102e4 (/home/mattn/dev/caveexpress/cavepacker+0x6102e4)
#27 0x610eb5 (/home/mattn/dev/caveexpress/cavepacker+0x610eb5)
#28 0x5c17e0 (/home/mattn/dev/caveexpress/cavepacker+0x5c17e0)
#29 0x7f34c70edec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4)
Shadow bytes around the buggy address:
0x0c014004ded0: fd fd fa fa fd fd fd fd fa fa fd fd fd fd fa fa
0x0c014004dee0: fd fd fd fd fa fa fd fd fd fd fa fa fd fd fd fd
0x0c014004def0: fa fa fd fd fd fd fa fa 00 00 00 05 fa fa fd fd
0x0c014004df00: fd fd fa fa fd fd fd fd fa fa 00 00 00 02 fa fa
0x0c014004df10: fd fd fd fd fa fa fd fd fd fa fa fa fd fd fd fa
=>0x0c014004df20: fa fa fd fd fd fd fa fa fd fd fd fd fa[fa]00 00
0x0c014004df30: 00 03 fa fa fd fd fd fd fa fa fd fd fd fd fa fa
0x0c014004df40: fd fd fd fd fa fa 00 00 00 02 fa fa 00 00 00 02
0x0c014004df50: fa fa fd fd fd fd fa fa fd fd fd fd fa fa fd fd
0x0c014004df60: fd fd fa fa fd fd fd fd fa fa fd fd fd fd fa fa
0x0c014004df70: fd fd fd fd fa fa fd fd fd fd fa fa fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap righ redzone: fb
Freed Heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
ASan internal: fe
==7129== ABORTING