119
|
|
|
Jamie Strandboge |
0.119.2 |
15 years ago
|
|
|
118
|
|
|
Martin Pitt |
0.119 |
15 years ago
|
|
|
117
|
|
|
Martin Pitt |
0.117 |
15 years ago
|
|
|
116
|
|
|
Martin Pitt |
0.116 |
15 years ago
|
|
|
115
|
|
|
Martin Pitt |
0.115 |
15 years ago
|
|
|
114
|
|
|
Martin Pitt |
0.114 |
15 years ago
|
|
|
113
|
|
|
Anthony Mercatante |
0.113 |
15 years ago
|
|
|
112
|
|
|
Martin Pitt |
0.112 |
15 years ago
|
|
|
111
|
|
The "(Kernel) OOPS, I dumped it again!" release.
* apport/ui.py: Fix test_run_report_bug_unpackaged_pid() to work with the installed run-tests from the package as well. * apport/crashdb_impl/launchpad.py: Ignore broken LP bug tasks instead of crashing on them. * apport/report.py, add_proc_info(): Report the AppArmor or SELinux context in a new ProcAttrCurrent field, read from /proc/pid/attr/current. Document it in doc/data-format.tex. The field will not be added if the proc attribute cannot be read or isn't present. Thanks to Steve Beattie for the patch and the suggestion! * debian/local/setup-apport-retracer: Switch to intrepid. * debian/local/setup-apport-retracer: Fix installation of python-apt. Also install apt, to avoid library version mismatches to python-apt. * debian/apport.default: Enable apport by default again, now that we have working retracers. * apport/report.py, test_add_gdb_info_script(): Use bash, not dash as test program for core dumping; stack trace is awkwardly bad with dash, so that the test case cannot really work any more. * Add package-hooks/source_linux.py: Package hook for collecting kernel related information. By Matt Zimmerman, thank you! (LP: #251441) * debian/local/ubuntu-bug.1: Fix documentation of -p, it specifies the binary package name, not the source. * apport/packaging.py: Add get_kernel_package() to return the actual Linux kernel package name; useful if the user reports a bug against just "linux". Implement it in backends/packaging-apt-dpkg.py. * apport/ui.py: "Do what I mean" when filing a bug against "linux" and report it against the actual kernel package. * debian/local/ubuntu-bug: If just one argument is given, infer -p/-P from the type of the argument. * apport/ui.py: Drop the PackageArchitecture field for the uploaded report if it is equal to Architecture. Adapt apport/crashdb_impl/launchpad.py to fall back to Architecture, and mention the change in doc/data-format.tex. * problem_report.py, write_mime(): Add new "skip_keys" argument to filter out keys. Add test cases. * apport/crashdb_impl/launchpad.py: Do not write the "Date:" field on upload(), and fetch it from the bug metadata in download(). * apport/crashdb_impl/launchpad.py, download(): Support reading bugs with the "--- " separator instead of "ProblemType: ". Launchpad doesn't create bugs that way ATM, but at least we have the reading part implemented now. * package-hooks/source_linux.py: Drop Uname, ProcVersion, and RunningKernelVersion fields, since they are all subsumed in the ProcVersionSignature field. * apport/ui.py, run_report_bug(): Strip spaces from package argument. * apport/ui.py, add_hooks_info(): Collect OS info first, then call the package hooks, so that the linux hook actually has a chance to delete the Uname field. * bin/kernel_hook, test-hooks: Throw away the original kernel hook which we never used (and got superseded by the proper source_linux.py package hook now). Replace it with the new logic of looking for /var/crash/vmcore{,.log} and turning that into an apport report. * debian/apport.init: Call kernel_hook if /var/crash/vmcore exists. (LP: #241322) * apport/ui.py: Collect information for "ProblemType: Kernel" as well, so that we run the package hook. Adapt test suite to cover this. * debian/control: Bump Standards-Version (no required changes). * gtk/apport-gtk.glade, qt4/apport-qt: Generalize notification of kernel crash, since it now happens after a boot, not right after the BUG/OOPS. But in the future we want to cover both cases.
|
Martin Pitt |
0.111 |
15 years ago
|
|
|
110
|
|
* apport/chroot.py: In the test suite, copy some system binaries/libraries into a fakechroot and exercise a lot of standard shell commands (cp, ln -s, rm, rm -r, mkdir, echo, chmod, chown, etc.) with absolute/relative paths. This reproduces the total breakage of rm'ing, chmod'ing, and chown'ing absolute paths in hardy fakechroots. * bin/crash-digger: Intercept exceptions when downloading crash reports for duplicate checking, so that the retracer does not crash on malformed bug reports. (LP: #205178) * apport/packaging.py: Introduce a new function enabled() which reports whether Apport should create crash reports. Signal crashes are controlled by /proc/sys/kernel/core_pattern, but we need that to control whether reports for Python, package, or kernel crashes are generated. * backends/packaging-apt-dpkg.py: Provide implementation for PackageInfo.enabled() for Debian/Ubuntu by evaluating /etc/default/apport. Add various test cases for different configuration files and absent files. * apport_python_hook.py: Do not create reports if Apport is disabled (in /etc/default/apport). (LP: #222260)
|
Martin Pitt |
0.110 |
15 years ago
|
|
|
109
|
|
|
Martin Pitt |
0.109 |
16 years ago
|
|
|
108
|
|
|
Martin Pitt |
0.108 |
16 years ago
|
|
|
107
|
|
|
Martin Pitt |
0.107 |
16 years ago
|
|
|
106
|
|
|
Martin Pitt |
0.106 |
16 years ago
|
|
|
105
|
|
|
Martin Pitt |
0.105 |
16 years ago
|
|
|
104
|
|
[ Martin Pitt ] * apport/crashdb_impl/launchpad.py, get_source_version(): re-escape the package name so that it doesn't stumble over '+' and similar characters. * apport/ui.py tests: assert that ProcEnviron is also included into bug reports where we do not have a PID, since having the local information is interesting and important (and acceptable in terms of personal information). * apport/report.py: Split out method add_proc_environ() for getting ProcEnviron, so that we can call it separately. * apport/ui.py, run_report_bug(): Add ProcEnviron if we do not have a pid to file a bug against. This way, bugs filed against packages or distro also get locale information. (LP: #198514) * apport/fileutils.py, mark_report_seen(): Do not crash if the file does not exist any more, because it was removed underneath us. (LP: #199932) * apport/ui.py, test_collect_info_exepath(): Add a tuple argument and a CompressedValue to the test report. This reproduces LP #199349. * apport/report.py, anonymize(): Only work on string values. (LP: #199349) * apport/ui.py: If a report has a field "Ignore", entirely ignore the report without even presenting an explanatory error dialog (as "UnsupportableReason" does). Document this in doc/package-hooks.txt. * debian/control: Bump Standards-Version (no changes necessary). * debian/control: Fix wrongly spelt project names (Python and GTK+). Thanks to lintian's scrutiny. * gtk/apport-gtk-mime.desktop.in, qt4/apport-qt-mime.desktop.in: Add a main category.
[ Kees Cook ] * apport/report.py: fix module license checking logic (LP: #199927). - nonfree_modules: being unable to find a module should not mean the module is non-free. - test_module_license_evaluation: check modinfo reporting. * problem_report.py: Skip atime test case if file system is mounted noatime.
|
Martin Pitt |
0.104 |
16 years ago
|
|
|
103
|
|
* bin/apport-unpack: Print error messages instead of crashing for problems like nonexisting file names passed as arguments. (LP: #185273) * backends/packaging-apt-dpkg.py, is_distro_package(): Explicitly check site for "ppa", so that we do not automatically file bugs for PPA packages. This works around Soyuz bug LP #140412 for the time being. * apport/report.py: Add standard_title() test cases for Python crashes with a custom message, and a custom message with newlines. The latter reproduces LP #190947. * apport/report.py, standard_title(): Do not rely on a fixed position of the topmost function; use iteration and regular expression matching instead. (LP: #190947) * apport/ui.py, parse_argv(): Specify that --pid/-P argument must be an integer, to avoid exceptions when it's not. (LP: #193494) * apport/report.py: Use uname -srm, not -a, to hide the hostname. (part of LP #192786); also use os.uname() instead of calling the system program. * problem_report.py(): Make write() work for reports with CompressedValues. Add test case. * apport/ui.py: Add test case test_run_crash_anonymity() which asserts that the crash dump does not contain strings which can identify the user, such as the user name, login name, host name, and current directory. * apport/report.py: Add method anonymize() which replaces user specific strings with generic ones. * apport/ui.py, thread_collect_info(): Call anonymize() on the report. (LP: #192786) * bin/apport-retrace: Only update a bug report with new attachments if it is not a duplicate. (LP: #172792) * bin/apport-retrace: Print out proper error message instead of an exception if trying to do write operations to the bug tracker without specifying a cookie file. (LP: #146423)
|
Martin Pitt |
0.103 |
16 years ago
|
|
|
102
|
|
[ Martin Pitt ] * problem_report.py: Support reading reports with legacy zlib compression in 'retain compressed values' mode (as used nowadays by apport when reporting a crash). Add a test case, too. (LP: #129616) * debian/control, debian/rules: Switch from python-support to python-central, and use 'nomove' option so that apport works during upgrades, too. (LP: #121341) * debian/rules: Use dh_icons instead of dh_iconcache. * debian/apport.init: Do not stop apport in any runlevel (LSB header). * apport/ui.py, run_crash(): Catch zlib.error on invalidly compressed core dumps. (LP: #176977) * apport/ui.py: Give a meaningful error message instead of crashing if the package for a crash report is not installed any more. (LP: #149739) * apport/ui.py: Do not include ProcCmdline in bug reports, since these are not ack'ed by the user and might contain sensitive data. (LP: #132800) * apport/ui.py: Add various test cases for crash reports whose packages have been uninstalled between the crash and the report. This reproduces LP #186684. * apport/ui.py, load_report(): Produce proper error message if executable/interpreter path do not exist any more. (LP: #186684) * cli/apport-cli: Intercept SIGPIPE when calling sensible-pager, to avoid crash when quitting it prematurely. (LP: #153872) * bin/apport-checkreports: Print out a list of program names/packages which have a pending crash report. (LP: #145117) * apport/ui.py, run_argv(): Add return code which indicates whether any report has been processed. * cli/apport-cli: If no pending crash reports are present, say so and refer to --help. (LP: #182985) * apport/ui.py: Waive check for obsolete packages if environment defines $APPORT_IGNORE_OBSOLETE_PACKAGES. Document this in the apport-cli manpage. (LP: #148064)
[ Daniel Hahler ] * .crash file integration for KDE3 (LP: #177055) - debian/apport-qt.install: install added files qt4/apport-qt-mime.desktop and qt4/apport-qt-mimelnk.desktop * Fixed minor warnings/errors from desktop-file-validate in gtk/apport-gtk-mime.desktop.in and qt4/apport-qt.desktop.in (LP: #146957)
|
Martin Pitt |
0.102 |
16 years ago
|
|
|
101
|
|
|
Martin Pitt |
0.101 |
16 years ago
|
|
|
100
|
|
* bin/crash-digger: Add option --log for logging to a file, and --pidfile/--stop for daemonization. Add test cases to test-crash-digger. * bin/apport: Do not re-raise exceptions about failure to create the lock file, to avoid crashing in the case that another apport instance tries to lock at exactly the same moment. (LP: #147237) * apport/report.py testsuite: Check that our methods get along with binary data which turn into CompressedValue objects after loading them from a file. This reproduces LP #148305. * problem_report.py, CompressedValue: Add method splitlines() since we need it very often. Add test case to test_compressed_values(). (LP: #148305) * problem_report.py: Add test case to check that update() works and does the right thing with binary values and overwriting. This confirms that importing a dictionary works. * debian/local/setup-apport-retracer: Update for hardy. * apport/crashdb_impl/launchpad.py: get_source_info() does not work any more due to HTML changes in Launchpad, and not showing the component any more on /distro/+source/package. Since we do not actually need component and release name any more, rename it to get_source_version(), fix the regular expression to just get the version, and adapt get_fixed_version() accordingly. * debian/local/setup-apport-retracer: Update default apt sources to http://ddebs.ubuntu.com. * apport/ui.py: Robostify cleanup of forked test processes. * apport/ui.py: Sleep for 0.5 seconds after creating the test process in the test suite to give /proc some time to settle down. * bin/apport: Drop evaluation of CORE_* environment variables and mandate calling with <pid> <signal> <core ulimit>. Drop the now obsolete apport/elfcore.py. Adapt test-apport accordingly. * debian/apport.init, use-local: Now call apport with %p, %s, and %c kernel macros (since 2.6.24). Drop Edgy support from init script.
|
Martin Pitt |
0.100 |
16 years ago
|
|
|