[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/23061] objcopy segfault in coff_mangle_symbols
From: |
manisandro at gmail dot com |
Subject: |
[Bug binutils/23061] objcopy segfault in coff_mangle_symbols |
Date: |
Wed, 08 Aug 2018 22:19:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23061
Sandro Mani <manisandro at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manisandro at gmail dot com
--- Comment #5 from Sandro Mani <manisandro at gmail dot com> ---
I suppose a similar fix/sanity check is also needed for
a->u.auxent.x_sym.x_tagndx.l: running
mingw-objcopy --only-keep-debug LLVM.dll LLVM.dll.debug
results in:
Program received signal SIGSEGV, Segmentation fault.
0x000000000044ab5f in coff_mangle_symbols (address@hidden) at
../../bfd/coffgen.c:842
842 a->u.auxent.x_sym.x_tagndx.l =
(gdb) bt
#0 0x000000000044ab5f in coff_mangle_symbols (address@hidden)
at ../../bfd/coffgen.c:842
#1 0x0000000000459ed7 in coff_write_object_contents (abfd=0x54c760) at
../../bfd/coffcode.h:4231
#2 0x00000000004310fe in bfd_close (abfd=0x54c760) at ../../bfd/opncls.c:731
#3 0x0000000000409fa6 in copy_file
(address@hidden "LLVM.dll",
address@hidden "LLVM.dll.debug",
address@hidden,
output_target=<optimized out>, address@hidden,
address@hidden) at ../../binutils/objcopy.c:3530
#4 0x0000000000404853 in copy_main (argv=<optimized out>, argc=<optimized
out>) at ../../binutils/objcopy.c:5478
#5 main (argc=<optimized out>, argv=<optimized out>) at
../../binutils/objcopy.c:5582
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/23061] objcopy segfault in coff_mangle_symbols,
manisandro at gmail dot com <=
- [Bug binutils/23061] objcopy segfault in coff_mangle_symbols, nickc at redhat dot com, 2018/08/21
- [Bug binutils/23061] objcopy segfault in coff_mangle_symbols, manisandro at gmail dot com, 2018/08/23
- [Bug binutils/23061] objcopy segfault in coff_mangle_symbols, nickc at redhat dot com, 2018/08/23
- [Bug binutils/23061] objcopy segfault in coff_mangle_symbols, cvs-commit at gcc dot gnu.org, 2018/08/23
- [Bug binutils/23061] objcopy segfault in coff_mangle_symbols, amodra at gmail dot com, 2018/08/23