From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 584EA3858C2F; Thu, 18 Jan 2024 19:54:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 584EA3858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705607699; bh=7LD9rqoEOSKuOhQ1j05WJcqQx/G79IG8pS0pjjhWO44=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i43Fu6vQhxPIPjZ2O75Uudn3dJcyjaAVGVXnDXuTxSz4mtpN2aE0IP7MNqEHh7cgS i88Wz8q/n8ihooKEbsQJkYB6Xu79Jve3IOMqb1CKw7D8BrU16hMciWvwYH4W0B1wtg cGLJh70HShSe81vDPNcC0VvSTBOlkNix4P9Iavco= 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: Thu, 18 Jan 2024 19:54:58 +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 #11 from Thiago Jung Bauermann --- By the way, here's the gdb .log excerpt from the test run with the binary I attached: (gdb) PASS: gdb.threads/staticthreads.exp: thread 1 bt #0 0x00010ab4 in __libc_do_syscall () #1 0x000405ba in __futex_abstimed_wait_common () #2 0x00040688 in __futex_abstimed_wait_cancelable64 () #3 0x0001b96e in __pthread_clockjoin_ex () #4 0x0001b864 in pthread_join () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/staticthreads.exp: bt up 10 #4 0x0001b864 in pthread_join () (gdb) FAIL: gdb.threads/staticthreads.exp: up 10 So in this case GDB was able to unwind through __futex_abstimed_wait_common= but couldn't unwind through pthread_join. Something else is going on. --=20 You are receiving this mail because: You are on the CC list for the bug.=