bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _


From: tromey at sourceware dot org
Subject: [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt
Date: Fri, 23 Aug 2024 18:40:12 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32109

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
This seems to be a bug in BFD:

                  if (sec == NULL)
                    /* Invoking %pA with a null section pointer is an
                       internal error.  */
                    abort ();
coming from:

#0  _bfd_doprnt (print=print@entry=0xf3fa73 <print_error_callback(void*, char
const*, ...)>, stream=stream@entry=0x7fffffffd780, 
    format=format@entry=0x2600780 "%pB(%pA): string table is corrupt",
args=args@entry=0x7fffffffd690) at ../../binutils-gdb/bfd/bfd.c:1237
#1  0x00000000016088e7 in _bfd_print (ap=0x7fffffffd7f8, fmt=0x2600780
"%pB(%pA): string table is corrupt", stream=0x7fffffffd780, 
    print_func=0xf3fa73 <print_error_callback(void*, char const*, ...)>) at
../../binutils-gdb/bfd/bfd.c:1497
#2  bfd_print_error (print_func=0xf3fa73 <print_error_callback(void*, char
const*, ...)>, stream=0x7fffffffd780, fmt=0x2600780 "%pB(%pA): string table is
corrupt", ap=0x7fffffffd7f8)
    at ../../binutils-gdb/bfd/bfd.c:1523
#3  0x0000000000f3fba2 in gdb_bfd_error_handler(const char *, typedef
__va_list_tag __va_list_tag *) (fmt=0x2600780 "%pB(%pA): string table is
corrupt", ap=0x7fffffffd7f8)
    at ../../binutils-gdb/gdb/gdb_bfd.c:1246
#4  0x0000000001608876 in _bfd_error_handler (fmt=<optimized out>) at
../../binutils-gdb/bfd/bfd.c:1726
#5  0x000000000162d327 in bfd_elf_get_str_section (abfd=abfd@entry=0x31c0db0,
shindex=shindex@entry=30) at ../../binutils-gdb/bfd/elf.c:303
#6  0x000000000162d3cd in bfd_elf_string_from_elf_section (abfd=0x31c0db0,
shindex=30, strindex=771778675) at ../../binutils-gdb/bfd/elf.c:341
#7  0x000000000162d829 in bfd_elf_string_from_elf_section (strindex=<optimized
out>, shindex=<optimized out>, abfd=<optimized out>) at
../../binutils-gdb/bfd/elf.c:560
#8  bfd_elf_sym_name (abfd=abfd@entry=0x31c0db0,
symtab_hdr=symtab_hdr@entry=0x31c0f90, isym=isym@entry=0x31c23f0,
sym_sec=sym_sec@entry=0x0) at ../../binutils-gdb/bfd/elf.c:553
#9  0x000000000166e0b2 in bfd_elf32_slurp_symbol_table (abfd=0x31c0db0,
symptrs=0x308eee0, dynamic=false) at ../../binutils-gdb/bfd/elfcode.h:1358

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]