← Back to team overview

touch-packages team mailing list archive

[Bug 1376281] [NEW] gdb: "Can't read symbols from system-supplied DSO at 0x3fffb7fa0000: File truncated"

 

You have been subscribed to a public bug:

---Problem Description---
GDB produces an odd message about a failure to read symbols from the system DSO when running executables on LE Ubuntu 14.10 with 3.16 kernel.  This is a regression from LE Ubuntu 14.04, where the message is not produced.

Bad case:

$ uname -r
3.16.0-6-generic
$ gdb /bin/ls
GNU gdb (Ubuntu 7.7.91.20140723-0ubuntu1) 7.7.91.20140723-cvs
...
(gdb) run
Starting program: /bin/ls 
Can't read symbols from system-supplied DSO at 0x3fffb7fa0000: File truncated
...
[Inferior 1 (process 1573) exited normally]
(gdb) 

Note the "Can't read symbols..." message.

Good case (LE Ubuntu 14.04):

$ uname -r
3.13.0-32-generic
$ gdb /bin/ls
GNU gdb (Ubuntu 7.7-0ubuntu3.2) 7.7
...
(gdb) run
Starting program: /bin/ls 
...
[Inferior 1 (process 91140) exited normally]
(gdb)

I haven't tried on the 3.15 kernel, so I don't know if the problem is
sensitve to the 3.16 kernel being ELFv2.

 
---uname output---
Linux tul115p1 3.16.0-6-generic #11-Ubuntu SMP Mon Jul 28 02:00:45 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
 
Machine Type = 8286-42A 
 
---Steps to Reproduce---
 See description; occurs when running any application under gdb.
 
The failing output above is with the 3.16 kernel supplied by Ubuntu, so the problem happens both with locally-built and Canonical/Ubuntu-supplied kernels on 14.10.

This issue was recently fixed on upstream binutils-gdb:

https://sourceware.org/ml/gdb-patches/2014-09/msg00594.html

The attached patch against gdb 7.8-0ubuntu1 for Ubuntu 14.10 fixes the
issue.

** Affects: gdb (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: architecture-ppc64le bugnameltc-114134 severity-low targetmilestone-inin1410
-- 
gdb: "Can't read symbols from system-supplied DSO at 0x3fffb7fa0000: File truncated"
https://bugs.launchpad.net/bugs/1376281
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu.