Created
January 8, 2018 22:38
-
-
Save joemfb/2fb9cfa2ec3c553d11530a67abe9fa2f to your computer and use it in GitHub Desktop.
asan errors in jets.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bin/urbit -FI ~zod rnewzod | |
~ | |
urbit 0.5.1 | |
urbit: home is rnewzod | |
core limit: Invalid argument | |
loom: mapped 2048MB | |
protected loom | |
live: loaded: MB/93.077.504 | |
================================================================= | |
==67559==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000109c8a7b8 at pc 0x000109a58630 bp 0x7fff561d8430 sp 0x7fff561d8428 | |
READ of size 8 at 0x000109c8a7b8 thread T0 | |
#0 0x109a5862f in _cj_count jets.c:15 | |
#1 0x109a586e0 in _cj_count jets.c:19 | |
#2 0x109a586e0 in _cj_count jets.c:19 | |
#3 0x109a586e0 in _cj_count jets.c:19 | |
#4 0x109a58367 in u3j_boot jets.c:340 | |
#5 0x109a72081 in u3m_boot manage.c:1669 | |
#6 0x109b34724 in main main.c:582 | |
#7 0x7fff8e19a5ac in start (libdyld.dylib+0x35ac) | |
0x000109c8a7b8 is located 0 bytes to the right of global variable '_143_two_d' defined in 'jets/tree.c:572:17' (0x109c89fc0) of size 2040 | |
SUMMARY: AddressSanitizer: global-buffer-overflow jets.c:15 in _cj_count | |
Shadow bytes around the buggy address: | |
0x1000213914a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x1000213914b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x1000213914c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x1000213914d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x1000213914e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
=>0x1000213914f0: 00 00 00 00 00 00 00[f9]f9 f9 f9 f9 f9 f9 f9 f9 | |
0x100021391500: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 | |
0x100021391510: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 | |
0x100021391520: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 | |
0x100021391530: f9 f9 f9 f9 00 00 00 00 00 00 00 00 f9 f9 f9 f9 | |
0x100021391540: 00 00 00 00 00 00 00 00 f9 f9 f9 f9 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 | |
Heap right 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 | |
Container overflow: fc | |
Array cookie: ac | |
Intra object redzone: bb | |
ASan internal: fe | |
Left alloca redzone: ca | |
Right alloca redzone: cb | |
==67559==ABORTING | |
Abort trap: 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment