[Bug 65914] Re: apport-retrace -d fails with KeyError
Ubuntu Edgy Eft is no longer supported, so a SRU will not be issued for this release. Marking Edgy as Won't Fix. ** Changed in: apport (Ubuntu Edgy) Status: Confirmed = Won't Fix -- apport-retrace -d fails with KeyError https://bugs.launchpad.net/bugs/65914 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
Closing again, since it's fixed in Feisty. ** Changed in: apport (Ubuntu) Status: Confirmed = Fix Released -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
Opening Edgy task. David, I'll consider this for a SRU. No need for a dapper task, though, apport was introduced in Edgy. ** Changed in: apport (Ubuntu Edgy) Status: Unconfirmed = Confirmed -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
Martin, Would it be possible to push this fix back to dapper and edgy. Launch pad is getting 10-15 crash reports per day for dapper and edgy users with ferefox issues. apport-retrace seems to work better (find more symbols) if used with a sources.list that points to the correct version of packages. Thanks David Sorry if I committed a sin by reopening this issue. ** Changed in: apport (Ubuntu) Status: Fix Released = Confirmed -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
apport (0.29) feisty; urgency=low . * apport-retrace: Do not crash if a linked library is not a dependency. Closes: LP#65914 * apport_utils.py: - Add test_find_file_package_diversion() selftest to check diversion handling. - find_file_package(): Check for and respect diversions. - Closes: LP#65917 * debian/apport.init, test-apport, use-local: Adapt to 'crashdump-helper' - 'crashdump' sysctl renaming in 2.6.19. * test-apport: Restore cwd even when failing a test. * problem_report.py, ProblemReport.write(): Support file-like objects as argument of file references to support direct reading from pipes. Add test case test_write_fileobj(). * apport: Support '-' as core file argument, in which case the core will be read from stdin. This paves the way for using Linux 2.6.19's 'pipe core_pattern' feature. Bump python-problem-report dependency to = 0.29 for this. * apport: Confine permissions of log file to root:adm 0640, just in case. * apport: Temporarily drop real u/gid to target user for the os.access() tests, so that normal users cannot verify the existence of a given inaccessible file. Add comprehensive tests to apport_utils' test suite and test-apport. Thanks to Kees Cook for this patch! * apport_utils.py, find_file_package(): Terminate fgrep options with '--' to avoid problems with funny file names. Thanks to Kees Cook for spotting this! * test-apport: Automatically detect whether ULIMIT_CORE is nonzero, and adapt tests accordingly: check that core still exists after invoking apport, and clean it up. * apport-retrace: Add new mode -g/--gdb which starts an interactive gdb session with the report's core dump. Add this to man/apport-retrace.1, too. * apport-retrace: If -c is given, completely remove the CoreDump field from the report instead of setting it to 'removed'. * test-apport: When using 'lib' mode, point APPORT_LOG_FILE to a temporary file. Print it if the test suite fails. * test-apport: Fix EXFAILure of the 'core dump works for non-writable cwds' test case. * preloadlib: Support -DPIPE_CORE mode which emulates the pipe-in-core_pattern mode of kernel 2.6.19. * test-apport: Build preload library with core piping. No more failed test suite checks in 'lib' mode. ** Changed in: apport (Ubuntu) Status: Fix Committed = Fix Released -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
Thanks for the patch! ** Changed in: apport (Ubuntu) Importance: Undecided = Medium Assignee: (unassigned) = Martin Pitt Status: Confirmed = In Progress -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
This happens because 1. apport-retrace found the library file which included in libc6-i686 but crashed package depends on libc6, and 2. this line 'linux-gate.so.1 = (0xe000)' -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
** Changed in: apport (Ubuntu) Status: In Progress = Fix Committed -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
This patch may help this problem. ** Attachment added: Patch fixing this problem http://librarian.launchpad.net/4934548/apport-retrace.diff -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
I was trying to retrace the crash log attached to Bug 65896 for the developers, but I got an error from apport-retrace. $ apport-retrace -d /var/crash/_usr_lib_mozilla-thunderbird_mozilla-thunderbird-bin.1000.crash Traceback (most recent call last): File /usr/bin/apport-retrace, line 189, in ? debug_dir = prepare_debugdir(report, options.cache_dir) File /usr/bin/apport-retrace, line 147, in prepare_debugdir needed_deps.add((pkg, dependency_versions[pkg])) KeyError As an aside, I don't actually think that there is a debug ddeb for this version of thunderbird, but I don't know if that matters. -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 65914] Re: apport-retrace -d fails with KeyError
Ran the exact same test as the reporter and with the same result. Marking as confirmed. $ sh -c 'kill -SEGV $$' Segmentation fault (core dumped) [...] $ apport-retrace -d /var/crash/_bin_sh.1000.crash Traceback (most recent call last): File /usr/bin/apport-retrace, line 189, in ? debug_dir = prepare_debugdir(report, options.cache_dir) File /usr/bin/apport-retrace, line 147, in prepare_debugdir needed_deps.add((pkg, dependency_versions[pkg])) KeyError ** Changed in: apport (Ubuntu) Status: Unconfirmed = Confirmed -- apport-retrace -d fails with KeyError https://launchpad.net/bugs/65914 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs