gdb message "Got object file from memory but can't read symbols: File truncated."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Invalid
|
Unknown
|
|||
gdb (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Won't Fix
|
High
|
Unassigned |
Bug Description
Test Case
---------
$ 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.
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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://
Find the GDB manual and other documentation resources online at:
<http://
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: BugDistroRelease: Ubuntu 14.10
Package: gdb 7.7.91.
ProcVersionSign
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)
UpgradeStatus: Upgraded to utopic on 2014-05-08 (77 days ago)
Changed in python: | |
status: | Unknown → New |
Changed in gdb (Ubuntu): | |
importance: | Undecided → High |
Changed in gdb (Ubuntu Utopic): | |
importance: | Undecided → High |
status: | New → In Progress |
description: | updated |
Changed in python: | |
status: | New → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.