← Back to team overview

touch-packages team mailing list archive

[Bug 1348275] Re: gdb message "Got object file from memory but can't read symbols: File truncated."

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gdb (Ubuntu)
       Status: New => Confirmed

-- 
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/1348275

Title:
  gdb message "Got object file from memory but can't read symbols: File
  truncated."

Status in “gdb” package in Ubuntu:
  Confirmed

Bug description:
  $ cat >>foo.c<<EOT
  #include <stdio.h>
  #include <stdlib.h>

  int
  main (int argc, char *argv[])
  {
      printf ("hello world\n");
      exit (EXIT_SUCCESS);
  }
  EOT
  $ gcc -ggdb -O0 foo.c
  $ ./a.out
  hello world
  $ gdb ./a.out
  GNU gdb (Ubuntu 7.7.91.20140723-0ubuntu1) 7.7.91.20140723-cvs
  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"...
  Reading symbols from ./a.out...done.
  (gdb) r
  Starting program: /tmp/a.out
  Got object file from memory but can't read symbols: File truncated.                 # XXX: <<< What is this? XXX:
  hello world
  [Inferior 1 (process 21518) exited normally]
  (gdb)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: gdb 7.7.91.20140723-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-5.10-generic 3.16.0-rc6
  Uname: Linux 3.16.0-5-generic x86_64
  ApportVersion: 2.14.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jul 24 17:55:11 2014
  InstallationDate: Installed on 2014-04-11 (103 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
  SourcePackage: gdb
  UpgradeStatus: Upgraded to utopic on 2014-05-08 (77 days ago)

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


References