← Back to team overview

touch-packages team mailing list archive

[Bug 1351018] Re: issues debugging program threads on 12.04

 

*** This bug is a duplicate of bug 1352591 ***
    https://bugs.launchpad.net/bugs/1352591

This is actually an issue with apport-retrace and how it manages its
sandbox directory.  I'll mark this as a duplicate of the new bug I've
reported about apport.

** This bug has been marked a duplicate of bug 1352591
   apport-retrace does not update libraries in a sandbox

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1351018

Title:
  issues debugging program threads on 12.04

Status in “gdb” package in Ubuntu:
  Incomplete

Bug description:
  The Ubuntu Error Tracker is still experiencing some failures when
  trying to retrace armhf crashes from Utopic.  The retracers for the
  Error Tracker are running 12.04 (with a backported version of gdb from
  Trusty) and I've attempted to manually retrace a failing .crash file
  using apport-retrace.  Here is the output from gdb with 'set debug
  libthread-db 1' in my .gdbinit file.

  GNU gdb (Ubuntu 7.7-0ubuntu3.2~12.04.1) 7.7
  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 arm
  Reading symbols from /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox//usr/lib/arm-linux-gnueabihf/indicator-network/indicator-network-service...Reading symbols from /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/usr/lib/debug/.build-id/5a/851287dfe6af740803822fa635ea6fa5fa5f19.debug...done.
  done.
  warning: core file may not match specified executable file.
  [New LWP 2270]
  [New LWP 2284]
  [New LWP 2285]
  Trying host libthread_db library: libthread_db.so.1.
  Host libthread_db.so.1 resolved to: /lib/x86_64-linux-gnu/libthread_db.so.1.
  td_ta_new failed: versions of libpthread and libthread_db do not match
  Trying host libthread_db library: /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/usr/lib/debug/lib/arm-linux-gnueabihf/libthread_db.so.1.
  open failed: No such file or directory.
  Trying host libthread_db library: /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/lib/arm-linux-gnueabihf/libthread_db.so.1.
  dlopen failed: /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/lib/arm-linux-gnueabihf/libthread_db.so.1: wrong ELF class: ELFCLASS32.
  thread_db_load_search returning 0
  warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
  Trying host libthread_db library: libthread_db.so.1.
  Host libthread_db.so.1 resolved to: /lib/x86_64-linux-gnu/libthread_db.so.1.
  td_ta_new failed: versions of libpthread and libthread_db do not match
  Trying host libthread_db library: /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/usr/lib/debug/lib/arm-linux-gnueabihf/libthread_db.so.1.
  open failed: No such file or directory.
  Trying host libthread_db library: /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/lib/arm-linux-gnueabihf/libthread_db.so.1.
  dlopen failed: /srv/daisy.staging.ubuntu.com/production/cache/Ubuntu 14.10/cache-DhmXbj/sandbox/lib/arm-linux-gnueabihf/libthread_db.so.1: wrong ELF class: ELFCLASS32.
  thread_db_load_search returning 0
  warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
  Core was generated by `/usr/lib/arm-linux-gnueabihf/indicator-network/indicator-network-service'.
  Program terminated with signal SIGABRT, Aborted.
  #0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
  44      ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.

  When retracing the same crash file on Trusty with the same version of
  gdb I receive the following messages:

  Trying host libthread_db library: libthread_db.so.1.
  Host libthread_db.so.1 resolved to: /lib/x86_64-linux-gnu/libthread_db.so.1.
  Found 3 new threads in iteration 0.
  Found 0 new threads in iteration 1.
  Found 0 new threads in iteration 2.
  Found 0 new threads in iteration 3.
  Found 0 new threads in iteration 4.
  [Thread debugging using libthread_db enabled]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1351018/+subscriptions


References