[Bug binutils/32732] Binutils (objcopy) generates abnormally large, non-functional binaries since 121a3f4b4f4aac216abe239f6f3bd491b63e5e34

2025-03-30 Thread basjetimmer at yahoo dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32732

--- Comment #7 from Bastiaan Timmer  ---
Thank you again for your work on this. I can confirm that with the patches
applied the issues I encountered disappear: the libraries are back to their
normal sizes and applications linked to them are able to run again.

Please let me know if there's anything else I can do.

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


[Bug binutils/32829] New: SEGV on objdump function debug_type_samep

2025-03-30 Thread 2060909445 at qq dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32829

Bug ID: 32829
   Summary: SEGV on objdump function debug_type_samep
   Product: binutils
   Version: 2.44
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: 2060909445 at qq dot com
  Target Milestone: ---

Created attachment 16004
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16004&action=edit
it is the POC_FILE

environment: GNU objdump (GNU Binutils) 2.44 on ubuntu 22.04
command: objdump  -S -D -x -s -Z -g -e -G -T -t -L -R --disassemble-zeroes
--insn-width=32 --disassembler-color=extended POC_FILE

information from asan:
==252460==ERROR: AddressSanitizer: SEGV on unknown address 0x (pc
0x564ad7ebf630 bp 0x sp 0x7fff4ce08be0 T0)
==252460==The signal is caused by a READ memory access.
==252460==Hint: address points to the zero page.
#0 0x564ad7ebf630 in debug_type_samep
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:3113
#1 0x564ad7ebe744 in debug_class_type_samep
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:3290
#2 0x564ad7ebe744 in debug_type_samep
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:3096
#3 0x564ad7ec333a in debug_set_class_id
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2979
#4 0x564ad7ec62f7 in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2514
#5 0x564ad7ec4d7c in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2563
#6 0x564ad7ec4d7c in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2563
#7 0x564ad7ec4e3a in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2568
#8 0x564ad7ec4980 in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2545
#9 0x564ad7ec4d7c in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2563
#10 0x564ad7ec4d7c in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2563
#11 0x564ad7ec4e3a in debug_write_type
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2568
#12 0x564ad7ec9de2 in debug_write_name
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2384
#13 0x564ad7ed94e8 in debug_write
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:2352
#14 0x564ad7eb7e26 in print_debugging_info
/home/ubuntu/asan_program/binutils-2.44/binutils/prdbg.c:296
#15 0x564ad7e0cc9c in dump_bfd objdump.c:5804
#16 0x564ad7e10414 in display_object_bfd objdump.c:5855
#17 0x564ad7e10414 in display_any_bfd objdump.c:5934
#18 0x564ad7dd0742 in display_file objdump.c:5955
#19 0x564ad7dd0742 in display_file objdump.c:5938
#20 0x564ad7dd0742 in main objdump.c:6364
#21 0x7fa661dc4d8f in __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
#22 0x7fa661dc4e3f in __libc_start_main_impl ../csu/libc-start.c:392
#23 0x564ad7dd4bc4 in _start
(/home/ubuntu/asan_program/binutils-2.44/binutils/objdump+0x14dbc4)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV
/home/ubuntu/asan_program/binutils-2.44/binutils/debug.c:3113 in
debug_type_samep
==252460==ABORTING

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