Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1422836
Summary: | gdb gets stuck for unreasonable time with 100% CPU at program start | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dov Grobgeld <dov.grobgeld> |
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | gbenson, jan.kratochvil, palves, pmuldoon, sergiodj, tom |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-16 12:30:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dov Grobgeld
2017-02-16 11:23:33 UTC
FYI, I just tested compling the latest binutils-gdb from source (commit 90571206059), and it does *not* suffer from the delay reported in this bug. (In reply to Dov Grobgeld from comment #0) > #7 0x00005555558da61e in dwarf2_build_psymtabs_hard ... > #13 symbol_file_add_with_addrs (abfd=abfd@entry=0x55555eb8e5f0, name=name@entry=0x555557c9c2c0 "/usr/lib/debug/usr/lib64/libQt5WebEngineCore.so.5.7.1.debug", add_flags=add_flags@entry=8, F-25 is unfortunately accidentally missing .gdb_index to accelerate opening of the debuginfo files - Bug 1410907. It is fixed now but the debuginfo rpms which have not been rebuilt yet will still lack this way. F-24 and F-26 should be OK. I have tested: FAIL: /tmp/qt5-qtwebengine-debuginfo-5.7.1-4.fc25.x86_64$ readelf -WS ./usr/lib/debug/usr/lib64/libQt5WebEngineCore.so.5.7.1.debug|grep gdb_index /tmp/qt5-qtwebengine-debuginfo-5.7.1-4.fc25.x86_64$ _ PASS: /tmp/qt5-qtwebengine-debuginfo-5.7.1-6.fc26.x86_64$ readelf -WS ./usr/lib/debug/usr/lib64/libQt5WebEngineCore.so.5.7.1.debug|grep gdb_index [37] .gdb_index PROGBITS 0000000000000000 8c2023b4 38037c3 00 0 0 1 /tmp/qt5-qtwebengine-debuginfo-5.7.1-6.fc26.x86_64$ _ (In reply to Dov Grobgeld from comment #1) > FYI, I just tested compling the latest binutils-gdb from source (commit > 90571206059), and it does *not* suffer from the delay reported in this bug. I guess this is because you haven't used: configure --with-separate-debug-dir=/usr/lib/debug And therefore your GDB does not load the debuginfo rpm for real debugging of the libraries. You can simulate the same with Fedora GDB using --readnever option. Although that will not read even the main executable debug info so maybe you may prefer to use the option: -iex 'set debug-file-directory /mordor' *** This bug has been marked as a duplicate of bug 1410907 *** |