GDB segfault when loading elf

Bug #1809919 reported by Artur Troian on 2018-12-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
Undecided
Unassigned

Bug Description

Hi folks,
I have just updated from 7-2018-q2-update to 8-2018-q4-major and gdb segfaults while loading elf

Hosts: MacOS 10.14.2, Ubuntu

8-2018-q4-major with segfault:

arm-none-eabi-gdb
GNU gdb (GNU Tools for Arm Embedded Processors 8-2018-q4-major) 8.2.50.20181213-git
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 "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
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".
(gdb) file firmware.elf
Reading symbols from firmware.elf...
[1] 29555 segmentation fault arm-none-eabi-gdb

7-2018-q2-update on same elf file
~/Downloads/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gdb
GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 8.1.0.20180315-git
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 "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
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".
(gdb) file firmware.elf
Reading symbols from firmware.elf...done.
(gdb)

Core dumps for both MacOS and Ubuntu attached

Tags: gdb Edit Tag help
Artur Troian (troian) wrote :
description: updated
Artur Troian (troian) on 2018-12-27
tags: added: gdb
summary: - arm-none-eabi-gdb segfault when loading elf
+ GDB segfault when loading elf
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers