apport (0.20) edgy; urgency=low . * apport: Renice ourself to priority 5 to not slow down the user's processes so heavily. * Add manpages for apport-retrace(1) and apport-unpack(1) and install them into apport. Closes: LP#58463 * problem_report.py: Test attaching two files instead of one in the test_write_file() regression check to assert correct key sorting. * problem_report.py: Alter write() method to sort binary data to the end of the report. This makes reports easier to read, and also shows relevant information more quickly when progressively loading them in a web browser. Adapt regression tests accordingly. * Move setting of ExecutablePath from apport's InformationCollector ctor to apport_utils' report_add_proc_info(), where it belongs to. Check ExecutablePath in apport_utils' regression tests. * apport-unpack: Support '-' as report argument to read from stdin. * apport_utils.py, report_add_proc_info(): - Apply some heuristics to determine whether the crashed process is an interpreted script (check if the Name in /proc/pid/status matches the second /proc/pid/cmdline part, and if that command line argument is an existing executable file). In the case of an interpreted script, set ExecutablePath to the script and InterpreterPath to the actually crashed ELF binary. - Test this with a shell (/bin/zgrep) and a Python (./apport-unpack) script in the test suite. - Closes: LP#58859 * Add debian/apport.logrotate to add a daily 7-step /var/log/apport log rotation. * test-apport: Fix WCOREDUMP() and pidof checks in check_crash(). * apport: Install a signal handler for all 'crashy' signals, which just logs the signal and stack info and exits. This should avoid a crashing apport examining itself, possibly in an endless loop. Closes: LP#58873
** Changed in: apport (Ubuntu) Status: Fix Committed => Fix Released -- No man pages for apport-unpack and apport-retrace https://launchpad.net/bugs/58463 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs