mrragava / mystikos

Tools and runtime for launching unmodified container images in Trusted Execution Environments
0 stars 0 forks source link

setup/bin/fuzz-exec-linux - AddressSanitizer CHECK failed: /home/oe-llvm/compiler-rt/lib/enclaveasan/../enclave_sanitizer_common/sanitizer_allocator_secondary.h:104 #48

Open mrragava opened 2 years ago

mrragava commented 2 years ago

Files

Repro

onefuzz --endpoint https://mystikosonefuzz400instance.azurewebsites.net repro create_and_connect oft-unique-reports-8c0776a1cd2554e59330754697a8f4a5 774f18ab4501ea196374549b442fe1740b44beb4a33931ea577cfd7275a993c8.json

Call Stack

#1 0x7fffab42946f in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /home/oe-llvm/compiler-rt/lib/enclave_sanitizer_common/sanitizer_termination.cc:86:5
#2 0x7fffab36e5e9 in __sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback, __sanitizer::LargeMmapAllocatorPtrArrayDynamic, __sanitizer::LocalAddressSpaceView>::Allocate(__sanitizer::AllocatorStats*, unsigned long, unsigned long) /home/oe-llvm/compiler-rt/lib/enclaveasan/../enclave_sanitizer_common/sanitizer_allocator_secondary.h:104:5
#3 0x7fffab36b8e3 in __sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<__asan::AP64<__sanitizer::LocalAddressSpaceView> >, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64<__sanitizer::LocalAddressSpaceView> > >, __sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback, __sanitizer::LargeMmapAllocatorPtrArrayDynamic, __sanitizer::LocalAddressSpaceView>, __sanitizer::LocalAddressSpaceView>::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64<__sanitizer::LocalAddressSpaceView> > >*, unsigned long, unsigned long) /home/oe-llvm/compiler-rt/lib/enclaveasan/../enclave_sanitizer_common/sanitizer_allocator_combined.h:75:24
#4 0x7fffab36b8e3 in __asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_allocator.cc:453
#5 0x7fffab36bf7a in __asan::asan_realloc(void*, unsigned long, __sanitizer::BufferedStackTrace*) /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_allocator.cc:885:36
#6 0x7fffab40c081 in __interceptor_realloc /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_malloc_linux.cc:166:10
#7 0x7fffab597f8d in myst_buf_reserve /home/runner/work/mystikos/mystikos/utils/buf.c:59:45
#8 0x7fffab598182 in myst_buf_resize /home/runner/work/mystikos/mystikos/utils/buf.c:81:9
#9 0x7fffab47eccc in _fs_pwrite /home/runner/work/mystikos/mystikos/kernel/ramfs.c:1286:17
#10 0x7fffab458768 in _fs_pwrite /home/runner/work/mystikos/mystikos/kernel/lockfs.c:253:11
#11 0x7fffab4d228e in myst_syscall_pwrite /home/runner/work/mystikos/mystikos/kernel/syscall.c:926:19
#12 0x7fffab4f054e in _syscall /home/runner/work/mystikos/mystikos/kernel/syscall.c:3419:13
#13 0x7fffab5b814a in __morestack /home/runner/work/mystikos/mystikos/utils/callonstack.s:42
#14 0x7fffab4ece17 in myst_syscall /home/runner/work/mystikos/mystikos/kernel/syscall.c:6503:11

ASAN Log

INFO: Loaded 1 modules   (7967 guards): 7967 [0x9b4a20, 0x9bc69c), 
setup/bin/fuzz-exec-linux: Running 1 inputs 1 time(s) each.
Running: /tmp/.tmpILAEbq/oom-7e8014f3333b9fcd2da62f113fcc25b49a4920da
fopen: No such file or directory
Couldn't read pid_max from proc
mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 68

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 60

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 20

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 13

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 49

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 42

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 39

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 68

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 63

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 43

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 33

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 44

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 19

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 5

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 29

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 67

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 63

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 57

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 14

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 46

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 37

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 44

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 52

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 25

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 16

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 53

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 34

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 32

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 56

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 58

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 16

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 10

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 30

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 1

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 68

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 33

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 8388612

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 47

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 42

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 26

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 23

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 21

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 63

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 6

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 3

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 53

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 15

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 9

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 50

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 67

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: -2147483616

mytikos: err: udsdev.c(1260): _udsdev_setsockopt(): unsupported optname: 48

mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 8: AF_ATMPVC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 9: AF_X25
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 12: AF_DECnet
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 12: AF_DECnet
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 26: AF_LLC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 26: AF_LLC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 16: AF_NETLINK
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 20: AF_ATMSVC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 24: AF_PPPOX
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 26: AF_LLC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 26: AF_LLC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 29: AF_CAN
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 29: AF_CAN
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 30: AF_TIPC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 30: AF_TIPC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 30: AF_TIPC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 31: AF_BLUETOOTH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 33: AF_RXRPC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 35: AF_PHONET
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 35: AF_PHONET
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 35: AF_PHONET
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 35: AF_PHONET
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 41: AF_KCM
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 41: AF_KCM
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 42: AF_QIPCRTR
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 0: AF_UNSPEC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 44: AF_XDP
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 37: AF_CAIF
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 23: AF_IRDA
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 28: AF_MPLS
Can't do protocol WANPIPE
Can't do protocol ECONET
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 28: AF_MPLS
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 21: AF_RDS
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 11: AF_ROSE
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 43: AF_SMC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 26: AF_LLC
Can't do protocol UNSPEC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 37: AF_CAIF
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 6: AF_NETROM
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 9: AF_X25
Can't do protocol ECONET
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 26: AF_LLC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 32: AF_IUCV
Can't do protocol WANPIPE
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 40: AF_VSOCK
Can't do protocol ASH
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 38: AF_ALG
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 15: AF_KEY
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 9: AF_X25
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 39: AF_NFC
mytikos: err: sockdev.c(921): myst_sockdev_resolve(): unsupported socket domain: 44: AF_XDP
==101==AddressSanitizer CHECK failed: /home/oe-llvm/compiler-rt/lib/enclaveasan/../enclave_sanitizer_common/sanitizer_allocator_secondary.h:104 "((IsAligned(map_beg, page_size_))) != (0)" (0x0, 0x0)
    #0 0x7fffab413dd8 in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_rtl.cc:54:5
    #1 0x7fffab42946f in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /home/oe-llvm/compiler-rt/lib/enclave_sanitizer_common/sanitizer_termination.cc:86:5
    #2 0x7fffab36e5e9 in __sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback, __sanitizer::LargeMmapAllocatorPtrArrayDynamic, __sanitizer::LocalAddressSpaceView>::Allocate(__sanitizer::AllocatorStats*, unsigned long, unsigned long) /home/oe-llvm/compiler-rt/lib/enclaveasan/../enclave_sanitizer_common/sanitizer_allocator_secondary.h:104:5
    #3 0x7fffab36b8e3 in __sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<__asan::AP64<__sanitizer::LocalAddressSpaceView> >, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64<__sanitizer::LocalAddressSpaceView> > >, __sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback, __sanitizer::LargeMmapAllocatorPtrArrayDynamic, __sanitizer::LocalAddressSpaceView>, __sanitizer::LocalAddressSpaceView>::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64<__sanitizer::LocalAddressSpaceView> > >*, unsigned long, unsigned long) /home/oe-llvm/compiler-rt/lib/enclaveasan/../enclave_sanitizer_common/sanitizer_allocator_combined.h:75:24
    #4 0x7fffab36b8e3 in __asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_allocator.cc:453
    #5 0x7fffab36bf7a in __asan::asan_realloc(void*, unsigned long, __sanitizer::BufferedStackTrace*) /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_allocator.cc:885:36
    #6 0x7fffab40c081 in __interceptor_realloc /home/oe-llvm/compiler-rt/lib/enclaveasan/asan_malloc_linux.cc:166:10
    #7 0x7fffab597f8d in myst_buf_reserve /home/runner/work/mystikos/mystikos/utils/buf.c:59:45
    #8 0x7fffab598182 in myst_buf_resize /home/runner/work/mystikos/mystikos/utils/buf.c:81:9
    #9 0x7fffab47eccc in _fs_pwrite /home/runner/work/mystikos/mystikos/kernel/ramfs.c:1286:17
    #10 0x7fffab458768 in _fs_pwrite /home/runner/work/mystikos/mystikos/kernel/lockfs.c:253:11
    #11 0x7fffab4d228e in myst_syscall_pwrite /home/runner/work/mystikos/mystikos/kernel/syscall.c:926:19
    #12 0x7fffab4f054e in _syscall /home/runner/work/mystikos/mystikos/kernel/syscall.c:3419:13
    #13 0x7fffab5b814a in __morestack /home/runner/work/mystikos/mystikos/utils/callonstack.s:42
    #14 0x7fffab4ece17 in myst_syscall /home/runner/work/mystikos/mystikos/kernel/syscall.c:6503:11
    #15 0x7fffe98ee9ca  (<unknown module>)
    #16 0x7fffe9934566  (<unknown module>)
    #17 0x7fffe99347ec  (<unknown module>)
    #18 0x7fffe8a0bcdc  (<unknown module>)
mrragava commented 2 years ago

Duplicate found.

mrragava commented 2 years ago

Duplicate found.

mrragava commented 2 years ago

Duplicate found.

mrragava commented 2 years ago

Duplicate found.

mrragava commented 2 years ago

Duplicate found.