Bug 1634083 - gdb crashed when I tried generate backtrace for attached coredump file
Summary: gdb crashed when I tried generate backtrace for attached coredump file
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Buettner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-28 17:45 UTC by Mikhail
Modified: 2020-11-24 17:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-24 17:25:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
coredump file (11.83 MB, application/x-xz)
2018-09-28 17:45 UTC, Mikhail
no flags Details

Description Mikhail 2018-09-28 17:45:24 UTC
Created attachment 1488180 [details]
coredump file

Description of problem:
gdb crashed when I tried generate backtrace for attached coredump file

Version-Release number of selected component (if applicable):
$ gdb --version
GNU gdb (GDB) Fedora 8.2.50.20180917-2.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.

# rpm -q gdb
gdb-8.2.50.20180917-2.fc30.x86_64

How reproducible:


Steps to Reproduce:
1. Download and extract attached coredump file
2. $ gdb gnome-shell-coredump
3. (gdb) thread apply all bt full
4. --Type <RET> for more, q to quit, c to continue without paging--
type c

Actual results:
        sa = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
#7  0x00007f425441606c in internal_thread_func (userdata=0x55d25adf23d0) at pulsecore/thread-posix.c:81
        t = 0x55d25adf23d0
        __func__ = "internal_thread_func"
        __PRETTY_FUNCTION__ = "internal_thread_func"
#8  0x00007f426c76d58e in start_thread (arg=<optimized out>) at pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139921410995968, -5077639045660717731, 140731148224830, 140731148224831, 0, 139921410992640, 5119292945593093469, 5119540395178937693}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#9  0x00007f426c69c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Segmentation fault (core dumped)



Expected results:
gdb generate backtrace without crashing

Comment 1 Mikhail 2018-09-28 19:54:12 UTC
$ coredumpctl gdb 30295
           PID: 30295 (gdb)
           UID: 1000 (mikhail)
           GID: 1000 (mikhail)
        Signal: 11 (SEGV)
     Timestamp: Sat 2018-09-29 00:50:29 +05 (32s ago)
  Command Line: gdb /usr/libexec/gdb -c /var/tmp/coredump-3WgcQF
    Executable: /usr/libexec/gdb
 Control Group: /user.slice/user-1000.slice/user/gnome-terminal-server.service
          Unit: user
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (mikhail)
       Boot ID: dd8ef7b06b0b47f98bf6f69cf12537a2
    Machine ID: dc8ffd69bf494a6b83e7d6bf48281aa7
      Hostname: localhost.localdomain
       Storage: /var/lib/systemd/coredump/core.gdb.1000.dd8ef7b06b0b47f98bf6f69cf12537a2.30295.1538164229000000.lz4
       Message: Process 30295 (gdb) of user 1000 dumped core.
                
                Stack trace of thread 30295:
                #0  0x000055a7a103778c _ZNKSt6vectorI13context_stackSaIS0_EE5emptyEv (gdb)
                #1  0x000055a7a1042587 process_die (gdb)
                #2  0x000055a7a10410eb inherit_abstract_dies (gdb)
                #3  0x000055a7a10414bb read_func_scope (gdb)
                #4  0x000055a7a10425ad process_die (gdb)
                #5  0x000055a7a1041453 read_func_scope (gdb)
                #6  0x000055a7a10425ad process_die (gdb)
                #7  0x000055a7a1041453 read_func_scope (gdb)
                #8  0x000055a7a10425ad process_die (gdb)
                #9  0x000055a7a1041453 read_func_scope (gdb)
                #10 0x000055a7a10425ad process_die (gdb)
                #11 0x000055a7a1047569 read_lexical_block_scope (gdb)
                #12 0x000055a7a10421f5 process_die (gdb)
                #13 0x000055a7a1041453 read_func_scope (gdb)
                #14 0x000055a7a10425ad process_die (gdb)
                #15 0x000055a7a1041453 read_func_scope (gdb)
                #16 0x000055a7a10425ad process_die (gdb)
                #17 0x000055a7a104713b read_file_scope (gdb)
                #18 0x000055a7a1041c45 process_die (gdb)
                #19 0x000055a7a1047a76 process_full_comp_unit (gdb)
                #20 0x000055a7a1047f77 dw2_instantiate_symtab (gdb)
                #21 0x000055a7a1048088 dw2_find_pc_sect_compunit_symtab (gdb)
                #22 0x000055a7a1246818 _Z28find_pc_sect_compunit_symtabmP11obj_section (gdb)
                #23 0x000055a7a1068e99 _Z12select_frameP10frame_info (gdb)
                #24 0x000055a7a106a363 _Z12select_frameP10frame_info (gdb)
                #25 0x000055a7a0fdb1a7 _Z16core_target_openPKci (gdb)
                #26 0x000055a7a1113958 catch_command_errors (gdb)
                #27 0x000055a7a1114c8d captured_main_1 (gdb)
                #28 0x000055a7a0ef1d6f main (gdb)
                #29 0x00007eff0ec4c413 __libc_start_main (libc.so.6)
                #30 0x000055a7a0ef685e _start (gdb)
                
                Stack trace of thread 30299:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30302:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30301:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30298:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30307:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30303:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30305:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30306:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30300:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30308:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30310:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30312:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30314:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30311:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)
                
                Stack trace of thread 30304:
                #0  0x00007eff0f24467c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007eff0ea618db GC_wait_marker (libgc.so.1)
                #2  0x00007eff0ea56dea GC_help_marker (libgc.so.1)
                #3  0x00007eff0ea6188f GC_mark_thread (libgc.so.1)
                #4  0x00007eff0f23e58e start_thread (libpthread.so.0)
                #5  0x00007eff0ed25293 __clone (libc.so.6)

GNU gdb (GDB) Fedora 8.2.50.20180917-2.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"...
Reading symbols from /usr/libexec/gdb...Reading symbols from /usr/lib/debug/usr/libexec/gdb-8.2.50.20180917-2.fc30.x86_64.debug...done.
done.
[New LWP 30295]
[New LWP 30299]
[New LWP 30302]
[New LWP 30301]
[New LWP 30298]
[New LWP 30307]
[New LWP 30303]
[New LWP 30305]
[New LWP 30306]
[New LWP 30300]
[New LWP 30308]
[New LWP 30310]
[New LWP 30312]
[New LWP 30314]
[New LWP 30311]
[New LWP 30304]

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
[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

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

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

warning: Loadable section ".note.gnu.property" outside of ELF segments
Core was generated by `gdb /usr/libexec/gdb -c /var/tmp/coredump-3WgcQF'.
Program terminated with signal SIGSEGV, Segmentation fault.
gdb terminated by signal SEGV.

Comment 2 Ben Cotton 2019-08-13 16:58:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 3 Ben Cotton 2019-08-13 19:35:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 4 Ben Cotton 2020-11-03 15:02:58 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
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 '31'.

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 31 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 5 Ben Cotton 2020-11-24 17:25:05 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 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.