Op vrijdag 27-11-2009 om 22:44 uur [tijdzone +0000], schreef Martin
Pitt:
> Alain Kalker [2009-11-26  2:25 -0000]:
> > How do I pass that option to apport-retrace from apport-chroot?
> 
> You can't: In a chroot (especially a minimal pbuilder-like one) the
> system relies on _existing_ and correct Package: and Dependencies:
> fields in order to be able to install the missing packages and
> -dbgsyms. So you can't rebuild package information in a chroot, this
> has to happen on the system where the crash happened.

Ok, sorry for the misunderstanding. At the time I wrote down that
question, I didn't know enough of what apport-retrace -R is supposed to
do.
For proper crash analysis, it's important to gather as much evidence as
possible, as soon as possible, so I assumed apport's crash interceptor
would gather enough information to create a 1:1 mapping to an
application's requirements. Enough information to do offline analysis
on.

This does raise another question: why do you use a package's
Dependencies and not the actual libraries from ProcMaps (including that
is a very smart move BTW :-) ) to decide which -dbgsym packages to
install?
For crash analysis it is not that important which packages a package
_claims_ to Depend on, it matters which libraries were _actually in its
address space_ when it crashed.
For example, an application might have pulled in a library from another
package during dynamic linking, or it might have dlopen'ed a plugin
library either of which were not explicitly listed as a dependency.
Heck, even a piece of malware might have tricked the application into
loading a totally unrelated library.
That's what crash analysis is supposed to concern itself with, IMO :-)

Kind regards,

Alain

-- 
apport doesn't include Package in report when invoked on core dump
https://bugs.launchpad.net/bugs/487759
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

Reply via email to