Bug 1033362 - gdb continue results takes ages to actually continue
Summary: gdb continue results takes ages to actually continue
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kratochvil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 23:40 UTC by Dave Airlie
Modified: 2015-06-29 13:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 13:06:27 UTC
Type: Bug


Attachments (Terms of Use)

Description Dave Airlie 2013-11-21 23:40:55 UTC
Description of problem:

Install F20 in a VM, debuginfo-intsall xorg-x11-server-Xorg xorg-x11-drv-qxl

go to runlevel 3, 

service gdm start,

at same time do gdb Xorg `pidof Xorg`

break drmmode_show_cursor
break drmmode_hide_cursor

Now wait until it hits a breakpoint, type continue and watch in top that gdb takes a lot of CPU for a while, sometimes here it seems to never actually continue, but maybe I just haven't waited long enough.

Comment 1 Dave Airlie 2013-11-21 23:47:35 UTC
some backtracing

2108	  ALL_PRIMARY_SYMTABS (objfile, s)
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-9.fc20.x86_64 elfutils-libelf-0.157-1.fc20.x86_64 libacl-2.2.52-4.fc20.x86_64 libattr-2.4.47-3.fc20.x86_64 libcap-2.22-7.fc20.x86_64 libdb-5.3.28-1.fc20.x86_64 libgcc-4.8.2-1.fc20.x86_64 lua-5.2.2-5.fc20.x86_64 nss-softokn-3.15.2-2.fc20.x86_64 nss-softokn-freebl-3.15.2-2.fc20.x86_64 pcre-8.33-2.fc20.1.x86_64 popt-1.13-15.fc20.x86_64 rpm-libs-4.11.1-7.fc20.x86_64 sqlite-3.8.1-1.fc20.x86_64
(gdb) bt
#0  0x000000000057fa1d in find_pc_sect_symtab (pc=139786269461456, section=0x0)
    at ../../gdb/symtab.c:2108
#1  0x000000000057c07d in blockvector_for_pc_sect (
    pc=pc@entry=139786269461456, section=<optimized out>, 
    pblock=pblock@entry=0x7fff5afbc0d0, symtab=symtab@entry=0x0)
    at ../../gdb/block.c:168
#2  0x000000000057c21d in block_for_pc_sect (section=<optimized out>, 
    pc=139786269461456) at ../../gdb/block.c:246
#3  block_for_pc (pc=pc@entry=139786269461456) at ../../gdb/block.c:258
#4  0x0000000000680dfb in skip_inline_frames (ptid=...)
    at ../../gdb/inline-frame.c:315
#5  0x000000000059fe4c in handle_inferior_event (ecs=ecs@entry=0x7fff5afbc6a0)
    at ../../gdb/infrun.c:4114
#6  0x00000000005a3b9a in wait_for_inferior () at ../../gdb/infrun.c:2755
#7  0x00000000005a4097 in proceed (addr=addr@entry=18446744073709551615, 
    siggnal=siggnal@entry=GDB_SIGNAL_DEFAULT, step=step@entry=0)
    at ../../gdb/infrun.c:2336
#8  0x0000000000598832 in continue_1 (all_threads=all_threads@entry=0)
    at ../../gdb/infcmd.c:726
#9  0x0000000000598991 in continue_command (args=0x0, from_tty=1)

I can return all the way up to wait_for_inferior, then it goes back in again.

Comment 2 Fedora End Of Life 2015-05-29 09:49:38 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-06-29 13:06:27 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.