https://sourceware.org/bugzilla/show_bug.cgi?id=25963
Bug ID: 25963 Summary: [nm] crash at __memcpy_avx_unaligned () at memcpy-avx-unaligned.S:245 Product: binutils Version: 2.34 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: dkcjd2000 at gmail dot com Target Milestone: --- Created attachment 12521 --> https://sourceware.org/bugzilla/attachment.cgi?id=12521&action=edit crash test case Hello, I'm currently developing a new fuzzing feature, and I found a crash in nm. It crashed in __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245 I built it with Ubuntu 16.04 with gcc 5.4.0, and the following command to build nm from the source: ./configure --enable-targets=all ; make clean all -j 4; make install You can reproduce the crash with the following command: ./nm <attached file> The call stack of the crash is: Program received signal SIGSEGV, Segmentation fault. __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245 245 ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: No such file or directory. (gdb) bt #0 __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245 #1 0x00000000006d5fcd in memcpy (__len=536870868, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:53 #2 _bfd_vms_lib_archive_p (abfd=0xb15290, kind=kind@entry=vms_lib_alpha) at vms-lib.c:598 #3 0x00000000006d7527 in _bfd_vms_lib_alpha_archive_p (abfd=<optimized out>) at vms-lib.c:643 #4 0x000000000040d6a9 in bfd_check_format_matches (abfd=abfd@entry=0xb15290, format=format@entry=bfd_archive, matching=matching@entry=0x0) at format.c:328 #5 0x000000000040dbf9 in bfd_check_format (abfd=abfd@entry=0xb15290, format=format@entry=bfd_archive) at format.c:94 #6 0x0000000000404679 in display_file (filename=0x7fffffffe5b0 "./report/crash5") at nm.c:1371 #7 0x0000000000404d50 in main (argc=2, argv=0x7fffffffe318) at nm.c:1860 -- You are receiving this mail because: You are on the CC list for the bug.