https://bugs.kde.org/show_bug.cgi?id=388847

            Bug ID: 388847
           Summary: Valgrind throwing unhandled errors
           Product: valgrind
           Version: 3.11.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: subhayu.must...@gmail.com
  Target Milestone: ---

nvidia@tegra-ubuntu:~/develop_dec_2017/companion_computer/cpp_dev/build/output$
sudo valgrind --leak-check=full --show-leak-kinds=all -v --track-origins=yes
./Companion --redirect_to_file companion_cpp.txt --name gasoline --ip
192.168.0.6 --mac aa:bb:cc:dd:ee:ff --serial 23456890 --telemetry_disable
--enable_debug --consul_address 10.131.203.254:8500 --status_service
127.0.0.1:17200 --config_location config.txt --mav_ip 127.0.0.1 --mav_port
14450
==7510== Memcheck, a memory error detector
==7510== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==7510== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==7510== Command: ./Companion --redirect_to_file companion_cpp.txt --name
gasoline --ip 192.168.0.6 --mac aa:bb:cc:dd:ee:ff --serial 23456890
--telemetry_disable --enable_debug --consul_address 10.131.203.254:8500
--status_service 127.0.0.1:17200 --config_location config.txt --mav_ip
127.0.0.1 --mav_port 14450
==7510== 
--7510-- Valgrind options:
--7510--    --leak-check=full
--7510--    --show-leak-kinds=all
--7510--    -v
--7510--    --track-origins=yes
--7510-- Contents of /proc/version:
--7510--   Linux version 4.4.38 (root@tegra-ubuntu) (gcc version 5.4.0 20160609
(Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) ) #1 SMP PREEMPT Wed Dec 20 10:09:41 IST
2017
--7510-- 
--7510-- Arch and hwcaps: ARM64, LittleEndian, baseline
--7510-- Page sizes: currently 4096, max supported 65536
--7510-- Valgrind library directory: /usr/lib/valgrind
--7510-- Reading syms from
/home/nvidia/develop_dec_2017/companion_computer/cpp_dev/build/output/Companion
--7510-- Reading syms from /lib/aarch64-linux-gnu/ld-2.23.so
--7510--   Considering /lib/aarch64-linux-gnu/ld-2.23.so ..
--7510--   .. CRC mismatch (computed 865649c0 wanted cd647b0c)
--7510--   Considering /usr/lib/debug/lib/aarch64-linux-gnu/ld-2.23.so ..
--7510--   .. CRC is valid
--7510-- Reading syms from /usr/lib/valgrind/memcheck-arm64-linux
--7510--   Considering /usr/lib/valgrind/memcheck-arm64-linux ..
--7510--   .. CRC mismatch (computed 8f09826f wanted 6178e9e2)
--7510--    object doesn't have a symbol table
--7510--    object doesn't have a dynamic symbol table
--7510-- Scheduler: using generic scheduler lock implementation.
--7510-- Reading suppressions file: /usr/lib/valgrind/default.supp
==7510== embedded gdbserver: reading from
/tmp/vgdb-pipe-from-vgdb-to-7510-by-root-on-???
==7510== embedded gdbserver: writing to  
/tmp/vgdb-pipe-to-vgdb-from-7510-by-root-on-???
==7510== embedded gdbserver: shared mem  
/tmp/vgdb-pipe-shared-mem-vgdb-7510-by-root-on-???
==7510== 
==7510== TO CONTROL THIS PROCESS USING vgdb (which you probably
==7510== don't want to do, unless you know exactly what you're doing,
==7510== or are doing some strange experiment):
==7510==   /usr/lib/valgrind/../../bin/vgdb --pid=7510 ...command...
==7510== 
==7510== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==7510==   /path/to/gdb ./Companion
==7510== and then give GDB the following command
==7510==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=7510
==7510== --pid is optional if only one valgrind process is running
==7510== 
--7510-- REDIR: 0x4016d00 (ld-linux-aarch64.so.1:strlen) redirected to
0x38055570 (???)
--7510-- REDIR: 0x4016c00 (ld-linux-aarch64.so.1:strcmp) redirected to
0x380555c4 (???)
--7510-- REDIR: 0x4016b10 (ld-linux-aarch64.so.1:index) redirected to
0x38055598 (???)
--7510-- Reading syms from /usr/lib/valgrind/vgpreload_core-arm64-linux.so
--7510--   Considering /usr/lib/valgrind/vgpreload_core-arm64-linux.so ..
--7510--   .. CRC mismatch (computed 5ef38139 wanted e355e9f6)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-arm64-linux.so
--7510--   Considering /usr/lib/valgrind/vgpreload_memcheck-arm64-linux.so ..
--7510--   .. CRC mismatch (computed c1066ef3 wanted 4e5d95d5)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/local/lib/libgrpc++_unsecure.so.1.9.0-dev
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/local/lib/libgrpc.so.5.0.0-dev
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/local/lib/libprotobuf.so.15.0.0
--7510-- Reading syms from /lib/aarch64-linux-gnu/libpthread-2.23.so
--7510--   Considering
/usr/lib/debug/.build-id/62/9c063061fd5a4eaa215bfde0ec8c02f40893f0.debug ..
--7510--   .. build-id is valid
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libcurl.so.4.4.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.21
--7510--   Considering /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.21 ..
--7510--   .. CRC mismatch (computed abb776b6 wanted 34c5b5b6)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libm-2.23.so
--7510--   Considering /lib/aarch64-linux-gnu/libm-2.23.so ..
--7510--   .. CRC mismatch (computed b69ac714 wanted 74e95f37)
--7510--   Considering /usr/lib/debug/lib/aarch64-linux-gnu/libm-2.23.so ..
--7510--   .. CRC is valid
--7510-- Reading syms from /lib/aarch64-linux-gnu/libgcc_s.so.1
--7510--   Considering /lib/aarch64-linux-gnu/libgcc_s.so.1 ..
--7510--   .. CRC mismatch (computed 94ac48c9 wanted 45f27162)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libc-2.23.so
--7510--   Considering /lib/aarch64-linux-gnu/libc-2.23.so ..
--7510--   .. CRC mismatch (computed d1ff271e wanted fc230175)
--7510--   Considering /usr/lib/debug/lib/aarch64-linux-gnu/libc-2.23.so ..
--7510--   .. CRC is valid
--7510-- Reading syms from /usr/local/lib/libgpr.so.5.0.0-dev
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/local/lib/libgrpc_unsecure.so.5.0.0-dev
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libssl.so.1.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libcrypto.so.1.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libz.so.1.2.8
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libidn.so.11.6.15
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/librtmp.so.1
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libgssapi_krb5.so.2.2
--7510--   Considering /usr/lib/aarch64-linux-gnu/libgssapi_krb5.so.2.2 ..
--7510--   .. CRC mismatch (computed 8b6d35ee wanted fcdf2d4c)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/liblber-2.4.so.2.10.5
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libldap_r-2.4.so.2.10.5
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libdl-2.23.so
--7510--   Considering /lib/aarch64-linux-gnu/libdl-2.23.so ..
--7510--   .. CRC mismatch (computed fb72d2ed wanted 9bc3d4c5)
--7510--   Considering /usr/lib/debug/lib/aarch64-linux-gnu/libdl-2.23.so ..
--7510--   .. CRC is valid
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libgnutls.so.30.6.2
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libhogweed.so.4.2
--7510--   Considering /usr/lib/aarch64-linux-gnu/libhogweed.so.4.2 ..
--7510--   .. CRC mismatch (computed 165546b1 wanted dd04002d)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libnettle.so.6.2
--7510--   Considering /usr/lib/aarch64-linux-gnu/libnettle.so.6.2 ..
--7510--   .. CRC mismatch (computed 7e586cfe wanted a1ba6422)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libgmp.so.10.3.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libkrb5.so.3.3
--7510--   Considering /usr/lib/aarch64-linux-gnu/libkrb5.so.3.3 ..
--7510--   .. CRC mismatch (computed 0ceb7511 wanted 54bfb956)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libk5crypto.so.3.1
--7510--   Considering /usr/lib/aarch64-linux-gnu/libk5crypto.so.3.1 ..
--7510--   .. CRC mismatch (computed 4e08e5cc wanted 633e14d3)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libcom_err.so.2.1
--7510--   Considering /lib/aarch64-linux-gnu/libcom_err.so.2.1 ..
--7510--   .. CRC mismatch (computed a5833d4e wanted c7b54ace)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libkrb5support.so.0.1
--7510--   Considering /usr/lib/aarch64-linux-gnu/libkrb5support.so.0.1 ..
--7510--   .. CRC mismatch (computed 7f13e09b wanted ea5fdc66)
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libresolv-2.23.so
--7510--   Considering /lib/aarch64-linux-gnu/libresolv-2.23.so ..
--7510--   .. CRC mismatch (computed 1c0a2f0a wanted d7050000)
--7510--   Considering /usr/lib/debug/lib/aarch64-linux-gnu/libresolv-2.23.so
..
--7510--   .. CRC is valid
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libsasl2.so.2.0.25
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libgssapi.so.3.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libp11-kit.so.0.1.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libtasn1.so.6.5.1
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libkeyutils.so.1.5
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libheimntlm.so.0.1.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libkrb5.so.26.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libasn1.so.8.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libhcrypto.so.4.1.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libroken.so.18.1.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libffi.so.6.0.4
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libwind.so.0.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libheimbase.so.1.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libhx509.so.5.0.0
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /usr/lib/aarch64-linux-gnu/libsqlite3.so.0.8.6
--7510--    object doesn't have a symbol table
--7510-- Reading syms from /lib/aarch64-linux-gnu/libcrypt-2.23.so
--7510--   Considering /lib/aarch64-linux-gnu/libcrypt-2.23.so ..
--7510--   .. CRC mismatch (computed 60df1773 wanted e14af5ce)
--7510--   Considering /usr/lib/debug/lib/aarch64-linux-gnu/libcrypt-2.23.so ..
--7510--   .. CRC is valid
--7510-- REDIR: 0x4fe1a40 (libc.so.6:memcpy) redirected to 0x4849980 (memcpy)
--7510-- REDIR: 0x4fdfed0 (libc.so.6:rindex) redirected to 0x4847a08 (rindex)
--7510-- REDIR: 0x4fdfa80 (libc.so.6:strlen) redirected to 0x4848058 (strlen)
--7510-- REDIR: 0x4fdb3b0 (libc.so.6:malloc) redirected to 0x4844b10 (malloc)
--7510-- REDIR: 0x4fdf380 (libc.so.6:strcmp) redirected to 0x48491c8 (strcmp)
--7510-- REDIR: 0x4fdbd40 (libc.so.6:calloc) redirected to 0x4846c50 (calloc)
--7510-- REDIR: 0x4fdf2a0 (libc.so.6:index) redirected to 0x4847bb8 (index)
--7510-- REDIR: 0x503c5f0 (libc.so.6:__memcpy_chk) redirected to 0x484c468
(__memcpy_chk)
--7510-- REDIR: 0x4fdb988 (libc.so.6:free) redirected to 0x4845de0 (free)
--7510-- REDIR: 0x4fe1340 (libc.so.6:memset) redirected to 0x484b610 (memset)
--7510-- REDIR: 0x4fdba40 (libc.so.6:realloc) redirected to 0x4846e90 (realloc)
--7510-- REDIR: 0x4fe0f00 (libc.so.6:bcmp) redirected to 0x484ae20 (bcmp)
--7510-- REDIR: 0x4d9acc0 (libstdc++.so.6:operator new(unsigned long))
redirected to 0x4845090 (operator new(unsigned long))
--7510-- REDIR: 0x4fe1000 (libc.so.6:memmove) redirected to 0x484b6a8 (memmove)
--7510-- REDIR: 0x4d98c40 (libstdc++.so.6:operator delete(void*)) redirected to
0x48462b0 (operator delete(void*))
--7510-- REDIR: 0x4d9ad90 (libstdc++.so.6:operator new[](unsigned long))
redirected to 0x48457d8 (operator new[](unsigned long))
--7510-- REDIR: 0x4fe17c0 (libc.so.6:stpncpy) redirected to 0x484b4e0 (stpncpy)
--7510-- REDIR: 0x4d98c58 (libstdc++.so.6:operator delete[](void*)) redirected
to 0x4846830 (operator delete[](void*))
--7510-- REDIR: 0x4fe0860 (libc.so.6:strstr) redirected to 0x484c580 (strstr)
--7510-- REDIR: 0x4fe3450 (libc.so.6:rawmemchr) redirected to 0x484be60
(rawmemchr)
--7510-- REDIR: 0x4fe3580 (libc.so.6:strchrnul) redirected to 0x484be38
(strchrnul)
--7510-- REDIR: 0x4fdfbe4 (libc.so.6:strnlen) redirected to 0x4847fb8 (strnlen)
--7510-- REDIR: 0x4fe0de8 (libc.so.6:memchr) redirected to 0x4849378 (memchr)
--7510-- REDIR: 0x4fdfd5c (libc.so.6:strncmp) redirected to 0x48487f0 (strncmp)
--7510-- REDIR: 0x4fdf440 (libc.so.6:strcpy) redirected to 0x4848170 (strcpy)
--7510-- WARNING: unhandled arm64-linux syscall: 168
==7510==    at 0x50225F8: sched_getcpu (sched_getcpu.c:32)
==7510==    by 0x49746A7: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)
--7510-- You may be able to write your own handler.
--7510-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--7510-- Nevertheless we consider this a bug.  Please report
--7510-- it at http://valgrind.org/support/bug_reports.html.
--7510-- REDIR: 0x4fe1600 (libc.so.6:stpcpy) redirected to 0x484afa0 (stpcpy)
E0112 13:39:03.540813377    7511 cpu_linux.cc:41]            Error determining
current CPU: Function not implemented

--7510-- REDIR: 0x4fdfe68 (libc.so.6:strncpy) redirected to 0x4848330 (strncpy)
==7510== Thread 2:
==7510== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==7510==    at 0x502F688: epoll_ctl (syscall-template.S:84)
==7510==    by 0x48FA40F: grpc_init_epoll1_linux(bool) (in
/usr/local/lib/libgrpc.so.5.0.0-dev)
==7510==  Address 0x691b05c is on thread 2's stack
==7510==  Uninitialised value was created by a stack allocation
==7510==    at 0x48FA280: grpc_init_epoll1_linux(bool) (in
/usr/local/lib/libgrpc.so.5.0.0-dev)
==7510== 
==7510== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s)
==7510==    at 0x502F424: epoll_pwait (epoll_pwait.c:42)
==7510==    by 0x48F9EFF: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)
==7510==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==7510== 
==7510== Thread 4 grpc_executor:
==7510== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==7510==    at 0x502F688: epoll_ctl (syscall-template.S:84)
==7510==    by 0x48F8523: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)
==7510==  Address 0x791b16c is on thread 4's stack
==7510==  Uninitialised value was created by a stack allocation
==7510==    at 0x48F8450: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to