Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [doctest] doctest version is "2.3.1"
- [doctest] run with "--help" for options
- ===============================================================================
- [doctest] test cases: 6 | 6 passed | 0 failed | 0 skipped
- [doctest] assertions: 1003 | 1003 passed | 0 failed |
- [doctest] Status: SUCCESS!
- =================================================================
- ==4645==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000000020 at pc 0x7f27204665ca bp 0x7ffc5c258320 sp 0x7ffc5c258310
- WRITE of size 8 at 0x606000000020 thread T0
- #0 0x7f27204665c9 in buf_push<mn::memory::Interface*, mn::memory::Interface*> /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/include/mn/Buf.h:311
- #1 0x7f27204665c9 in mn::allocator_push(mn::memory::Interface*) /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/src/mn/Memory.cpp:55
- #2 0x7f27206d1476 in loom::Main_Worker_Wrapper::~Main_Worker_Wrapper() /media/hedyla/Development/Symbyo/New-DPS/external/loom/loom/src/loom/Group.cpp:91
- #3 0x7f271fb0d614 in __cxa_finalize (/lib/x86_64-linux-gnu/libc.so.6+0x43614)
- #4 0x7f27206cd292 (/media/hedyla/Development/Symbyo/New-DPS/external/loom/build/bin/RelWithDebInfo/libloom.so+0x2292)
- 0x606000000020 is located 0 bytes inside of 64-byte region [0x606000000020,0x606000000060)
- freed by thread T0 here:
- #0 0x7f27209b37b8 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xde7b8)
- #1 0x7f272046555b in mn::memory::CLib::free(mn::Block) /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/src/mn/memory/CLib.cpp:19
- #2 0x7f271fb0d8ae in __call_tls_dtors (/lib/x86_64-linux-gnu/libc.so.6+0x438ae)
- previously allocated by thread T0 here:
- #0 0x7f27209b3b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
- #1 0x7f2720465463 in mn::memory::CLib::alloc(unsigned long, unsigned char) /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/src/mn/memory/CLib.cpp:11
- #2 0x7f27204664cd in alloc_from /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/include/mn/Memory.h:55
- #3 0x7f27204664cd in buf_reserve<mn::memory::Interface*> /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/include/mn/Buf.h:233
- #4 0x7f27204664cd in buf_push<mn::memory::Interface*, mn::memory::Interface*> /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/include/mn/Buf.h:309
- #5 0x7f27204664cd in mn::allocator_push(mn::memory::Interface*) /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/src/mn/Memory.cpp:55
- #6 0x7f27206cce18 in loom::Main_Worker_Wrapper::Main_Worker_Wrapper() /media/hedyla/Development/Symbyo/New-DPS/external/loom/loom/src/loom/Group.cpp:68
- #7 0x7f27206cce18 in __static_initialization_and_destruction_0 /media/hedyla/Development/Symbyo/New-DPS/external/loom/loom/src/loom/Group.cpp:104
- #8 0x7f27206cce18 in _GLOBAL__sub_I_Group.cpp /media/hedyla/Development/Symbyo/New-DPS/external/loom/loom/src/loom/Group.cpp:426
- #9 0x7f27218a0732 (/lib64/ld-linux-x86-64.so.2+0x10732)
- SUMMARY: AddressSanitizer: heap-use-after-free /media/hedyla/Development/Symbyo/New-DPS/external/loom/mn/mn/include/mn/Buf.h:311 in buf_push<mn::memory::Interface*, mn::memory::Interface*>
- Shadow bytes around the buggy address:
- 0x0c0c7fff7fb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 0x0c0c7fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 0x0c0c7fff7fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 0x0c0c7fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 0x0c0c7fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- =>0x0c0c7fff8000: fa fa fa fa[fd]fd fd fd fd fd fd fd fa fa fa fa
- 0x0c0c7fff8010: 00 00 00 00 00 00 00 fa fa fa fa fa fd fd fd fd
- 0x0c0c7fff8020: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fa
- 0x0c0c7fff8030: fa fa fa fa fd fd fd fd fd fd fd fa fa fa fa fa
- 0x0c0c7fff8040: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
- 0x0c0c7fff8050: fd fd fd fa fa fa fa fa fd fd fd fd fd fd fd fa
- 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
- Freed heap region: fd
- Stack left redzone: f1
- Stack mid redzone: f2
- Stack right redzone: f3
- Stack after return: f5
- Stack use after scope: f8
- Global redzone: f9
- Global init order: f6
- Poisoned by user: f7
- Container overflow: fc
- Array cookie: ac
- Intra object redzone: bb
- ASan internal: fe
- Left alloca redzone: ca
- Right alloca redzone: cb
- ==4645==ABORTING
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement