From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 720F73855028; Sat, 26 Jun 2021 10:55:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 720F73855028 From: "rincebrain at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug threads/28014] gdb coredumps when remote+kgdbing a system that OOMs too hard Date: Sat, 26 Jun 2021 10:55:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rincebrain at gmail 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: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2021 10:55:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28014 --- Comment #6 from Rich --- (In reply to Simon Marchi from comment #5) > It dug a little bit. I checked why GDB couldn't see any shared library, I > think there's a little bug in the MIPS-specific code where GDB uses a > MIPS-specific auxv entry to locate the base of the runtime loader. It > doesn't take into account the main executable's runtime address. Lovely. > To get further, we would need libc's debug info. I tried to find debug i= nfo > for libc.so.6 but can't find it. It's supposed to be in the libc6 packag= e, > which I think should be found here: >=20 > http://debug.mirrors.debian.org/debian-debug/pool/main/g/glibc/ >=20 > But I can't find the debug package corresponding to > libc6_2.31-12_mips64el.deb. The libc's build-id is > 59aa6ff984aff00883acda7feef7613cce475991, I can't find that in any of the > packages. Do you have an idea? I think you're getting burned because glibc is one of the ones that (for le= gacy reasons, now that $RELEASE-debug is a thing? I'm unsure.) gets shoved in a = -dbg package in the main repos. gdb finds those symbols and loads them for me, e= ven as everything else horfs; I haven't tried recompiling gdb with that patch, though. --=20 You are receiving this mail because: You are on the CC list for the bug.=