profiling - 用于 Raspbian 的 valgrind(破坏者)
问题描述
Raspbian(版本= 10(buster))上的valgrind(3.7.0)似乎不起作用,因为它在调用时挂起。它是使用“apt-get install valgrind”安装的。这是在 /bin/ls 上调用时截断的输出。注意:还有很多警告,我只列出了前 20 行左右。关于可能导致此问题和潜在解决方法的任何想法?
$ valgrind /bin/ls
==2116== Memcheck, a memory error detector
==2116== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==2116== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==2116== Command: /bin/ls
==2116==
--2116-- WARNING: Serious error when reading debug info
--2116-- When reading debug info from /lib/arm-linux-gnueabihf/ld-2.28.so:
--2116-- Ignoring non-Dwarf2/3/4 block in .debug_info
--2116-- WARNING: Serious error when reading debug info
--2116-- When reading debug info from /lib/arm-linux-gnueabihf/ld-2.28.so:
--2116-- Last block truncated in .debug_info; ignoring
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x401A5D0: index (in /lib/arm-linux-gnueabihf/ld-2.28.so)
==2116==
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x401A5D4: index (in /lib/arm-linux-gnueabihf/ld-2.28.so)
==2116==
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x4008040: _dl_dst_count (in /lib/arm-linux-gnueabihf/ld-2.28.so)
==2116==
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x4008288: expand_dynamic_string_token (in /lib/arm-linux-gnueabihf/ld-2.28.so)
==2116==
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x401AA80: strlen (in /lib/arm-linux-gnueabihf/ld-2.28.so)
==2116==
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x401AA84: strlen (in /lib/arm-linux-gnueabihf/ld-2.28.so)
==2116==
==2116== Conditional jump or move depends on uninitialised value(s)
==2116== at 0x4017F68: malloc (in /lib/arm-linux-gnueabihf/ld-2.28.so)
...
解决方案
推荐阅读
- python-3.x - 加载一个大的 tif 文件,但在 openCV 中只加载第一个切片
- php - 重用 php 和 mysql 代码,但在新项目“警告未定义数组键”中出错
- angular - 如何在 Angular Typescript 中重新加载页面以使用 BE“等待”HTTP 调用
- python - 这个错误是什么意思?以及如何解决?
- python-3.x - 无法使用 opencv 读取 .tdms 文件
- lua - 无法打开 train.lua:没有这样的文件或目录
- javascript - 无法获取未定义或空引用的属性“customXmlParts”
- javascript - 取决于所选值还显示此数组中的其他值 - javascript
- python - 为什么依赖 django 的 dropdownn 不起作用
- css - 是否有可能在 SASS 中使用 CSS 变量?