From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 51BE3385381B; Thu, 14 Jul 2022 07:36:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51BE3385381B 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: Thu, 14 Jul 2022 07:36:26 +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: attachments.created 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: Thu, 14 Jul 2022 07:36:27 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29327 --- Comment #24 from Dr. Werner Fink --- Created attachment 14209 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14209&action=3Ded= it dumpctl.log (In reply to Noah Goldstein from comment #23) > (In reply to H.J. Lu from comment #22) > > (In reply to Dr. Werner Fink from comment #21) > > > (In reply to H.J. Lu from comment #20) > > > > (In reply to Dr. Werner Fink from comment #16) > > > > > Created attachment 14205 [details] > > > > > audit.log > > >=20 > > > [...] > > >=20 > > > >=20 > > > > We need the audit.log from crash. > > >=20 > > > Yes ... this should be > > > https://sourceware.org/bugzilla/attachment.cgi?id=3D14205 > >=20 > > But your command was > >=20 > > /kodi> ( setenv LD_AUDIT ./auditmod.so ; /usr/lib64/kodi/kodi.bin ) | &= tee > > audit.log > >=20 > > and it didn't crash. >=20 > Likewise for: > pltenter: memset: dst=3D0x7ff43008ed78, src=3D0, len=3D8 >=20 > I don't see this would segfault if `dst` has write permissions. If I try both LD_AUDIT=3D${PWD}/auditmod.so LD_PRELOAD=3D/lib64/libmemusage.so it simply crashes with a SIGSEGV werner@noether:/usr/src/werner/auditmod> LD_AUDIT=3D${PWD}/auditmod.so LD_PRELOAD=3D/lib64/libmemusage.so /usr/lib64/kodi/kodi.bin=20 version: 2 Segmentation fault (core dumped) no output from auditmod.so ... only a core dump werner@noether:/usr/src/werner/auditmod> sudo coredumpctl | tail -n 1 Thu 2022-07-14 09:30:28 CEST 16275 223 50 SIGSEGV present=20 /usr/lib64/kodi/kodi.bin werner@noether:/usr/src/werner/auditmod> sudo coredumpctl dump 16275 -o /tmp/core > dumpctl.log 2>&1 --=20 You are receiving this mail because: You are on the CC list for the bug.=