From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F4723875A24; Mon, 25 Jul 2022 14:20:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F4723875A24 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, 25 Jul 2022 14:20:24 +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, 25 Jul 2022 14:20:24 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29327 --- Comment #32 from Dr. Werner Fink --- For me it looks like a problem with (lib)sqlite3 and its memory managment a= nd libmemusage.so 35108 35109 if( new_ht=3D=3D0 ) return 0; 35110 sqlite3_free(pH->ht); 35111 pH->ht =3D new_ht; 35112 pH->htsize =3D new_size =3D sqlite3MallocSize(new_ht)/sizeof(stru= ct _ht); 35113 memset(new_ht, 0, new_size*sizeof(struct _ht)); 35114 for(elem=3DpH->first, pH->first=3D0; elem; elem =3D next_elem){ 35115 unsigned int h =3D strHash(elem->pKey) % new_size; 35116 next_elem =3D elem->next; 35117 insertElement(pH, &new_ht[h], elem); (gdb) print new_ht $8 =3D (struct _ht *) 0x1ba9330 (gdb) print *new_ht $9 =3D {count =3D 0, chain =3D 0x0} (gdb) print new_size $10 =3D 4293843945 (gdb) print pH->htsize $11 =3D 0 --=20 You are receiving this mail because: You are on the CC list for the bug.=