https://sourceware.org/bugzilla/show_bug.cgi?id=28272
Bug ID: 28272 Summary: [strip] SEGV in group_signature - v2.30 Product: binutils Version: 2.30 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: tricker51449 at gmail dot com Target Milestone: --- Created attachment 13625 --> https://sourceware.org/bugzilla/attachment.cgi?id=13625&action=edit crash file Hello, I detect the exception in strip-v2.30 with clang-8.0 and the following configuration: $ CFLAGS="-fsanitize=address" CXXFLAGS="-fsanitize=address" ./configure --disable-shared && make -j Execute strip with the input in the attachment, then the crash occurs with the stack message by address sanitizer: strip -o <files> <input> AddressSanitizer:DEADLYSIGNAL ================================================================= ==1324==ERROR: AddressSanitizer: SEGV on unknown address 0x606000081d30 (pc 0x00000050efae bp 0x7ffdf4c8cc40 sp 0x7ffdf4c8caf0 T0) ==1324==The signal is caused by a READ memory access. \ #0 0x50efad in group_signature (/binutils-2.30-asan/bin/strip+0x50efad) #1 0x50e2f9 in is_strip_section (/binutils-2.30-asan/bin/strip+0x50e2f9) #2 0x504ce7 in setup_section (/binutils-2.30-asan/bin/strip+0x504ce7) #3 0x5d62ae in bfd_map_over_sections (/binutils-2.30-asan/bin/strip+0x5d62ae) #4 0x500e58 in copy_object (/binutils-2.30-asan/bin/strip+0x500e58) #5 0x4fcbe1 in copy_file (/binutils-2.30-asan/bin/strip+0x4fcbe1) #6 0x4f759c in strip_main (/binutils-2.30-asan/bin/strip+0x4f759c) #7 0x4f6a3d in main (/binutils-2.30-asan/bin/strip+0x4f6a3d) #8 0x7f1743c02bf6 in __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:310 #9 0x41b659 in _start (/binutils-2.30-asan/bin/strip+0x41b659) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/binutils-2.30-asan/bin/strip+0x50efad) in group_signature ==1324==ABORTING Thanks & Best Regards -- You are receiving this mail because: You are on the CC list for the bug.