==12635== Memcheck, a memory error detector ==12635== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==12635== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==12635== Command: discord ==12635== ==12635== Invalid write of size 8 ==12635== at 0x6FDEF14: elf_machine_rela_relative (dl-machine.h:541) ==12635== by 0x6FDEF14: elf_dynamic_do_Rela (do-rel.h:112) ==12635== by 0x6FDEF14: _dl_relocate_object (dl-reloc.c:254) ==12635== by 0x6FD6CA1: dl_main (rtld.c:2257) ==12635== by 0x6FEB3A1: _dl_sysdep_start (dl-sysdep.c:253) ==12635== by 0x6FD4EE3: _dl_start_final (rtld.c:447) ==12635== by 0x6FD4EE3: _dl_start (rtld.c:537) ==12635== by 0x6FD4097: ??? (in /lib64/ld-2.30.so) ==12635== Address 0xa0d02d98 is not stack'd, malloc'd or (recently) free'd ==12635== ==12635== ==12635== Process terminating with default action of signal 11 (SIGSEGV) ==12635== Access not within mapped region at address 0xA0D02D98 ==12635== at 0x6FDEF14: elf_machine_rela_relative (dl-machine.h:541) ==12635== by 0x6FDEF14: elf_dynamic_do_Rela (do-rel.h:112) ==12635== by 0x6FDEF14: _dl_relocate_object (dl-reloc.c:254) ==12635== by 0x6FD6CA1: dl_main (rtld.c:2257) ==12635== by 0x6FEB3A1: _dl_sysdep_start (dl-sysdep.c:253) ==12635== by 0x6FD4EE3: _dl_start_final (rtld.c:447) ==12635== by 0x6FD4EE3: _dl_start (rtld.c:537) ==12635== by 0x6FD4097: ??? (in /lib64/ld-2.30.so) ==12635== If you believe this happened as a result of a stack ==12635== overflow in your program's main thread (unlikely but ==12635== possible), you can try to increase the size of the ==12635== main thread stack using the --main-stacksize= flag. ==12635== The main thread stack size used in this run was 8388608. ==12635== Invalid read of size 8 ==12635== at 0x9469D1E: _nl_locale_subfreeres (in /lib64/libc-2.30.so) ==12635== by 0x9469BB8: free_mem (in /lib64/libc-2.30.so) ==12635== by 0x946A2D9: __libc_freeres (in /lib64/libc-2.30.so) ==12635== by 0x77FE68E: _vgnU_freeres (in /usr/lib64/valgrind/vgpreload_core-amd64-linux.so) ==12635== by 0x1FFEFFF65F: ??? ==12635== by 0x6FD6CA1: dl_main (rtld.c:2257) ==12635== by 0x6FEB3A1: _dl_sysdep_start (dl-sysdep.c:253) ==12635== by 0x6FD4EE3: _dl_start_final (rtld.c:447) ==12635== by 0x6FD4EE3: _dl_start (rtld.c:537) ==12635== by 0x6FD4097: ??? (in /lib64/ld-2.30.so) ==12635== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==12635== ==12635== ==12635== Process terminating with default action of signal 11 (SIGSEGV) ==12635== Access not within mapped region at address 0x0 ==12635== at 0x9469D1E: _nl_locale_subfreeres (in /lib64/libc-2.30.so) ==12635== by 0x9469BB8: free_mem (in /lib64/libc-2.30.so) ==12635== by 0x946A2D9: __libc_freeres (in /lib64/libc-2.30.so) ==12635== by 0x77FE68E: _vgnU_freeres (in /usr/lib64/valgrind/vgpreload_core-amd64-linux.so) ==12635== by 0x1FFEFFF65F: ??? ==12635== by 0x6FD6CA1: dl_main (rtld.c:2257) ==12635== by 0x6FEB3A1: _dl_sysdep_start (dl-sysdep.c:253) ==12635== by 0x6FD4EE3: _dl_start_final (rtld.c:447) ==12635== by 0x6FD4EE3: _dl_start (rtld.c:537) ==12635== by 0x6FD4097: ??? (in /lib64/ld-2.30.so) ==12635== If you believe this happened as a result of a stack ==12635== overflow in your program's main thread (unlikely but ==12635== possible), you can try to increase the size of the ==12635== main thread stack using the --main-stacksize= flag. ==12635== The main thread stack size used in this run was 8388608. ==12635== ==12635== HEAP SUMMARY: ==12635== in use at exit: 0 bytes in 0 blocks ==12635== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==12635== ==12635== All heap blocks were freed -- no leaks are possible ==12635== ==12635== For lists of detected and suppressed errors, rerun with: -s ==12635== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Segmentation fault