apport-valgrind - valgrind wrapper that first downloads debug symbols
apport-valgrind [ OPTIONS ] EXECUTABLE
apport-valgrind is a valgrind wrapper that automatically downloads related available debug symbols and provides them to valgrind's memcheck tool, which is executed. The output is a valgrind log file ("valgrind.log") that contains stack traces (with as many symbols resolved as available) and that shows memory leaks. By default, a temporary cache directory is created to hold the latest debug symbol packages. These are unpacked into a temporary sandbox directory. The path to the sandbox directory is provided to valgrind as an additional location for symbol files. You may create and use persistent cache and sandbox directories to save time across multiple executions, thus preventing the need to recreate them each time. Downloading all packages into the the cache directory each time is particularly time consuming. It is recommended to update your system before execution. This ensures your runtime environment is consistent with the latest downloaded symbol packages and therefore results in a more complete stack trace from valgrind. EXECUTABLE is the program to run under valgrind. Always terminate the EXECUTABLE in its usual way. Exit it from the GUI if there is one. If not, use the most appropriate method. Different techniques are used to determine which packages should be unpacked into the sandbox depending on whether EXECUTABLE is packaged (installed by a debian package) or not (for example something created for development or testing). A packaged EXECUTABLE has debian dependencies that are used. For an unpackaged EXECUTABLE, the shared object files are found with ldd and the packages for these are used.
-C CDIR, --cache=CDIR Reuse a previously created cache dir (CDIR) or, if it does not exist, create it. --sandbox-dir=SDIR Reuse a previously created sandbox dir (SDIR) or, if it does not exist, create it --no-sandbox Do not create or reuse a sandbox directory for additional debug symbols but rely only on installed debug symbols. This speeds execution time but may result in an incomplete and less useful valgrind log if you do not have all appropriate debug symbol packages installed. -p, --extra-package Specify an extra package (or packages) to unpack in the sandbox. Useful to add additional debug symbol packages that result in more complete valgrind logs. -v, --verbose Report download/install progress when installing packages in sandbox mode. -l LOGFILE, --log=LOGFILE Specify the file name for the generated valgrind log file. Default is: valgrind.log -h, --help Display short help that documents all options.
Create and use temporary cache and sandbox directories: apport-valgrind EXECUTABLE Reuse or create cache dir: apport-valgrind -C CDIR EXECUTABLE Reuse or create sandbox dir: apport-valgrind --sandbox-dir SDIR EXECUTABLE
If you abnormally terminate the executable you are running under valgrind, temporary directories may not be deleted and processes may not all terminate. For example, if the executable does not normally terminate on ctrl+c, pressing ctrl+c in the terminal may cause apport- valgrind and valgrind to terminate, but may not terminate the executable and may not delete the temporary directories.
Developed by Martin Pitt <martin.pitt@ubuntu.com>, Alex Chiang <alex.chiang@canonical.com> and Kyle Nitzsche <kyle.nitzsche@canonical.com>
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.