[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Martin Pitt
Sorry, not replacing it with report['Architecture'] (that's the dpkg architecture), but the last part of report['Uname'] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1336565 Title: apport-retrace

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Martin Pitt
The address signature isn't built during retracing, but directly on the affected machine when Apport post-processes the initial crash file. It's used for client-side detection of duplicates and for uploading to whoopsie, so it would be entirely useless to only generated it in the data center

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Launchpad Bug Tracker
** Branch linked: lp:apport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1336565 Title: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture To

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Martin Pitt
I committed http://bazaar.launchpad.net/~apport- hackers/apport/trunk/revision/2812 . Can you please confirm that this is what you meant, and that this problem does not affect the normal report flow? Thanks! ** Changed in: apport (Ubuntu) Status: Incomplete = Fix Committed -- You

Re: [Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Brian Murray
On Wed, Jul 02, 2014 at 06:11:24AM -, Martin Pitt wrote: The address signature isn't built during retracing, but directly on the affected machine when Apport post-processes the initial crash file. It's used for client-side detection of duplicates and for uploading to whoopsie, so it would

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Brian Murray
I believe it does affect the normal report flow as apport-retrace contains the following: 326 report.add_gdb_info(sandbox) 327 if options.sandbox == 'system': 328 apt_root = os.path.join(cache, 'system', 'apt') 329 elif options.sandbox: 330 apt_root =

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Martin Pitt
Adam rightfully pointed out that we shouldn't use the kernel architecture in SAS as one can run an i386 package on an am64 (i. e. x86_64) kernel. We don't have access to the package architecture at the point when we generate the SAS yet though, so we could just use readelf. However, thinking

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-02 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.14.4-0ubuntu1 --- apport (2.14.4-0ubuntu1) utopic; urgency=medium * New upstream bug fix release: - Adjust code to match latest pep8 checker. - Report.crash_signature_addresses(): Drop kernel architecture from

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-01 Thread Brian Murray
Martin - Could you provide some guidance here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1336565 Title: apport-retrace generates a different StacktraceAddressSignature depending on retracing

[Bug 1336565] Re: apport-retrace generates a different StacktraceAddressSignature depending on retracing architecture

2014-07-01 Thread Brian Murray
An alternative to os.uname()[4] would be report['Uname'].split()[2]. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1336565 Title: apport-retrace generates a different StacktraceAddressSignature