Difference between revisions of "QA/Debugging"
(→Inspecting Dependency Problems or File Conflicts (obsolete)) |
m (→Inspecting Dependency Problems or File Conflicts) |
||
Line 43: | Line 43: | ||
We can use [http://fba.rosalinux.ru/ FBA (Frontend Brother of ABF)] to inspect the repositories and collect information about the current state and issues. | We can use [http://fba.rosalinux.ru/ FBA (Frontend Brother of ABF)] to inspect the repositories and collect information about the current state and issues. | ||
− | For dependency problems, we can inspect | + | |
+ | For dependency problems, we can inspect [http://repoclosure.openmandriva.org/ RepoClosure] for: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Version !! Arch !! Link | ! Version !! Arch !! Link | ||
|- | |- | ||
− | | | + | | Lx 3.0 || i586 || [http://repoclosure.openmandriva.org/3.0/i586/main/report.html Link] |
|- | |- | ||
− | | | + | | Lx 3.0 || x86_64 || [http://repoclosure.openmandriva.org/3.0/x86_64/main/report.html Link] |
|- | |- | ||
+ | | Cooker || i586 || [http://repoclosure.openmandriva.org/cooker/i586/main/report.html Link] | ||
+ | |- | ||
+ | | Cooker || x86_64 || [http://repoclosure.openmandriva.org/cooker/x86_64/main/report.html Link] | ||
|} | |} | ||
+ | |||
And for '''File Conflicts''': | And for '''File Conflicts''': |
Revision as of 15:19, 17 June 2016
Contents
Debugging Information
There are numerous ways to detect and debug quality assurance issues. A list of these ways are found below.
Valgrind
When an application crashes, it is most often helpful to retrieve a backtrace, which shows the application state up to its crash.
The valgrind
package must be installed, as well as any relevant *-debuginfo
packages.
You should use the following script to debug:
#!/bin/sh # Thanks to Jeffrey Johnson for this script. valgrind -v --tool=memcheck --leak-check=full --show-reachable=yes --track-origins=yes $*
It may be handy to save this script to the PATH
(don't forget to chmod +x
it).
Then, run:
[path to script] [application, parameters, etc] &> /tmp/valgrind
You will be able to examine /tmp/valgrind for the backtrace, as well as other memory elements.
Examining Package File Ownership
Sometimes, the problem can be traced back to a file, bundled by the package.
A simple query can help you figure out the package that provided that file:
rpm -qf [path to file]
Note: If there are user modifications to the file, reinstall the package to make sure you're inspecting the package-provided version.
Inspecting Dependency Problems or File Conflicts
We can use FBA (Frontend Brother of ABF) to inspect the repositories and collect information about the current state and issues.
For dependency problems, we can inspect RepoClosure for:
Version | Arch | Link |
---|---|---|
Lx 3.0 | i586 | Link |
Lx 3.0 | x86_64 | Link |
Cooker | i586 | Link |
Cooker | x86_64 | Link |
And for File Conflicts:
Version | Arch | Link |
---|---|---|
Cooker | i586 | Link |
Cooker | x86_64 | Link |
Note: There may be problems for one architecture, but not another. Be sure to check both!