From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B6A2383F857; Tue, 9 Jun 2020 09:43:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B6A2383F857 From: "liaichun at huawei dot com" To: glibc-bugs@sourceware.org Subject: [Bug nss/26038] [core_dump] call getpwnam_r() appears core_dump Date: Tue, 09 Jun 2020 09:43:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: liaichun at huawei dot com X-Bugzilla-Status: UNCONFIRMED 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: Tue, 09 Jun 2020 09:43:16 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26038 --- Comment #12 from liaichun --- (In reply to Andreas Schwab from comment #11) > Most likely you have some memory corruption. Try valgrind. Thanks, I will check it.=20 And there is also a message ,i tried add atomic_read_barrier() before nip assigned, it hasn't appeared in 2 weeks.If nothing changes, it can appear 4= or 5 times in 2 weeks. -------------------------------------- libc_hidden_proto (DB_LOOKUP_FCT) else { + atomic_read_barrier(); fct.l =3D start_fct; nip =3D startp; #ifdef PTR_DEMANGLE PTR_DEMANGLE (fct.l); PTR_DEMANGLE (nip); #endif no_more =3D nip =3D=3D (service_user *) -1l; } --=20 You are receiving this mail because: You are on the CC list for the bug.=