← Back to team overview

desktop-packages team mailing list archive

[Bug 1462491] [NEW] StacktraceSource contains errors instead of source code

 

Public bug reported:

The StacktraceSource information being added by apport-retrace contains Error messages see the attachment in bug 1459716.
Here's part of it:

#0  0xb7751be0 in __kernel_vsyscall ()
#1  0xb6813057 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
  [Error: ../sysdeps/unix/sysv/linux/raise.c was not found in source tree]
#2  0xb6814699 in __GI_abort () at abort.c:89
  [Error: abort.c was not found in source tree]
#3  0xb685119e in __libc_message (do_abort=1, fmt=0xb694b444 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
  [Error: ../sysdeps/posix/libc_fatal.c was not found in source tree]

I think part of the issue is that apport-retrace only ever searches the
srcdir returned by get_source_tree (which is a temporary directory) and
doesn't search the sandbox for the filename.  Another problem is that
find_file_dir is being passed a filename like
"../sysdeps/unix/sysv/linux/raise.c" which won't be found even if that
were in the srcdir.

** Affects: apport
     Importance: Undecided
         Status: New

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: apport
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1462491

Title:
  StacktraceSource contains errors instead of source code

Status in Apport crash detection/reporting:
  New
Status in apport package in Ubuntu:
  New

Bug description:
  The StacktraceSource information being added by apport-retrace contains Error messages see the attachment in bug 1459716.
  Here's part of it:

  #0  0xb7751be0 in __kernel_vsyscall ()
  #1  0xb6813057 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
    [Error: ../sysdeps/unix/sysv/linux/raise.c was not found in source tree]
  #2  0xb6814699 in __GI_abort () at abort.c:89
    [Error: abort.c was not found in source tree]
  #3  0xb685119e in __libc_message (do_abort=1, fmt=0xb694b444 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
    [Error: ../sysdeps/posix/libc_fatal.c was not found in source tree]

  I think part of the issue is that apport-retrace only ever searches
  the srcdir returned by get_source_tree (which is a temporary
  directory) and doesn't search the sandbox for the filename.  Another
  problem is that find_file_dir is being passed a filename like
  "../sysdeps/unix/sysv/linux/raise.c" which won't be found even if that
  were in the srcdir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1462491/+subscriptions


Follow ups

References