Skip to content

Instantly share code, notes, and snippets.

@zpzim
Last active June 14, 2019 14:28
Show Gist options
  • Save zpzim/a7added1e63587e162f871383e33b1dc to your computer and use it in GitHub Desktop.
Save zpzim/a7added1e63587e162f871383e33b1dc to your computer and use it in GitHub Desktop.
...
[ 33%] Linking CXX executable ../bin/polynomial
*** Error in `/home/zach/khiva/build/bin/polynomial': munmap_chunk(): invalid pointer: 0x000000000177a760 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f9e2bbad7e5]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7f9e2bbba698]
/home/zach/khiva/build/bin/polynomial[0x404aa9]
/home/zach/khiva/build/bin/polynomial[0x43f8dd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x7f)[0x7f9e2bb567bf]
/home/zach/khiva/build/bin/polynomial[0x405269]
======= Memory map: ========
00400000-00451000 r-xp 00000000 08:02 4073725 /home/zach/khiva/build/bin/polynomial
00650000-00651000 r--p 00050000 08:02 4073725 /home/zach/khiva/build/bin/polynomial
00651000-00652000 rw-p 00051000 08:02 4073725 /home/zach/khiva/build/bin/polynomial
01700000-01799000 rw-p 00000000 00:00 0 [heap]
7f9e1ed15000-7f9e1ed69000 r-xp 00000000 08:02 3145737 /opt/arrayfire/lib64/libtbb.so.2
7f9e1ed69000-7f9e1ef69000 ---p 00054000 08:02 3145737 /opt/arrayfire/lib64/libtbb.so.2
7f9e1ef69000-7f9e1ef6a000 r--p 00054000 08:02 3145737 /opt/arrayfire/lib64/libtbb.so.2
7f9e1ef6a000-7f9e1ef6e000 rw-p 00055000 08:02 3145737 /opt/arrayfire/lib64/libtbb.so.2
7f9e1ef6e000-7f9e1ef70000 rw-p 00000000 00:00 0
7f9e1ef70000-7f9e1f867000 r-xp 00000000 08:02 3145750 /opt/arrayfire/lib64/libmkl_intel_lp64.so
7f9e1f867000-7f9e1fa67000 ---p 008f7000 08:02 3145750 /opt/arrayfire/lib64/libmkl_intel_lp64.so
7f9e1fa67000-7f9e1fa68000 r--p 008f7000 08:02 3145750 /opt/arrayfire/lib64/libmkl_intel_lp64.so
7f9e1fa68000-7f9e1fa7a000 rw-p 008f8000 08:02 3145750 /opt/arrayfire/lib64/libmkl_intel_lp64.so
7f9e1fa7a000-7f9e1fa80000 rw-p 00000000 00:00 0
7f9e1fa80000-7f9e21201000 r-xp 00000000 08:02 3145758 /opt/arrayfire/lib64/libmkl_tbb_thread.so
7f9e21201000-7f9e21401000 ---p 01781000 08:02 3145758 /opt/arrayfire/lib64/libmkl_tbb_thread.so
7f9e21401000-7f9e21408000 r--p 01781000 08:02 3145758 /opt/arrayfire/lib64/libmkl_tbb_thread.so
7f9e21408000-7f9e2142d000 rw-p 01788000 08:02 3145758 /opt/arrayfire/lib64/libmkl_tbb_thread.so
7f9e2142d000-7f9e25231000 r-xp 00000000 08:02 3145753 /opt/arrayfire/lib64/libmkl_core.so
7f9e25231000-7f9e25430000 ---p 03e04000 08:02 3145753 /opt/arrayfire/lib64/libmkl_core.so
7f9e25430000-7f9e25437000 r--p 03e03000 08:02 3145753 /opt/arrayfire/lib64/libmkl_core.so
7f9e25437000-7f9e25465000 rw-p 03e0a000 08:02 3145753 /opt/arrayfire/lib64/libmkl_core.so
7f9e25465000-7f9e2547a000 rw-p 00000000 00:00 0
7f9e2547a000-7f9e25481000 r-xp 00000000 08:02 6036927 /lib/x86_64-linux-gnu/librt-2.23.so
7f9e25481000-7f9e25680000 ---p 00007000 08:02 6036927 /lib/x86_64-linux-gnu/librt-2.23.so
7f9e25680000-7f9e25681000 r--p 00006000 08:02 6036927 /lib/x86_64-linux-gnu/librt-2.23.so
7f9e25681000-7f9e25682000 rw-p 00007000 08:02 6036927 /lib/x86_64-linux-gnu/librt-2.23.so
7f9e25682000-7f9e2b8d9000 r-xp 00000000 08:02 3145745 /opt/arrayfire/lib64/libcufft.so.10.0
7f9e2b8d9000-7f9e2bad8000 ---p 06257000 08:02 3145745 /opt/arrayfire/lib64/libcufft.so.10.0
7f9e2bad8000-7f9e2bae8000 rw-p 06256000 08:02 3145745 /opt/arrayfire/lib64/libcufft.so.10.0
7f9e2bae8000-7f9e2bb36000 rw-p 00000000 00:00 0
7f9e2bb36000-7f9e2bcf6000 r-xp 00000000 08:02 6037077 /lib/x86_64-linux-gnu/libc-2.23.so
7f9e2bcf6000-7f9e2bef6000 ---p 001c0000 08:02 6037077 /lib/x86_64-linux-gnu/libc-2.23.so
7f9e2bef6000-7f9e2befa000 r--p 001c0000 08:02 6037077 /lib/x86_64-linux-gnu/libc-2.23.so
7f9e2befa000-7f9e2befc000 rw-p 001c4000 08:02 6037077 /lib/x86_64-linux-gnu/libc-2.23.so
7f9e2befc000-7f9e2bf00000 rw-p 00000000 00:00 0
7f9e2bf00000-7f9e2bf16000 r-xp 00000000 08:02 6033932 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e2bf16000-7f9e2c115000 ---p 00016000 08:02 6033932 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e2c115000-7f9e2c116000 rw-p 00015000 08:02 6033932 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f9e2c116000-7f9e2c21e000 r-xp 00000000 08:02 6037085 /lib/x86_64-linux-gnu/libm-2.23.so
7f9e2c21e000-7f9e2c41d000 ---p 00108000 08:02 6037085 /lib/x86_64-linux-gnu/libm-2.23.so
7f9e2c41d000-7f9e2c41e000 r--p 00107000 08:02 6037085 /lib/x86_64-linux-gnu/libm-2.23.so
7f9e2c41e000-7f9e2c41f000 rw-p 00108000 08:02 6037085 /lib/x86_64-linux-gnu/libm-2.23.so
7f9e2c41f000-7f9e2c591000 r-xp 00000000 08:02 7340055 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f9e2c591000-7f9e2c791000 ---p 00172000 08:02 7340055 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f9e2c791000-7f9e2c79b000 r--p 00172000 08:02 7340055 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f9e2c79b000-7f9e2c79d000 rw-p 0017c000 08:02 7340055 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f9e2c79d000-7f9e2c7a1000 rw-p 00000000 00:00 0
7f9e2c7a1000-7f9e2c7a4000 r-xp 00000000 08:02 6036945 /lib/x86_64-linux-gnu/libdl-2.23.so
7f9e2c7a4000-7f9e2c9a3000 ---p 00003000 08:02 6036945 /lib/x86_64-linux-gnu/libdl-2.23.so
7f9e2c9a3000-7f9e2c9a4000 r--p 00002000 08:02 6036945 /lib/x86_64-linux-gnu/libdl-2.23.so
7f9e2c9a4000-7f9e2c9a5000 rw-p 00003000 08:02 6036945 /lib/x86_64-linux-gnu/libdl-2.23.so
7f9e2c9a5000-7f9e2cd7e000 r-xp 00000000 08:02 3145762 /opt/arrayfire/lib64/libaf.so.3.6.2
7f9e2cd7e000-7f9e2cf7e000 ---p 003d9000 08:02 3145762 /opt/arrayfire/lib64/libaf.so.3.6.2
7f9e2cf7e000-7f9e2cf87000 r--p 003d9000 08:02 3145762 /opt/arrayfire/lib64/libaf.so.3.6.2
7f9e2cf87000-7f9e2cf8b000 rw-p 003e2000 08:02 3145762 /opt/arrayfire/lib64/libaf.so.3.6.2
7f9e2cf8b000-7f9e2cf8d000 rw-p 00000000 00:00 0
7f9e2cf8d000-7f9e2cfa5000 r-xp 00000000 08:02 6036979 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f9e2cfa5000-7f9e2d1a4000 ---p 00018000 08:02 6036979 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f9e2d1a4000-7f9e2d1a5000 r--p 00017000 08:02 6036979 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f9e2d1a5000-7f9e2d1a6000 rw-p 00018000 08:02 6036979 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f9e2d1a6000-7f9e2d1aa000 rw-p 00000000 00:00 0
7f9e2d1aa000-7f9e2dc69000 r-xp 00000000 08:02 4073729 /home/zach/khiva/build/lib/libkhiva.so.0.3.0
7f9e2dc69000-7f9e2de68000 ---p 00abf000 08:02 4073729 /home/zach/khiva/build/lib/libkhiva.so.0.3.0
7f9e2de68000-7f9e2de6d000 r--p 00abe000 08:02 4073729 /home/zach/khiva/build/lib/libkhiva.so.0.3.0
7f9e2de6d000-7f9e2de6f000 rw-p 00ac3000 08:02 4073729 /home/zach/khiva/build/lib/libkhiva.so.0.3.0
7f9e2de6f000-7f9e2de73000 rw-p 00000000 00:00 0
7f9e2de73000-7f9e2de99000 r-xp 00000000 08:02 6036953 /lib/x86_64-linux-gnu/ld-2.23.so
7f9e2e05e000-7f9e2e070000 rw-p 00000000 00:00 0
7f9e2e096000-7f9e2e098000 rw-p 00000000 00:00 0
7f9e2e098000-7f9e2e099000 r--p 00025000 08:02 6036953 /lib/x86_64-linux-gnu/ld-2.23.so
7f9e2e099000-7f9e2e09a000 rw-p 00026000 08:02 6036953 /lib/x86_64-linux-gnu/ld-2.23.so
7f9e2e09a000-7f9e2e09b000 rw-p 00000000 00:00 0
7ffed9148000-7ffed9169000 rw-p 00000000 00:00 0 [stack]
7ffed91b9000-7ffed91bc000 r--p 00000000 00:00 0 [vvar]
7ffed91bc000-7ffed91be000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
CMake Error at /usr/local/share/cmake-3.12/Modules/GoogleTestAddTests.cmake:39 (message):
Error running test executable.
Path: '/home/zach/khiva/build/bin/polynomial'
Result: Child aborted
Output:
@zpzim
Copy link
Author

zpzim commented Jun 14, 2019

It might be related to Intel TBB. I get this error even when I comment out the entire test function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment