From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E068C385742A; Mon, 11 Jul 2022 08:15:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E068C385742A From: "werner at suse dot de" To: glibc-bugs@sourceware.org Subject: [Bug string/29327] A SIGSEGV in hardware optimized memset for sse2 __memset_sse2_unaligned_erms() Date: Mon, 11 Jul 2022 08:15:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: 2.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: werner at suse dot de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 08:15:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29327 --- Comment #13 from Dr. Werner Fink --- (In reply to H.J. Lu from comment #11) > Please use LD_AUDIT to print out RDX and RDI for memset. ... I've tried that with exporting LD_AUDIT=3D/lib64/libmemusage.so:/lib64/libc.so.6 in gdb (without `=3D' and= `set environment`) as well as with preloading /lib64/libmemusage.so but this sho= ws (gdb) set environment LD_AUDIT /lib64/libmemusage.so:/lib64/libc.so.6 (gdb) set environment LD_PRELOAD /lib64/libmemusage.so (gdb) set environment MEMUSAGE_OUTPUT /dev/null (gdb) set environment MEMUSAGE_TRACE_MMAP yes (gdb) run Starting program: /usr/lib64/kodi/kodi.bin=20 During startup program terminated with signal SIGSEGV, Segmentation fault. using a core dump shows with coredumpctl=20 Message: Process 2029 (kodi.bin) of user 223 dumped core. Module /usr/lib64/kodi/kodi.bin with build-id e1ff57cc18fdbfb94f9c868d0390ae072a644e1a Module /usr/lib64/libc.so.6 with build-id 712c0cad2c922965a1c0d127ae86a118675ff13a Module /usr/lib64/libmemusage.so with build-id 1e3a860bf330a7dbf351bdf99fc7d54bdf78338e Module /usr/lib64/ld-linux-x86-64.so.2 with build-id 97b21d01a6af70cd365d50707e35559701f446ac Module linux-vdso.so.1 with build-id 8afe55b49ea313a498cf2943d1ed322dd2573036 Stack trace of thread 2029: #0 0x00007fb5b14a32fc ___dlsym (/usr/lib64/libc.so.6 + 0xa32fc) #1 0x00007fb5b17fab31 me (/usr/lib64/libmemusage.so + 0x1b= 31) #2 0x00007fb5b199418e call_init (/usr/lib64/ld-linux-x86-64.so.2 + 0x818e) #3 0x00007fb5b199428c _dl_init (/usr/lib64/ld-linux-x86-64.so.2 + 0x828c) #4 0x00007fb5b19a9df8 _dl_catch_exception (/usr/lib64/ld-linux-x86-64.so.2 + 0x1ddf8) #5 0x00007fb5b199b5e6 dl_open_worker (/usr/lib64/ld-linux-x86-64.so.2 + 0xf5e6) #6 0x00007fb5b19a9db9 _dl_catch_exception (/usr/lib64/ld-linux-x86-64.so.2 + 0x1ddb9) #7 0x00007fb5b199b9cc _dl_open (/usr/lib64/ld-linux-x86-64.so.2 + 0xf9cc) #8 0x00007fb5b19acc2e dlmopen_doit (/usr/lib64/ld-linux-x86-64.so.2 + 0x20c2e) #9 0x00007fb5b19a9db9 _dl_catch_exception (/usr/lib64/ld-linux-x86-64.so.2 + 0x1ddb9) #10 0x00007fb5b19a9e63 _dl_catch_error (/usr/lib64/ld-linux-x86-64.so.2 + 0x1de63) #11 0x00007fb5b19b0332 load_audit_module (/usr/lib64/ld-linux-x86-64.so.2 + 0x24332) #12 0x00007fb5b19abf7f _dl_sysdep_start (/usr/lib64/ld-linux-x86-64.so.2 + 0x1ff7f) #13 0x00007fb5b19ade9e _dl_start_final (/usr/lib64/ld-linux-x86-64.so.2 + 0x21e9e) #14 0x00007fb5b19acb98 _start (/usr/lib64/ld-linux-x86-64.s= o.2 + 0x20b98) ELF object binary architecture: AMD x86-64 but gdb shows with this core Reading symbols from /usr/lib64/kodi/kodi.bin... Reading symbols from /usr/lib/debug/usr/lib64/kodi/kodi.bin-19.4-2.14.x86_64.debug... [New LWP 2029] Core was generated by `/usr/lib64/kodi/kodi.bin'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fb5b14a32fc in ?? () (gdb) bt #0 0x00007fb5b14a32fc in ?? () #1 0x0000000000000007 in ?? () #2 0x00007fb5b1458872 in ?? () #3 0x00007fb5b1988440 in ?? () #4 0x00007fb5b17fdce0 in ?? () #5 0x0000000000000001 in ?? () #6 0xce7c2412b4499900 in ?? () #7 0x00007ffd4fd8bc48 in ?? () #8 0x0000000000000000 in ?? () (gdb) quit --=20 You are receiving this mail because: You are on the CC list for the bug.=