Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==26438==ERROR: AddressSanitizer: SEGV on unknown address 0x0001888ff6d8 (pc 0x7f69898cff52 bp 0x7ffc61f266a0 sp 0x7ffc61f262a0 T0)
==26438==The signal is caused by a WRITE memory access.
    #0 0x7f69898cff51  (/lib64/ld-linux-x86-64.so.2+0xff51)
    #1 0x7f69898d7759  (/lib64/ld-linux-x86-64.so.2+0x17759)
    #2 0x55941840fda2 in print_info(intMatrix&) (/out/package/ex3+0xeda2)
    #3 0x559418410f3b in main (/out/package/ex3+0xff3b)
    #4 0x7f6987273b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #5 0x55941840fb29 in _start (/out/package/ex3+0xeb29)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib64/ld-linux-x86-64.so.2+0xff51) 
==26438==ABORTING

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

Testing constructor & destructor 1: 4pts

JOJ Answer

Testing constructor & destructor 1: 4pts
Matrix Information:
rows: 1
cols: 1