pa3.cpp:512:30: runtime error: member access within null pointer of type 'struct ReplacementListNode'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==11==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000041e53f bp 0x7ffc36034f50 sp 0x7ffc36034f20 T0)
==11==The signal is caused by a READ memory access.
==11==Hint: address points to the zero page.
    #0 0x41e53f in print_replacement_cycle(ReplacementListNode*) /vol/src/pa3.cpp:512
    #1 0x42e65e in test18() /vol/src/pa3_test.cpp:549
    #2 0x43e30e in main /vol/src/pa3_test.cpp:1506
    #3 0x7f3a5c62b249  (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 30f067a5eccdb3bdce0b9ec7638ebd86992b9c8b)
    #4 0x7f3a5c62b304 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27304) (BuildId: 30f067a5eccdb3bdce0b9ec7638ebd86992b9c8b)
    #5 0x404390 in _start (/vol/src/pa3_test+0x404390)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /vol/src/pa3.cpp:512 in print_replacement_cycle(ReplacementListNode*)
==11==ABORTING



pa3.cpp:512:30: runtime error: member access within null pointer of type 'struct ReplacementListNode'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==11==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000041e53f bp 0x7ffc36034f50 sp 0x7ffc36034f20 T0)
==11==The signal is caused by a READ memory access.
==11==Hint: address points to the zero page.
    #0 0x41e53f in print_replacement_cycle(ReplacementListNode*) /vol/src/pa3.cpp:512
    #1 0x42e65e in test18() /vol/src/pa3_test.cpp:549
    #2 0x43e30e in main /vol/src/pa3_test.cpp:1506
    #3 0x7f3a5c62b249  (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 30f067a5eccdb3bdce0b9ec7638ebd86992b9c8b)
    #4 0x7f3a5c62b304 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27304) (BuildId: 30f067a5eccdb3bdce0b9ec7638ebd86992b9c8b)
    #5 0x404390 in _start (/vol/src/pa3_test+0x404390)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /vol/src/pa3.cpp:512 in print_replacement_cycle(ReplacementListNode*)
==11==ABORTING



pa3.cpp:512:30: runtime error: member access within null pointer of type 'struct ReplacementListNode'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==11==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000041e53f bp 0x7ffc36034f50 sp 0x7ffc36034f20 T0)
==11==The signal is caused by a READ memory access.
==11==Hint: address points to the zero page.
    #0 0x41e53f in print_replacement_cycle(ReplacementListNode*) /vol/src/pa3.cpp:512
    #1 0x42e65e in test18() /vol/src/pa3_test.cpp:549
    #2 0x43e30e in main /vol/src/pa3_test.cpp:1506
    #3 0x7f3a5c62b249  (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 30f067a5eccdb3bdce0b9ec7638ebd86992b9c8b)
    #4 0x7f3a5c62b304 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27304) (BuildId: 30f067a5eccdb3bdce0b9ec7638ebd86992b9c8b)
    #5 0x404390 in _start (/vol/src/pa3_test+0x404390)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /vol/src/pa3.cpp:512 in print_replacement_cycle(ReplacementListNode*)
==11==ABORTING