Valgrind crashes with the following error: vex amd64->IR: unhandled instruction bytes: 0xC5 0xF8 0x57 0xC0 0x48 0x89 0xE5 0x41 I think the problem is with the library Eigen. $ uname -a Linux vaio 3.2.10-3.fc16.x86_64 #1 SMP Thu Mar 15 19:39:46 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux $ valgrind -v ./csar ==32341== Memcheck, a memory error detector ==32341== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==32341== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==32341== Command: ./csar ==32341== --32341-- Valgrind options: --32341-- -v --32341-- Contents of /proc/version: --32341-- Linux version 3.2.10-3.fc16.x86_64 (mockbuild@x86-09.phx2.fedoraproject.org) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) #1 SMP Thu Mar 15 19:39:46 UTC 2012 --32341-- Arch and hwcaps: AMD64, amd64-sse3-cx16 --32341-- Page sizes: currently 4096, max supported 4096 --32341-- Valgrind library directory: /usr/local/lib/valgrind --32341-- Reading syms from /mnt/raid/Trabalho/investiga/objectos3d/PCL/build/csar (0x400000) --32341-- Reading syms from /usr/local/lib/valgrind/memcheck-amd64-linux (0x38000000) --32341-- object doesn't have a dynamic symbol table --32341-- Reading syms from /lib64/ld-2.14.90.so (0x375f400000) --32341-- Considering /usr/lib/debug/.build-id/1a/212c7f1515542b310ba92f6109efc9b5bf2b6e.debug .. --32341-- .. build-id is valid --32341-- Reading suppressions file: /usr/local/lib/valgrind/default.supp ==32341== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-32341-by-lfbaa-on-vaio ==32341== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-32341-by-lfbaa-on-vaio ==32341== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-32341-by-lfbaa-on-vaio ==32341== ==32341== TO CONTROL THIS PROCESS USING vgdb (which you probably ==32341== don't want to do, unless you know exactly what you're doing, ==32341== or are doing some strange experiment): ==32341== /usr/local/lib/valgrind/../../bin/vgdb --pid=32341 ...command... ==32341== ==32341== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==32341== /path/to/gdb ./csar ==32341== and then give GDB the following command ==32341== target remote | /usr/local/lib/valgrind/../../bin/vgdb --pid=32341 ==32341== --pid is optional if only one valgrind process is running ==32341== --32341-- REDIR: 0x375f418640 (strlen) redirected to 0x38062cf7 (vgPlain_amd64_linux_REDIR_FOR_strlen) --32341-- Reading syms from /usr/local/lib/valgrind/vgpreload_core-amd64-linux.so (0x4802000) --32341-- Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4a03000) --32341-- REDIR: 0x375f4184b0 (index) redirected to 0x4a077f0 (index) --32341-- REDIR: 0x375f418530 (strcmp) redirected to 0x4a087b0 (strcmp) --32341-- Reading syms from /usr/local/lib/libpcl_io.so.1.6.0 (0x4c38000) --32341-- Reading syms from /usr/local/lib/libpcl_common.so.1.6.0 (0x4f82000) --32341-- Reading syms from /usr/local/lib/libpcl_filters.so.1.6.0 (0x51d9000) --32341-- Reading syms from /usr/local/lib/libpcl_search.so.1.6.0 (0x5828000) --32341-- Reading syms from /usr/local/lib/libpcl_kdtree.so.1.6.0 (0x5ba5000) --32341-- Reading syms from /usr/local/lib/libpcl_segmentation.so.1.6.0 (0x5e6f000) --32341-- Reading syms from /usr/local/lib/libpcl_registration.so.1.6.0 (0x66d9000) --32341-- Reading syms from /usr/local/lib/libpcl_visualization.so.1.6.0 (0x6913000) --32341-- Reading syms from /usr/local/lib/libpcl_features.so.1.6.0 (0x6be3000) --32341-- Reading syms from /usr/lib64/libboost_thread-mt.so.1.47.0 (0x81ca000) --32341-- Considering /usr/lib/debug/.build-id/a1/cbc7aeba4ad90b479247ffb392c8ef637c3931.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libvtkCommon.so.5.6.1 (0x3608e00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkFiltering.so.5.6.1 (0x3606a00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkHybrid.so.5.6.1 (0x3b60800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkRendering.so.5.6.1 (0x3b5ec00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libboost_system-mt.so.1.47.0 (0x83e7000) --32341-- Considering /usr/lib/debug/.build-id/05/0bcc443e9b760f575dbb3127e1ad2748d0692d.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libboost_filesystem-mt.so.1.47.0 (0x85eb000) --32341-- Considering /usr/lib/debug/.build-id/5d/3eb22f4561a9b0e13a759fa4ad920cd04048cf.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libflann_cpp.so.1.6.11 (0x880a000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libpthread-2.14.90.so (0x3760000000) --32341-- Considering /usr/lib/debug/.build-id/b9/d3a4213a482d034bebc7dc1ed2901a734a894d.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libstdc++.so.6.0.16 (0x35fb200000) --32341-- Considering /usr/lib/debug/usr/lib64/libstdc++.so.6.0.16.debug .. --32341-- .. CRC mismatch (computed 3971ebe7 wanted d422477e) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libm-2.14.90.so (0x375fc00000) --32341-- Considering /usr/lib/debug/.build-id/0f/0c9eed63ed279ceb0aef109eff8bcbb351e4bb.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /lib64/libgcc_s-4.6.3-20120306.so.1 (0x35fae00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libc-2.14.90.so (0x375f800000) --32341-- Considering /usr/lib/debug/.build-id/da/cf32a9a2f2b5077ba944e7b835cca6f637f78f.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/local/lib/libpcl_io_ply.so.1.6.0 (0x8a13000) --32341-- Reading syms from /usr/lib64/libvtkIO.so.5.6.1 (0x3b60000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkImaging.so.5.6.1 (0x3606400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libOpenNI.so (0x35fda00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libusb-1.0.so.0.1.0 (0x376c000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libgomp.so.1.0.0 (0x35ff600000) --32341-- Considering /usr/lib/debug/usr/lib64/libgomp.so.1.0.0.debug .. --32341-- .. CRC mismatch (computed 2a3ae39b wanted 5efafba9) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/local/lib/libpcl_sample_consensus.so.1.6.0 (0x8c5f000) --32341-- Reading syms from /usr/local/lib/libpcl_octree.so.1.6.0 (0x95e0000) --32341-- Reading syms from /usr/lib64/libvtkGraphics.so.5.6.1 (0x360aa00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/librt-2.14.90.so (0x3760800000) --32341-- Considering /usr/lib/debug/.build-id/e2/d68a0ee0872365dcc8c6640b7cd7b94c8276f2.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libvtksys.so.5.6.1 (0x3602400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libdl-2.14.90.so (0x3760400000) --32341-- Considering /usr/lib/debug/.build-id/63/8db099ff5fb986d1a092629d1bb1dca5be4904.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libvtkParallel.so.5.6.1 (0x3b61a00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkexoIIc.so.5.6.1 (0x3ffae00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkftgl.so.5.6.1 (0x36eba00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libfreetype.so.6.7.1 (0x36e7e00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkNetCDF.so.5.6.1 (0x3ffaa00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libQtGui.so.4.8.0 (0x3b5da00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libQtSql.so.4.8.0 (0x3608200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libQtCore.so.4.8.0 (0x35fe600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libgl2ps.so.1.3.5 (0x3b62200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libz.so.1.2.5 (0x3760c00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libpng12.so.0.49.0 (0x3b5d600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXt.so.6.0.0 (0x3607200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libSM.so.6.0.1 (0x376e000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libICE.so.6.3.0 (0x3770000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libX11.so.6.3.0 (0x35faa00000) --32341-- Considering /usr/lib/debug/.build-id/4c/842320387ff7f6f91b7842b223c16518be909f.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libXext.so.6.4.0 (0x35fb600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXft.so.2.2.0 (0x36e9400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libpq.so.5.4 (0x3e42600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/mysql/libmysqlclient.so.18.0.0 (0x3e46800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkDICOMParser.so.5.6.1 (0x3607e00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkNetCDF_cxx.so.5.6.1 (0x3604800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkmetaio.so.5.6.1 (0x3606000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtksqlite.so.5.6.1 (0x3ffa000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libjpeg.so.62.0.0 (0x3600e00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libtiff.so.3.9.5 (0x3b5f600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libexpat.so.1.5.2 (0x3764800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libogg.so.0.7.1 (0x3772800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libtheoraenc.so.1.1.2 (0x376c800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libtheoradec.so.1.1.4 (0x376e800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libtinyxml.so.0.2.6.1 (0x35fe200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libvtkverdict.so.5.6.1 (0x3602800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libVPIC.so.5.6.1 (0x3607600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libCosmo.so.5.6.1 (0x3605200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/nvidia/tls/libnvidia-tls.so.295.33 (0x366a800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libgthread-2.0.so.0.3000.2 (0x33a8600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libglib-2.0.so.0.3000.2 (0x33a8200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libgobject-2.0.so.0.3000.2 (0x33aea00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXi.so.6.1.0 (0x35fba00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXrender.so.1.3.0 (0x35fbe00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXrandr.so.2.2.0 (0x35fc600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXfixes.so.3.1.0 (0x35fce00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXcursor.so.1.0.2 (0x35fca00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXinerama.so.1.0.0 (0x35fc200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libfontconfig.so.1.4.4 (0x36e8200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libuuid.so.1.3.0 (0x3767800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libxcb.so.1.1.0 (0x3763400000) --32341-- Considering /usr/lib/debug/.build-id/79/94f114cf7189e482f2665fae8e351ed8bc05e3.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/libssl.so.1.0.0h (0x3e41e00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libcrypto.so.1.0.0h (0x3e41a00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libkrb5.so.3.3 (0x9942000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libcom_err.so.2.1 (0x3768000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libgssapi_krb5.so.2.2 (0x35fde00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libldap_r-2.4.so.2.7.1 (0x9c20000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libffi.so.5.0.10 (0x3762400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libXau.so.6.0.0 (0x3763000000) --32341-- Considering /usr/lib/debug/.build-id/1c/6a95451ee19617be5abea3d121f0226d21ddda.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /lib64/libk5crypto.so.3.1 (0x35fd200000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libkrb5support.so.0.1 (0x35fd600000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libkeyutils.so.1.4 (0x33b1000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libresolv-2.14.90.so (0x33ac200000) --32341-- Considering /usr/lib/debug/.build-id/e5/429e0905bedecc534b057783916ba43e06a66e.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /usr/lib64/liblber-2.4.so.2.7.1 (0x3600a00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libssl3.so (0x3ff3c00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libsmime3.so (0x3ff4000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libnss3.so (0x3ff3000000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libnssutil3.so (0x3ff2800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libplds4.so (0x3ff2c00000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libplc4.so (0x3ff3400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libnspr4.so (0x3ff3800000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /usr/lib64/libsasl2.so.2.0.23 (0x3ff4400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libselinux.so.1 (0x3761400000) --32341-- object doesn't have a symbol table --32341-- Reading syms from /lib64/libcrypt-2.14.90.so (0x3ff2400000) --32341-- Considering /usr/lib/debug/.build-id/26/39b5594fe4d7897db63ecd1ebb9681438317a8.debug .. --32341-- .. build-id is valid --32341-- Reading syms from /lib64/libfreebl3.so (0x3ff2000000) --32341-- Considering /usr/lib/debug/.build-id/34/e8b3cee73a6d0b8ac17c69ba4b1170724db64c.debug .. --32341-- .. build-id is valid --32341-- REDIR: 0x375f88e8a0 (strncasecmp) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f88c5e0 (strcasecmp) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f886d90 (strcmp) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f888a60 (strncmp) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f88a370 (__GI_strrchr) redirected to 0x4a07610 (__GI_strrchr) --32341-- REDIR: 0x375f8888d0 (__GI_strlen) redirected to 0x4a07b50 (__GI_strlen) --32341-- REDIR: 0x375f882520 (malloc) redirected to 0x4a07261 (malloc) --32341-- REDIR: 0x375f88b3c0 (memset) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f88b400 (__GI_memset) redirected to 0x4a09c10 (memset) --32341-- REDIR: 0x35fb2ba3a0 (operator new(unsigned long)) redirected to 0x4a06df7 (operator new(unsigned long)) --32341-- REDIR: 0x375f888880 (strlen) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f95b8b0 (__strlen_sse2_pminub) redirected to 0x4a07b30 (strlen) --32341-- REDIR: 0x375f890f70 (memcpy@@GLIBC_2.14) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f941640 (__memcpy_ssse3_back) redirected to 0x4a08ac0 (memcpy@@GLIBC_2.14) --32341-- REDIR: 0x35fb2b86c0 (operator delete(void*)) redirected to 0x4a062af (operator delete(void*)) --32341-- REDIR: 0x375f88ada0 (bcmp) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f956a50 (__memcmp_sse4_1) redirected to 0x4a09830 (bcmp) --32341-- REDIR: 0x375f888aa0 (__GI_strncmp) redirected to 0x4a08010 (__GI_strncmp) --32341-- REDIR: 0x375f92dfe0 (__strcmp_sse42) redirected to 0x4a086f0 (strcmp) --32341-- REDIR: 0x375f8837a0 (calloc) redirected to 0x4a05c5b (calloc) --32341-- REDIR: 0x35fb2ba4d0 (operator new[](unsigned long)) redirected to 0x4a0690d (operator new[](unsigned long)) --32341-- REDIR: 0x375f888220 (strcpy) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f8962f0 (__strcpy_sse2_unaligned) redirected to 0x4a07b70 (strcpy) --32341-- REDIR: 0x375f882bf0 (realloc) redirected to 0x4a07312 (realloc) --32341-- REDIR: 0x375f882b60 (free) redirected to 0x4a0659d (free) --32341-- REDIR: 0x375f8841b0 (posix_memalign) redirected to 0x4a05be3 (posix_memalign) --32341-- REDIR: 0x375f930840 (__strcasecmp_sse42) redirected to 0x4a08090 (strcasecmp) --32341-- REDIR: 0x375f88b370 (memcpy@GLIBC_2.2.5) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f946be0 (__memmove_ssse3_back) redirected to 0x4a088b0 (memcpy@GLIBC_2.2.5) --32341-- REDIR: 0x375f88a2f0 (strncpy) redirected to 0x48025ca (_vgnU_ifunc_wrapper) --32341-- REDIR: 0x375f896920 (__strncpy_sse2_unaligned) redirected to 0x4a07d10 (strncpy) --32341-- REDIR: 0x375f892490 (strchrnul) redirected to 0x4a09f40 (strchrnul) --32341-- REDIR: 0x375f892280 (__GI___rawmemchr) redirected to 0x4a09f90 (__GI___rawmemchr) --32341-- REDIR: 0x375f88aa50 (memchr) redirected to 0x4a08870 (memchr) --32341-- REDIR: 0x375f92ee80 (__strncmp_sse42) redirected to 0x4a07f90 (strncmp) --32341-- REDIR: 0x35fb2b8700 (operator delete[](void*)) redirected to 0x4a05f2b (operator delete[](void*)) --32341-- REDIR: 0x375f905950 (__strcpy_chk) redirected to 0x4a09fb0 (__strcpy_chk) --32341-- REDIR: 0xffffffffff600000 (???) redirected to 0x38062ce3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) ------------------------------ DB info: Total number of objects= 22 Total number of views = 440 ------------------------------ vex amd64->IR: unhandled instruction bytes: 0xC5 0xF8 0x57 0xC0 0x48 0x89 0xE5 0x41 ==32341== valgrind: Unrecognised instruction at address 0x4cce3d1. ==32341== at 0x4CCE3D1: pcl::PCDReader::readHeader(std::string const&, sensor_msgs::PointCloud2&, Eigen::Matrix<float, 4, 1, 0, 4, 1>&, Eigen::Quaternion<float, 0>&, int&, int&, unsigned int&, int) (in /usr/local/lib/libpcl_io.so.1.6.0) ==32341== by 0x4CCC768: pcl::PCDReader::read(std::string const&, sensor_msgs::PointCloud2&, Eigen::Matrix<float, 4, 1, 0, 4, 1>&, Eigen::Quaternion<float, 0>&, int&, int) (in /usr/local/lib/libpcl_io.so.1.6.0) ==32341== by 0x457D44: LSO_test1() (in /mnt/raid/Trabalho/investiga/objectos3d/PCL/build/csar) ==32341== by 0x43AB4C: main (in /mnt/raid/Trabalho/investiga/objectos3d/PCL/build/csar) ==32341== Your program just tried to execute an instruction that Valgrind ==32341== did not recognise. There are two possible reasons for this. ==32341== 1. Your program has a bug and erroneously jumped to a non-code ==32341== location. If you are running Memcheck and you just saw a ==32341== warning about a bad jump, it's probably your program's fault. ==32341== 2. The instruction is legitimate but Valgrind doesn't handle it, ==32341== i.e. it's Valgrind's fault. If you think this is the case or ==32341== you are not sure, please let us know and we'll try to fix it. ==32341== Either way, Valgrind will now raise a SIGILL signal which will ==32341== probably kill your program. ==32341== ==32341== Process terminating with default action of signal 4 (SIGILL) ==32341== Illegal opcode at address 0x4CCE3D1 ==32341== at 0x4CCE3D1: pcl::PCDReader::readHeader(std::string const&, sensor_msgs::PointCloud2&, Eigen::Matrix<float, 4, 1, 0, 4, 1>&, Eigen::Quaternion<float, 0>&, int&, int&, unsigned int&, int) (in /usr/local/lib/libpcl_io.so.1.6.0) ==32341== by 0x4CCC768: pcl::PCDReader::read(std::string const&, sensor_msgs::PointCloud2&, Eigen::Matrix<float, 4, 1, 0, 4, 1>&, Eigen::Quaternion<float, 0>&, int&, int) (in /usr/local/lib/libpcl_io.so.1.6.0) ==32341== by 0x457D44: LSO_test1() (in /mnt/raid/Trabalho/investiga/objectos3d/PCL/build/csar) ==32341== by 0x43AB4C: main (in /mnt/raid/Trabalho/investiga/objectos3d/PCL/build/csar) ==32341== ==32341== HEAP SUMMARY: ==32341== in use at exit: 7,909,390 bytes in 4,945 blocks ==32341== total heap usage: 1,269,670 allocs, 1,264,725 frees, 86,910,258 bytes allocated ==32341== ==32341== Searching for pointers to 4,945 not-freed blocks ==32341== Checked 20,762,744 bytes ==32341== ==32341== LEAK SUMMARY: ==32341== definitely lost: 0 bytes in 0 blocks ==32341== indirectly lost: 0 bytes in 0 blocks ==32341== possibly lost: 237,087 bytes in 8 blocks ==32341== still reachable: 7,672,303 bytes in 4,937 blocks ==32341== suppressed: 0 bytes in 0 blocks ==32341== Rerun with --leak-check=full to see details of leaked memory ==32341== ==32341== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==32341== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Illegal instruction (core dumped) Reproducible: Always
*** This bug has been marked as a duplicate of bug 273475 ***