gdbtui shows "dl-debug.c:77: No such file or directory."

Bug #571356 reported by Rhys Ulerich
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gdb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gdb

Using gdbtui to run a simple program shows "dl-debug.c:77: No such file or directory." repeatedly. It seems that debugging can continue normally.

Observed on
   Ubuntu 10.04 LTS
   g++ 4:4.4.3-1ubuntu1
   gdb version 7.1-1ubuntu2

To reproduce:
1) Create a dumb program, e.g. foo.cpp:
     int main(int argc, char *argv[]) { return 0; }
2) Compile using g++ foo.cpp -o foo
3) Fire up gdb tui using gdbtui ./foo
4) Enter 'r' to run the program
5) Observe the error message

Revision history for this message
Peter Most (peter-most) wrote :

Still present in Kubuntu 10.10, g++ 4.4.5. But when I compile gdb 7.2 from the sources then this error vanishes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gdb (Ubuntu):
status: New → Confirmed
Revision history for this message
Pintu Kumar (pintu-iitb-81) wrote :

The repro steps mentioned is missing debug flag (-g) while compiling.

Revision history for this message
assassini (assassini) wrote :

This still seems to happen.

Ubuntu 13.04
gdb 7.5.91.20130417-cvs-ubuntu
clang 3.4-1~exp1 (trunk) (based on LLVM 3.4).

Revision history for this message
Rafael Vega (email-rafa) wrote :

I can also see the problem in Ubuntu 12.04 with GDB 7.4-2012.04 and GCC 4.6.3

Revision history for this message
Matthias Klose (doko) wrote :

closing this issue; please recheck with gdb in 14.04 LTS and 14.10. Feel free to re-open the issue if the problem persists.

Changed in gdb (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
acronix (qiuqiyuan) wrote :

This problem still exits.

Linux 3.13.0-32-generic
Ubuntu
Ubuntu 14.04.1 LTS
14.04
trusty
x86_64

Changed in gdb (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Mohd Shahril Bin Zainol Abidin (mohd-shahril-96) wrote :

This problem is still exist for me.

Linux 3.13.0-43-generic
Ubuntu 14.04.1 LTS x86_64

Gdb version:
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1

Revision history for this message
Gustavo Goretkin (gustavo-goretkin) wrote :

This also happens with `gdb -tui`

Revision history for this message
rich painter (painterengr) wrote :

STILL not fixed.

4.4.0-124-generic #148~14.04.1-Ubuntu SMP Thu May 3 07:26:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1

any c program compiled with -g and then
gdb -tui program
set a breakpoint
run

multiple dl-debug.c:74: No such file or directory.
will be produced.

Revision history for this message
Jay Ache (jayache80) wrote :

Can confirm, this problem exists on GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1

Compile:
gcc hello.c -g -o hello

run gdb:
gdb -tui hello

in gdb, start your program:
(gdb) run

displayed:
dl-debug.c:74 No such file or directory
dl-debug.c:74 No such file or directory
    [Inferior 1 (process ....) exited normally]

Do not get program output.

Starting gdb without -tui seems to work fine.

On Ubuntu Windows Subsystem for Linux (WSL)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.