Language
Compiler
Options
$
delete Test2
delete A
delete Test
delete A
*** Error in `./prog.exe': double free or corruption (fasttop): 0x00000000024b2da0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7feb299b27e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7feb299bb37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7feb299bf53c]
./prog.exe[0x400e8e]
./prog.exe[0x400dbb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7feb2995b830]
./prog.exe[0x400cc9]
======= Memory map: ========
00400000-00402000 r-xp 00000000 fd:03 5392489 /home/jail/prog.exe
00601000-00602000 rw-p 00001000 fd:03 5392489 /home/jail/prog.exe
0249f000-024d1000 rw-p 00000000 00:00 0 [heap]
7feb24000000-7feb24021000 rw-p 00000000 00:00 0
7feb24021000-7feb28000000 ---p 00000000 00:00 0
7feb29309000-7feb29318000 r-xp 00000000 fd:03 132308 /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7feb29318000-7feb29517000 ---p 0000f000 fd:03 132308 /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7feb29517000-7feb29518000 r--p 0000e000 fd:03 132308 /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7feb29518000-7feb29519000 rw-p 0000f000 fd:03 132308 /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7feb29519000-7feb29532000 r-xp 00000000 fd:03 131208 /lib/x86_64-linux-gnu/libz.so.1.2.8
7feb29532000-7feb29731000 ---p 00019000 fd:03 131208 /lib/x86_64-linux-gnu/libz.so.1.2.8
7feb29731000-7feb29732000 r--p 00018000 fd:03 131208 /lib/x86_64-linux-gnu/libz.so.1.2.8
7feb29732000-7feb29733000 rw-p 00019000 fd:03 131208 /lib/x86_64-linux-gnu/libz.so.1.2.8
7feb29733000-7feb2973a000 r-xp 00000000 fd:03 134245 /lib/x86_64-linux-gnu/librt-2.23.so
7feb2973a000-7feb29939000 ---p 00007000 fd:03 134245 /lib/x86_64-linux-gnu/librt-2.23.so
7feb29939000-7feb2993a000 r--p 00006000 fd:03 134245 /lib/x86_64-linux-gnu/librt-2.23.so
7feb2993a000-7feb2993b000 rw-p 00007000 fd:03 134245 /lib/x86_64-linux-gnu/librt-2.23.so
7feb2993b000-7feb29afb000 r-xp 00000000 fd:03 134259 /lib/x86_64-linux-gnu/libc-2.23.so
7feb29afb000-7feb29cfb000 ---p 001c0000 fd:03 134259 /lib/x86_64-linux-gnu/libc-2.23.so
7feb29cfb000-7feb29cff000 r--p 001c0000 fd:03 134259 /lib/x86_64-linux-gnu/libc-2.23.so
7feb29cff000-7feb29d01000 rw-p 001c4000 fd:03 134259 /lib/x86_64-linux-gnu/libc-2.23.so
7feb29d01000-7feb29d05000 rw-p 00000000 00:00 0
7feb29d05000-7feb29d1b000 r-xp 00000000 fd:03 1840001 /opt/wandbox/gcc-head/lib64/libgcc_s.so.1
7feb29d1b000-7feb29f1a000 ---p 00016000 fd:03 1840001 /opt/wandbox/gcc-head/lib64/libgcc_s.so.1
7feb29f1a000-7feb29f1b000 rw-p 00015000 fd:03 1840001 /opt/wandbox/gcc-head/lib64/libgcc_s.so.1
7feb29f1b000-7feb2a023000 r-xp 00000000 fd:03 134254 /lib/x86_64-linux-gnu/libm-2.23.so
7feb2a023000-7feb2a222000 ---p 00108000 fd:03 134254 /lib/x86_64-linux-gnu/libm-2.23.so
7feb2a222000-7feb2a223000 r--p 00107000 fd:03 134254 /lib/x86_64-linux-gnu/libm-2.23.so
7feb2a223000-7feb2a224000 rw-p 00108000 fd:03 134254 /lib/x86_64-linux-gnu/libm-2.23.so
7feb2a224000-7feb2a396000 r-xp 00000000 fd:03 1840032 /opt/wandbox/gcc-head/lib64/libstdc++.so.6.0.25
7feb2a396000-7feb2a596000 ---p 00172000 fd:03 1840032 /opt/wandbox/gcc-head/lib64/libstdc++.so.6.0.25
7feb2a596000-7feb2a5a0000 r--p 00172000 fd:03 1840032 /opt/wandbox/gcc-head/lib64/libstdc++.so.6.0.25
7feb2a5a0000-7feb2a5a2000 rw-p 0017c000 fd:03 1840032 /opt/wandbox/gcc-head/lib64/libstdc++.so.6.0.25
7feb2a5a2000-7feb2a5a5000 rw-p 00000000 00:00 0
7feb2a5a5000-7feb2a5ce000 r-xp 00000000 fd:03 5653674 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_wserialization.so.1.64.0
7feb2a5ce000-7feb2a7cd000 ---p 00029000 fd:03 5653674 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_wserialization.so.1.64.0
7feb2a7cd000-7feb2a7cf000 rw-p 00028000 fd:03 5653674 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_wserialization.so.1.64.0
7feb2a7cf000-7feb2a8e3000 r-xp 00000000 fd:03 5653837 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_wave.so.1.64.0
7feb2a8e3000-7feb2aae3000 ---p 00114000 fd:03 5653837 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_wave.so.1.64.0
7feb2aae3000-7feb2aae8000 rw-p 00114000 fd:03 5653837 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_wave.so.1.64.0
7feb2aae8000-7feb2aaf6000 r-xp 00000000 fd:03 5654221 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_type_erasure.so.1.64.0
7feb2aaf6000-7feb2acf6000 ---p 0000e000 fd:03 5654221 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_type_erasure.so.1.64.0
7feb2acf6000-7feb2acf7000 rw-p 0000e000 fd:03 5654221 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_type_erasure.so.1.64.0
7feb2acf7000-7feb2acfb000 r-xp 00000000 fd:03 5641981 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_timer.so.1.64.0
7feb2acfb000-7feb2aefa000 ---p 00004000 fd:03 5641981 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_timer.so.1.64.0
7feb2aefa000-7feb2aefb000 rw-p 00003000 fd:03 5641981 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_timer.so.1.64.0
7feb2aefb000-7feb2af22000 r-xp 00000000 fd:03 5641978 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_thread.so.1.64.0
7feb2af22000-7feb2b122000 ---p 00027000 fd:03 5641978 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_thread.so.1.64.0
7feb2b122000-7feb2b124000 rw-p 00027000 fd:03 5641978 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_thread.so.1.64.0
7feb2b124000-7feb2b127000 r-xp 00000000 fd:03 5654455 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_system.so.1.64.0
7feb2b127000-7feb2b326000 ---p 00003000 fd:03 5654455 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_system.so.1.64.0
7feb2b326000-7feb2b327000 rw-p 00002000 fd:03 5654455 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_system.so.1.64.0
7feb2b327000-7feb2b363000 r-xp 00000000 fd:03 5655089 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_serialization.so.1.64.0
7feb2b363000-7feb2b563000 ---p 0003c000 fd:03 5655089 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_serialization.so.1.64.0
7feb2b563000-7feb2b566000 rw-p 0003c000 fd:03 5655089 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_serialization.so.1.64.0
7feb2b566000-7feb2b642000 r-xp 00000000 fd:03 5641973 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_regex.so.1.64.0
7feb2b642000-7feb2b841000 ---p 000dc000 fd:03 5641973 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_regex.so.1.64.0
7feb2b841000-7feb2b847000 rw-p 000db000 fd:03 5641973 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_regex.so.1.64.0
7feb2b847000-7feb2b84c000 r-xp 00000000 fd:03 5641972 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_random.so.1.64.0
7feb2b84c000-7feb2ba4c000 ---p 00005000 fd:03 5641972 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_random.so.1.64.0
7feb2ba4c000-7feb2ba4d000 rw-p 00005000 fd:03 5641972 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_random.so.1.64.0
7feb2ba4d000-7feb2bad3000 r-xp 00000000 fd:03 5641971 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_program_options.so.1.64.0
7feb2bad3000-7feb2bcd3000 ---p 00086000 fd:03 5641971 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_program_options.so.1.64.0
7feb2bcd3000-7feb2bcd7000 rw-p 00086000 fd:03 5641971 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_program_options.so.1.64.0
7feb2bcd7000-7feb2bd24000 r-xp 00000000 fd:03 5641969 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1l.so.1.64.0
7feb2bd24000-7feb2bf24000 ---p 0004d000 fd:03 5641969 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1l.so.1.64.0
7feb2bf24000-7feb2bf25000 rw-p 0004d000 fd:03 5641969 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1l.so.1.64.0
7feb2bf25000-7feb2bf2a000 rw-p 00000000 00:00 0
7feb2bf2a000-7feb2bf73000 r-xp 00000000 fd:03 5655357 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1f.so.1.64.0
7feb2bf73000-7feb2c173000 ---p 00049000 fd:03 5655357 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1f.so.1.64.0
7feb2c173000-7feb2c174000 rw-p 00049000 fd:03 5655357 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1f.so.1.64.0
7feb2c174000-7feb2c177000 rw-p 00000000 00:00 0
7feb2c177000-7feb2c1c6000 r-xp 00000000 fd:03 5655649 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1.so.1.64.0
7feb2c1c6000-7feb2c3c6000 ---p 0004f000 fd:03 5655649 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1.so.1.64.0
7feb2c3c6000-7feb2c3c7000 rw-p 0004f000 fd:03 5655649 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_tr1.so.1.64.0
7feb2c3c7000-7feb2c3cc000 rw-p 00000000 00:00 0
7feb2c3cc000-7feb2c3dc000 r-xp 00000000 fd:03 5655663 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99l.so.1.64.0
7feb2c3dc000-7feb2c5db000 ---p 00010000 fd:03 5655663 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99l.so.1.64.0
7feb2c5db000-7feb2c5dc000 rw-p 0000f000 fd:03 5655663 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99l.so.1.64.0
7feb2c5dc000-7feb2c5dd000 rw-p 00000000 00:00 0
7feb2c5dd000-7feb2c5eb000 r-xp 00000000 fd:03 5655780 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99f.so.1.64.0
7feb2c5eb000-7feb2c7eb000 ---p 0000e000 fd:03 5655780 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99f.so.1.64.0
7feb2c7eb000-7feb2c7ec000 rw-p 0000e000 fd:03 5655780 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99f.so.1.64.0
7feb2c7ec000-7feb2c7fc000 r-xp 00000000 fd:03 5655850 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99.so.1.64.0
7feb2c7fc000-7feb2c9fb000 ---p 00010000 fd:03 5655850 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99.so.1.64.0
7feb2c9fb000-7feb2c9fc000 rw-p 0000f000 fd:03 5655850 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_math_c99.so.1.64.0
7feb2c9fc000-7feb2c9fd000 rw-p 00000000 00:00 0
7feb2c9fd000-7feb2ca9f000 r-xp 00000000 fd:03 5656767 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_log_setup.so.1.64.0
7feb2ca9f000-7feb2cc9e000 ---p 000a2000 fd:03 5656767 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_log_setup.so.1.64.0
7feb2cc9e000-7feb2cca4000 rw-p 000a1000 fd:03 5656767 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_log_setup.so.1.64.0
7feb2cca4000-7feb2cca5000 rw-p 00000000 00:00 0
7feb2cca5000-7feb2cd7e000 r-xp 00000000 fd:03 5641960 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_log.so.1.64.0
7feb2cd7e000-7feb2cf7e000 ---p 000d9000 fd:03 5641960 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_log.so.1.64.0
7feb2cf7e000-7feb2cf85000 rw-p 000d9000 fd:03 5641960 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_log.so.1.64.0
7feb2cf85000-7feb2d027000 r-xp 00000000 fd:03 5657038 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_locale.so.1.64.0
7feb2d027000-7feb2d226000 ---p 000a2000 fd:03 5657038 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_locale.so.1.64.0
7feb2d226000-7feb2d22b000 rw-p 000a1000 fd:03 5657038 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_locale.so.1.64.0
7feb2d22b000-7feb2d244000 r-xp 00000000 fd:03 5657084 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_iostreams.so.1.64.0
7feb2d244000-7feb2d443000 ---p 00019000 fd:03 5657084 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_iostreams.so.1.64.0
7feb2d443000-7feb2d445000 rw-p 00018000 fd:03 5657084 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_iostreams.so.1.64.0
7feb2d445000-7feb2d493000 r-xp 00000000 fd:03 5642004 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_graph.so.1.64.0
7feb2d493000-7feb2d693000 ---p 0004e000 fd:03 5642004 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_graph.so.1.64.0
7feb2d693000-7feb2d696000 rw-p 0004e000 fd:03 5642004 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_graph.so.1.64.0
7feb2d696000-7feb2d6af000 r-xp 00000000 fd:03 5641955 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_filesystem.so.1.64.0
7feb2d6af000-7feb2d8ae000 ---p 00019000 fd:03 5641955 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_filesystem.so.1.64.0
7feb2d8ae000-7feb2d8af000 rw-p 00018000 fd:03 5641955 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_filesystem.so.1.64.0
7feb2d8af000-7feb2d8c9000 r-xp 00000000 fd:03 5641954 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_fiber.so.1.64.0
7feb2d8c9000-7feb2dac9000 ---p 0001a000 fd:03 5641954 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_fiber.so.1.64.0
7feb2dac9000-7feb2daca000 rw-p 0001a000 fd:03 5641954 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_fiber.so.1.64.0
7feb2daca000-7feb2dada000 r-xp 00000000 fd:03 5657689 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_date_time.so.1.64.0
7feb2dada000-7feb2dcda000 ---p 00010000 fd:03 5657689 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_date_time.so.1.64.0
7feb2dcda000-7feb2dcdb000 rw-p 00010000 fd:03 5657689 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_date_time.so.1.64.0
7feb2dcdb000-7feb2dcef000 r-xp 00000000 fd:03 5657786 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_coroutine.so.1.64.0
7feb2dcef000-7feb2deef000 ---p 00014000 fd:03 5657786 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_coroutine.so.1.64.0
7feb2deef000-7feb2def0000 rw-p 00014000 fd:03 5657786 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_coroutine.so.1.64.0
7feb2def0000-7feb2def2000 r-xp 00000000 fd:03 5657785 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_context.so.1.64.0
7feb2def2000-7feb2e0f1000 ---p 00002000 fd:03 5657785 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_context.so.1.64.0
7feb2e0f1000-7feb2e0f2000 rw-p 00001000 fd:03 5657785 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_context.so.1.64.0
7feb2e0f2000-7feb2e10b000 r-xp 00000000 fd:03 5657783 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_container.so.1.64.0
7feb2e10b000-7feb2e30a000 ---p 00019000 fd:03 5657783 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_container.so.1.64.0
7feb2e30a000-7feb2e30b000 rw-p 00018000 fd:03 5657783 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_container.so.1.64.0
7feb2e30b000-7feb2e30e000 r-xp 00000000 fd:03 5657782 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_chrono.so.1.64.0
7feb2e30e000-7feb2e50d000 ---p 00003000 fd:03 5657782 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_chrono.so.1.64.0
7feb2e50d000-7feb2e50e000 rw-p 00002000 fd:03 5657782 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_chrono.so.1.64.0
7feb2e50e000-7feb2e50f000 r-xp 00000000 fd:03 5658374 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_atomic.so.1.64.0
7feb2e50f000-7feb2e70f000 ---p 00001000 fd:03 5658374 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_atomic.so.1.64.0
7feb2e70f000-7feb2e710000 rw-p 00001000 fd:03 5658374 /opt/wandbox/boost-1.64.0/gcc-head/lib/libboost_atomic.so.1.64.0
7feb2e710000-7feb2e728000 r-xp 00000000 fd:03 134233 /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb2e728000-7feb2e927000 ---p 00018000 fd:03 134233 /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb2e927000-7feb2e928000 r--p 00017000 fd:03 134233 /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb2e928000-7feb2e929000 rw-p 00018000 fd:03 134233 /lib/x86_64-linux-gnu/libpthread-2.23.so
7feb2e929000-7feb2e92d000 rw-p 00000000 00:00 0
7feb2e92d000-7feb2e953000 r-xp 00000000 fd:03 132732 /lib/x86_64-linux-gnu/ld-2.23.so
7feb2eb30000-7feb2eb4a000 rw-p 00000000 00:00 0
7feb2eb4f000-7feb2eb52000 rw-p 00000000 00:00 0
7feb2eb52000-7feb2eb53000 r--p 00025000 fd:03 132732 /lib/x86_64-linux-gnu/ld-2.23.so
7feb2eb53000-7feb2eb54000 rw-p 00026000 fd:03 132732 /lib/x86_64-linux-gnu/ld-2.23.so
7feb2eb54000-7feb2eb55000 rw-p 00000000 00:00 0
7ffe55954000-7ffe55975000 rw-p 00000000 00:00 0 [stack]
7ffe55998000-7ffe5599a000 r--p 00000000 00:00 0 [vvar]
7ffe5599a000-7ffe5599c000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Signal:
Aborted