From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8F0D3858403; Wed, 17 Jan 2024 16:23:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8F0D3858403 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705508601; bh=EBDBGHeSqJLvwl2KDT/svu+dYbiEV+JBtnB9JraaGac=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OHwzQMFSpqUhW6xk9LIaXfr5lpGsiyoboT1Xt9Ul5J1qa9HivLH/ZNMliCMXIXcqm BFo0PAY5YOb6pwIMTvOBip7amK/npjfHhojKfSEhne4TCHC1tWkDpFnbtoUBrOWK45 liFyQPrzuVcbLNXA69GQny6DLUECFHb2k3UzNxYA= From: "thiago.bauermann at linaro dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31254] [gdb, arm] FAIL: gdb.threads/staticthreads.exp: up 10 Date: Wed, 17 Jan 2024 16:23:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago.bauermann at linaro dot org X-Bugzilla-Status: NEW 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31254 --- Comment #4 from Thiago Jung Bauermann --- The problem is that the backtrace goes through internal details of glibc, so the "up 10" command makes assumptions about the internal organization of gl= ibc, which is fragile. Most of the time this checks out, but occasionally the inferior = is in such a state that the number of frames to reach main doesn't match. I am in the middle of fixing the testcase to go up the stack one frame at a time and checking when it gets to main. Do you agree it's a proper fix? I'll probably be able to post it by EOD today or tomorrow. --=20 You are receiving this mail because: You are on the CC list for the bug.=