Bug 1638989 - gdb crashing
Summary: gdb crashing
Keywords:
Status: CLOSED DUPLICATE of bug 1638798
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Durigan Junior
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-13 20:10 UTC by Tomasz Kłoczko
Modified: 2018-10-13 20:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-13 20:34:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomasz Kłoczko 2018-10-13 20:10:40 UTC
For example during bash build:

+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.4.23-6.fc30 --unique-debug-suffix -4.4.23-6.fc30.x86_64 --unique-debug-src-base bash-4.4.23-6.fc30.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/tkloczko/rpmbuild/BUILD/bash-4.4
explicitly decompress any DWARF compressed ELF sections in /home/tkloczko/rpmbuild/BUILDROOT/bash-4.4.23-6.fc30.x86_64/usr/bin/bash
extracting debug info from /home/tkloczko/rpmbuild/BUILDROOT/bash-4.4.23-6.fc30.x86_64/usr/bin/bash

Tryiing to debug core file:

# file core.gdb.1000.33d83b83743f48789cde7ca7640ea572.9471.1539461127000000 
core.gdb.1000.33d83b83743f48789cde7ca7640ea572.9471.1539461127000000: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from 'gdb --batch -nx -iex set auto-load no -ex file /home/tkloczko/rpmbuild/BUILDROO', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/bin/gdb', platform: 'x86_64'

# file core.gdb.1000.33d83b83743f48789cde7ca7640ea572.9471.1539461127000000 
core.gdb.1000.33d83b83743f48789cde7ca7640ea572.9471.1539461127000000: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from 'gdb --batch -nx -iex set auto-load no -ex file /home/tkloczko/rpmbuild/BUILDROO', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/bin/gdb', platform: 'x86_64'

[root@domek coredump]# gdb -c core.gdb.1000.33d83b83743f48789cde7ca7640ea572.9471.1539461127000000 
GNU gdb (GDB) Fedora 8.2.50.20181006-4.fc30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 9471]
[New LWP 9473]
[New LWP 9472]
[New LWP 9474]
Reading symbols from /usr/libexec/gdb...
Reading symbols from /usr/lib/debug/usr/libexec/gdb-8.2.50.20181006-4.fc30.x86_64.debug...

warning: Ignoring non-absolute filename: <linux-vdso.so.1>
Missing separate debuginfo for linux-vdso.so.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/12/945ae11e145cbdf017b8c26a423fc4f013cab7

warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments

warning: Loadable section ".note.gnu.property" outside of ELF segments
Core was generated by `gdb --batch -nx -iex set auto-load no -ex file /home/tkloczko/rpmbuild/BUILDROO'.
Program terminated with signal SIGSEGV, Segmentation fault.
Segmentation fault (core dumped)

Comment 1 Sergio Durigan Junior 2018-10-13 20:34:05 UTC
Thanks for the report.  This bug is already being tracked by Bug 1638798.  I'm closing this one as a duplicate.  Feel free to follow the progress there.

*** This bug has been marked as a duplicate of bug 1638798 ***


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