[Bug 1585702] Re: not possible to retrace ppc64el crashes

Brian Murray brian at ubuntu.com
Thu May 26 16:48:12 UTC 2016


If you don't want to remove the arch checks this works:

           if 'aarch64' in arch:
               command += ['--ex', 'set architecture aarch64', '--ex', 'set gnutarget elf64-littleaarch64']
           elif 'ppc64le' in arch:
               command += ['--ex', 'set architecture powerpc:common64', '--ex', 'set gnutarget elf64-powerpcle']


** Also affects: apport (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: apport (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: apport (Ubuntu)
       Status: New => Triaged

** Changed in: apport (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  not possible to retrace ppc64el crashes

Status in Apport:
  New
Status in apport package in Ubuntu:
  Triaged

Bug description:
  I was trying to retrace a ppc64el crash I found and ran into the
  following issue:

  Calling gdb command: gdb-multiarch --ex 'set architecture powerpc:common' --ex 'set gnutarget elf32-powerpc' --ex 'set debug-file-directory /tmp/apport_sandbox_Y6fXCx/usr/lib/debug' --ex 'set solib-absolute-prefix /tmp/apport_sandbox_Y6fXCx' --ex 'file "/tmp/apport_sandbox_Y6fXCx//usr/bin/xfce4-panel"' --ex 'core-file /tmp/apport_core_N0Vrmm'
  GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
  Copyright (C) 2014 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>.
  Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.
  For help, type "help".
  Type "apropos word" to search for commands related to "word".
  The target architecture is assumed to be powerpc:common
  Architecture of file not recognized.
  [New LWP 44625]
  warning: Selected architecture powerpc:common is not compatible with reported target architecture powerpc:common64
  /build/buildd/gdb-7.7.1/gdb/gdbarch.c:3217: internal-error: gdbarch_elf_make_msymbol_special: Assertion `gdbarch != NULL' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.

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



More information about the foundations-bugs mailing list