digitalmars.D.learn - invalid path to external symbolizer!
- Calvin P (79/79) Dec 02 2020 I try find a memory issue with ldc -betterC -g -fsanitize=address
I try find a memory issue with ldc -betterC -g -fsanitize=address -disable-fp-elim, get invalid path to external symbolizer! Is there a way to print the symbol and line ? ================================================================= ==113433==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6060000008a0 at pc 0x00000070dcf2 bp 0x7ffedf7514c0 sp 0x7ffedf7514b8 WRITE of size 8 at 0x6060000008a0 thread T0 ==113433==WARNING: invalid path to external symbolizer! ==113433==WARNING: Failed to use and restart external symbolizer! 0x6060000008a0 is located 0 bytes to the right of 64-byte region [0x606000000860,0x6060000008a0) allocated by thread T0 here: SUMMARY: AddressSanitizer: heap-buffer-overflow (/root/ncore+0x70dcf1) Shadow bytes around the buggy address: 0x0c0c7fff80c0: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa 0x0c0c7fff80d0: 00 00 00 00 00 00 00 05 fa fa fa fa fd fd fd fd 0x0c0c7fff80e0: fd fd fd fa fa fa fa fa fd fd fd fd fd fd fd fa 0x0c0c7fff80f0: fa fa fa fa fd fd fd fd fd fd fd fa fa fa fa fa 0x0c0c7fff8100: fd fd fd fd fd fd fd fa fa fa fa fa 00 00 00 00 =>0x0c0c7fff8110: 00 00 00 00[fa]fa fa fa 00 00 00 00 00 00 00 07 0x0c0c7fff8120: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa 0x0c0c7fff8130: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd 0x0c0c7fff8140: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd 0x0c0c7fff8150: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa 0x0c0c7fff8160: fd fd fd fd fd fd fd fd fa fa fa fa 00 00 00 00 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 Shadow gap: cc ==113433==ABORTING
Dec 02 2020