From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2065.outbound.protection.outlook.com [40.107.100.65]) by sourceware.org (Postfix) with ESMTPS id 95A5F3858D28 for ; Wed, 18 Jan 2023 11:51:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 95A5F3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=azul.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=azul.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZfIaXl8E1Cy/gOoTeS10JM+F4KaAYHb0m56DvL1Fat2meO+9h+SrV3OXmPr5msennreJ3f5vkIXbpzOhp+JzZffZXvvwX2JJUGOPYy6D3IIFJVfH9INEV6Gym2w6SLa7YsvtYMBeunkCoRqeA2hLHcIWhCHRxKmRJdSxIiv3mCTlTm5iqxTcK7Ut9vT2In5g63PoTjwlh6s+n1/aoVh7ZXHR70i4Vd153nreWlW0Q3syiFg12bQXzbmKGry7MeptTo29bEykJs/BXNeZaoO70hSUIf9d89t8lTOhhXHzagcqFRJMfxKkhnRjcm20sNZzBNaPu9+mKSzTfmI2G3mcPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q2/0g8fFYQraPwETOENSaDeqs+8tk8BRyfHaCDnQroE=; b=dJ3lyfocbLWIzAHuYuOGN38Dq7f865TGyMOZywIiPE5g9RmaHu9rHjJqxZS5PrSoJBY7PPSBjVVKZLaWFxiIKV5+uanpplM8JR5pFaBVxIM7f9Y40qFHG6ad806zWB5/E/kVqrCa9CEruY/zMT/BTylmCclV2eUeZpoeLSZmSLggvJxxGa5Do+g46uPAJB/RSj3KbtdxEWlR4ogGzItnoq/2P/Mg7sv0Ek4qP7Fv/3PSAHQEPzN38SPsIxYAksxZ3ITraLBePdEgLf6Y9WawbVpSBlqq9qcQ/dJfQtyMGIh47ysHwVCUMXmXkGFT9hoNYxsbeeCYzHIEIQ62GYDd8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=azul.com; dmarc=pass action=none header.from=azul.com; dkim=pass header.d=azul.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azul.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q2/0g8fFYQraPwETOENSaDeqs+8tk8BRyfHaCDnQroE=; b=CNnhyVWaV/FrJjZmHLi+6HoUo/wWxIE3ubCEFEYDtIhnVqQY28fdlac4SO0Zx+MHEpMhvwhDcBGo80ypJIJNhI6gvsigttmot0/DzRLRv6/RawQ0twRhAJXQufWSTfBJWZrOdI/Jw3/f/SbCAeoVmnGMjT9D8N7IrU29/ai4amF1wQc9yUnUwLx9hVf5bnS3+gdNMGfU74HRfHN/N+6f7PlOSk3wH3OhLwVP3usj7HPC68dmBvZPv+Hs5v9328ezhC4X/uDBXlLOfWv8VKmfqyUracOX1Iuv8JD5K2ngrJHMaybwLkLejbTb5Lj3YVW4v7s1hC+nyrnzxN9WIsYZ9w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=azul.com; Received: from DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) by BN9PR11MB5226.namprd11.prod.outlook.com (2603:10b6:408:133::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Wed, 18 Jan 2023 11:51:11 +0000 Received: from DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::edae:b2eb:9aa6:dca7]) by DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::edae:b2eb:9aa6:dca7%4]) with mapi id 15.20.5986.023; Wed, 18 Jan 2023 11:51:10 +0000 Date: Wed, 18 Jan 2023 19:51:02 +0800 From: Jan Kratochvil To: Luis Machado Cc: gdb-patches@sourceware.org, Alan Hayward Subject: Re: [PING] [PATCH] gdb/arm: Fix backtrace for pthread_cond_timedwait Message-ID: References: <8bcfa5a5-ed74-db8c-ce4b-0fad472cb486@arm.com> Content-Type: multipart/mixed; boundary="dWn9hkAuVEMxacAl" Content-Disposition: inline In-Reply-To: <8bcfa5a5-ed74-db8c-ce4b-0fad472cb486@arm.com> User-Agent: Mutt/2.2.7 (2022-08-07) X-ClientProxiedBy: VI1PR0101CA0083.eurprd01.prod.exchangelabs.com (2603:10a6:800:1f::51) To DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR11MB4073:EE_|BN9PR11MB5226:EE_ X-MS-Office365-Filtering-Correlation-Id: 44c543c8-538a-45e2-f6bd-08daf94a4aba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b+09jjTWx1P2Rh8wGWT/R0I+DO+QnwjDkovoecdHNZcREePaYEHoNRcd2bpN9V3YJbZPD1db5xsTkj2XeDDoTJDTD2WaoS+1Zux4UO+cdTQJl3tfdpaltd+QDiW445wZbzf+b+Si+ZJajjIBnmtQ3C6zScFwcLDM0anCQyO2dzRmB6hjd93633xROerjjIUOkCePpWYpZOENGydnE98tiqDNek7VEC48n1TMGnNQoCq43ec6n4X8wUE7avqpvs+dmPCleuoZOWrWrM6Kr0Y2ptQ0+dhYqAsxHMKUUimdOsqWx/XqAA0zsbsfPmSIHa3HEMLi1Eh6z9oGwGWa3xDQhUAIZToh0hzxy9/FrWNVIco92jY7P1UWW03o32EnGS3Q5EdcRNlnqUsz5eZ3pGP5hSFUtYxRfQKUU3tzkk/nMpJjRMa5PbNSexNraEn5dj+arBbsKumEgXV0qZu+cTsKUxmtDsu8bRLWQOTAicllzte1LbcZ3Eipp7rVpXbkiolv7Uu2j+z6IUUbPgUuq56qwPc6Fpm6iSxyBBZXf4eE+FzdsmnDpgfZHRrwfggd+Yma5fWXjNZzAr+iRE5ye+uXQjl/w7BNqObVEe/mkfvB2UEHgCb3AC55k0ptcltkEpbeaLrI84biLxlUDwdlEVgDHiRLY6p4Cis9x2fEYCMmaU/AX8tRFv+L1Wii/sr8vIoiWNXY2w/wFCSUW5N8PiKLOA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4073.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(376002)(346002)(136003)(396003)(39850400004)(451199015)(84970400001)(66946007)(2906002)(66556008)(235185007)(8936002)(5660300002)(66476007)(38100700002)(44144004)(6666004)(316002)(6506007)(6486002)(86362001)(478600001)(8676002)(6916009)(4326008)(41300700001)(21480400003)(186003)(9686003)(6512007)(2700100001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?/2x6RqcyxE42Jn9Q3a/YGE5sYxcLINhvAJukX/hT0WZmGJH9PgdjmMVD3ySO?= =?us-ascii?Q?tiB0mEuoiHp6BJqc9YLg6P3AhgolMZomQnvbwEZ2qCIOT/BLbklGm8AAa6+C?= =?us-ascii?Q?K9ojjvO5ZXFQv1bqc+rfc2zDO3FDdZ2yjTzjZf0kJtAcBZQi3tdX0WtXB7DW?= =?us-ascii?Q?fbMJcOWcWlhd1zP1qYckjokBTaKLjYfgzAfqWHQ1gzw96VAbMopnncTbXp92?= =?us-ascii?Q?LS9Fb0oVDg8aAckG2xziSqlza+bnS0nXgSqesUHc+S+PCmdZIaYp6KaUVay3?= =?us-ascii?Q?/m+LX90KVMJIhSjg58UEHTYUxe5DK0OyKw9yQAfYTb3Se28zv+saxkoJocfC?= =?us-ascii?Q?ZpKyzruLHtkn8AESIj+OabMqRpvwKrJb06ye6FElA5yFfNwWH3Ej5v+pyJRG?= =?us-ascii?Q?30C5j6u17YcUTIAz6MDwAZ36NoQCGE+RhYpH7BKnSLXqnxJaIeeNd/UiROSj?= =?us-ascii?Q?15AOMFO8cUPacn2LVd75r+HlsGUOPUsFY5Juk9RAvKMAFdmS/NkOLdj70VfU?= =?us-ascii?Q?sTToDWJrObD/IlG2DgTd4EgRl+wjO38uhU/XfgVBJBaqXwOn0e/cl+K72Rr0?= =?us-ascii?Q?BeD57k6xqNFHrs6UHilDQSsjYft3QLs8TuqLfyuE78eKjDKgtc885BMSuDjn?= =?us-ascii?Q?RhBmaS7WCuFupxgisQ/DNVLaqCeUYiYP+Ex4EedzV4Cm1dHsXSv5SD96FDp8?= =?us-ascii?Q?kDi+Ye638UcyO+mb3/5EVsZRhPCNojfA+ebbWa3+D7xUlSY7qwSFhJgJ8oNB?= =?us-ascii?Q?zKSYtfNj4ZKBFv+C/W7vG86KTEDURxIxQ5JLzJGDqCvvM/WY9PtxpWacqLlB?= =?us-ascii?Q?z6G64vBuDGzC1t4zJQijwgUH82xlnp92Wp9VjIx76LXdcTiK3GOaMCWtp7Sg?= =?us-ascii?Q?mp6NOclltQcAh9LdXlD1ctiK/PjbSuvLgWtpZ1kmG9Xeq+r8rQdjaKsSPVO4?= =?us-ascii?Q?WB70wn7WrJEHoOGhSybYd84X95fonBeAYvwQZc3ILIZWxgrtWDnDd1G1LMpN?= =?us-ascii?Q?/k5c5dycSHMzWFeJc8woeb8dhkVfgN8Cql7MHcM6oFQiTVs3V9ONeDFOs8H7?= =?us-ascii?Q?7lefga6SMn23MToCxooAqxpkwpweI1tkNCoDr4t/nXCBh+cy8ZMAfghJG2HZ?= =?us-ascii?Q?kkQvRD9UYKBJK1OM/keWf8erGTdDkIjcA7d82EZH+b+O9MPvmOTmFqt5Y7Um?= =?us-ascii?Q?VGcs4Ih66NycZ+bL8t6BiP4dW1trE9XG6Kf2+AZ6jacJY7GW9OzLLmdgf8dN?= =?us-ascii?Q?sQt6RpW8Q4y7Y+h0cA1gMVBhVspRHTh2EGCghbvySbwoSfG/B8dK8RRc58NE?= =?us-ascii?Q?e+l2rnw0tj6XZEdsN3xZQlci4YGJVeyMF8YU8RlY5a3XFQ/XulA4Mrmgra1T?= =?us-ascii?Q?TR1GrfDdP+OZaTIep+rNZCtqoRD72JtQjIvjdDWs5zFc7tntNDQZJrTrX8vI?= =?us-ascii?Q?fvCgQszDZLmtXf4ruvdOUwecqCFYaunL8KOG53Y3xlLMv7HuXO3qM4OGPLoA?= =?us-ascii?Q?EZMjr/77/78LDORagkfoz/d2A71hhDTUdcBtgbx0YwWYgezcK3bq6tCb7IP6?= =?us-ascii?Q?PNepYTBwDRZC188/RrOi3WeNZzUWm0OHi52RY2AdoEkuXgbr/51DeiClG4AG?= =?us-ascii?Q?aw=3D=3D?= X-OriginatorOrg: azul.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44c543c8-538a-45e2-f6bd-08daf94a4aba X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4073.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2023 11:51:10.7696 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: c480eb31-2b17-43d7-b4c7-9bcb20cc4bf2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ozAAyzWqN0aagkIWn8JaMo1jUSDiAoydDhQNDjApdbRHjnoRzjUj7Mi2CLljgCmHfWW/HYgcp+sWBUAE6r7u4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5226 X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --dWn9hkAuVEMxacAl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Luis, On Tue, 17 Jan 2023 19:14:01 +0800, Luis Machado wrote: > I see the same results with a patched and unpatched gdb: > > PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: successfully compiled posix threads test case > PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: advance to break-line > PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for svc check > UNTESTED: gdb.arch/arm-pthread_cond_timedwait-bt.exp: pc points to svc > > Do you see something different? Yes, on Raspbian 11 (bullseye), Linux version 5.15.32-v7l+, Raspberry 4. What OS do you run? There is the unfortunate dependency on system pthread_cond_timedwait() implementation. The testcase could provide also its own .S implementation but then it could be incompatible with the rest of system glibc. Jan --dWn9hkAuVEMxacAl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdb-master.log" Test run by jenkins on Wed Jan 18 12:34:28 2023 Native configuration is armv7l-unknown-linux-gnueabihf === gdb tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.exp ... Executing on host: gcc -fdiagnostics-color=never -c -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.c get_compiler_info: gcc-10-2-1 Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c Executing on host: gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status Executing on host: gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: successfully compiled posix threads test case builtin_spawn /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory GNU gdb (GDB) 14.0.50.20230118-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "armv7l-unknown-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch Source directories searched: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt Reading symbols from /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break -qualified main Breakpoint 1 at 0x10680: file /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c, line 52. (gdb) run Starting program: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:52 52 err = pthread_mutex_lock(&mutex); (gdb) advance 58 [New Thread 0xb6e22440 (LWP 20889)] main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:58 58 err = pthread_join(thread, &ret); // break-line (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: advance to break-line thread 2 [Switching to thread 2 (Thread 0xb6e22440 (LWP 20889))] #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for svc check x/i $pc => 0xb6f8681c : svc 0x00000000 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: pc points to svc thread 1 [Switching to thread 1 (Thread 0xb6ffa280 (LWP 20884))] #0 main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:58 58 err = pthread_join(thread, &ret); // break-line (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 1 set debug frame 1 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: set debug frame 1 thread 2 [frame] reinit_frame_cache: generation=141 [frame] reinit_frame_cache: generation=142 [Switching to thread 2 (Thread 0xb6e22440 (LWP 20889))] [frame] create_sentinel_frame: -> {level=-1,type=SENTINEL_FRAME,unwinder="sentinel",pc=,id={stack=,!code,special=0x0000000000000000},func=} [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] frame_unwind_arch: next_frame=-1 -> armv6 [frame] operator==: l={stack=,!code,special=0x0000000000000000}, r={stack=,!code,special=0x0000000000000000} -> 0 [frame] get_prev_frame_raw: -> {level=0,type=,unwinder=,pc=,id=,func=} [frame] get_prev_frame_always_1: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=15(pc) [frame] frame_unwind_register_value: -> register=15 bytes=[1c68f8b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_pc: this_frame=-1 -> 0xb6f8681c [frame] frame_unwind_find_by_frame: enter [frame] frame_unwind_find_by_frame: this_frame=0 [frame] frame_unwind_try_unwinder: trying unwinder "dummy" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 tailcall" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "inline" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "jit" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "python" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm stub" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 signal" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm exidx" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm epilogue" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm prologue" [frame] frame_unwind_try_unwinder: yes [frame] frame_unwind_find_by_frame: exit #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 ([frame] frame_id_p: l={!stack,!code,!special} -> 0 ) from /lib/arm-linux-gnueabihf/libpthread.so.0 [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] get_prev_frame_always_1: -> {level=0,type=NORMAL_FRAME,unwinder="arm prologue",pc=0xb6f8681c,id=,func=} // cached [frame] get_prev_frame_always_1: exit (gdb) FAIL: gdb.arch/arm-pthread_cond_timedwait-bt.exp: unwinder is arm exidx thread 2 [frame] reinit_frame_cache: generation=143 [frame] reinit_frame_cache: generation=144 [Switching to thread 2 (Thread 0xb6e22440 (LWP 20889))] [frame] create_sentinel_frame: -> {level=-1,type=SENTINEL_FRAME,unwinder="sentinel",pc=,id={stack=,!code,special=0x0000000000000000},func=} [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] frame_unwind_arch: next_frame=-1 -> armv6 [frame] operator==: l={stack=,!code,special=0x0000000000000000}, r={stack=,!code,special=0x0000000000000000} -> 0 [frame] get_prev_frame_raw: -> {level=0,type=,unwinder=,pc=,id=,func=} [frame] get_prev_frame_always_1: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=15(pc) [frame] frame_unwind_register_value: -> register=15 bytes=[1c68f8b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_pc: this_frame=-1 -> 0xb6f8681c [frame] frame_unwind_find_by_frame: enter [frame] frame_unwind_find_by_frame: this_frame=0 [frame] frame_unwind_try_unwinder: trying unwinder "dummy" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 tailcall" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "inline" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "jit" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "python" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm stub" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 signal" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm exidx" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm epilogue" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm prologue" [frame] frame_unwind_try_unwinder: yes [frame] frame_unwind_find_by_frame: exit #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 ([frame] frame_id_p: l={!stack,!code,!special} -> 0 ) from /lib/arm-linux-gnueabihf/libpthread.so.0 [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] get_prev_frame_always_1: -> {level=0,type=NORMAL_FRAME,unwinder="arm prologue",pc=0xb6f8681c,id=,func=} // cached [frame] get_prev_frame_always_1: exit (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for debug frame check set debug frame 0 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: set debug frame 0 bt #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6e21f80 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) FAIL: gdb.arch/arm-pthread_cond_timedwait-bt.exp: unwind of pthread_cond_timedwait testcase /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.exp completed in 1 seconds === gdb Summary === # of expected passes 8 # of unexpected failures 2 Executing on host: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex "set height 0" -iex "set width 0" -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory --version (timeout = 300) builtin_spawn -ignore SIGHUP /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory --version GNU gdb (GDB) 14.0.50.20230118-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/gdb version 14.0.50.20230118-git -nw -nx -iex "set height 0" -iex "set width 0" -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory runtest completed at Wed Jan 18 12:34:30 2023 --dWn9hkAuVEMxacAl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdb-svc.log" Test run by jenkins on Wed Jan 18 12:36:12 2023 Native configuration is armv7l-unknown-linux-gnueabihf === gdb tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.exp ... Executing on host: gcc -fdiagnostics-color=never -c -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/21055/ccopts21055.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/21055/ccopts21055.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/21055/ccopts21055.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/21055/ccopts21055.c get_compiler_info: gcc-10-2-1 Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c Executing on host: gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status Executing on host: gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: successfully compiled posix threads test case builtin_spawn /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory GNU gdb (GDB) 14.0.50.20230118-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "armv7l-unknown-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch Source directories searched: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt Reading symbols from /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break -qualified main Breakpoint 1 at 0x10680: file /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c, line 52. (gdb) run Starting program: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:52 52 err = pthread_mutex_lock(&mutex); (gdb) advance 58 [New Thread 0xb6e22440 (LWP 21125)] main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:58 58 err = pthread_join(thread, &ret); // break-line (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: advance to break-line thread 2 [Switching to thread 2 (Thread 0xb6e22440 (LWP 21125))] #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for svc check x/i $pc => 0xb6f8681c : svc 0x00000000 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: pc points to svc thread 1 [Switching to thread 1 (Thread 0xb6ffa280 (LWP 21120))] #0 main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:58 58 err = pthread_join(thread, &ret); // break-line (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 1 set debug frame 1 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: set debug frame 1 thread 2 [frame] reinit_frame_cache: generation=147 [frame] reinit_frame_cache: generation=148 [Switching to thread 2 (Thread 0xb6e22440 (LWP 21125))] [frame] create_sentinel_frame: -> {level=-1,type=SENTINEL_FRAME,unwinder="sentinel",pc=,id={stack=,!code,special=0x0000000000000000},func=} [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] frame_unwind_arch: next_frame=-1 -> armv6 [frame] operator==: l={stack=,!code,special=0x0000000000000000}, r={stack=,!code,special=0x0000000000000000} -> 0 [frame] get_prev_frame_raw: -> {level=0,type=,unwinder=,pc=,id=,func=} [frame] get_prev_frame_always_1: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=15(pc) [frame] frame_unwind_register_value: -> register=15 bytes=[1c68f8b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_pc: this_frame=-1 -> 0xb6f8681c [frame] frame_unwind_find_by_frame: enter [frame] frame_unwind_find_by_frame: this_frame=0 [frame] frame_unwind_try_unwinder: trying unwinder "dummy" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 tailcall" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "inline" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "jit" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "python" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm stub" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 signal" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm exidx" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: yes [frame] frame_unwind_find_by_frame: exit #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 ([frame] frame_id_p: l={!stack,!code,!special} -> 0 ) from /lib/arm-linux-gnueabihf/libpthread.so.0 [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] get_prev_frame_always_1: -> {level=0,type=NORMAL_FRAME,unwinder="arm exidx",pc=0xb6f8681c,id=,func=} // cached [frame] get_prev_frame_always_1: exit (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: unwinder is arm exidx thread 2 [frame] reinit_frame_cache: generation=149 [frame] reinit_frame_cache: generation=150 [Switching to thread 2 (Thread 0xb6e22440 (LWP 21125))] [frame] create_sentinel_frame: -> {level=-1,type=SENTINEL_FRAME,unwinder="sentinel",pc=,id={stack=,!code,special=0x0000000000000000},func=} [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] frame_unwind_arch: next_frame=-1 -> armv6 [frame] operator==: l={stack=,!code,special=0x0000000000000000}, r={stack=,!code,special=0x0000000000000000} -> 0 [frame] get_prev_frame_raw: -> {level=0,type=,unwinder=,pc=,id=,func=} [frame] get_prev_frame_always_1: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=15(pc) [frame] frame_unwind_register_value: -> register=15 bytes=[1c68f8b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_pc: this_frame=-1 -> 0xb6f8681c [frame] frame_unwind_find_by_frame: enter [frame] frame_unwind_find_by_frame: this_frame=0 [frame] frame_unwind_try_unwinder: trying unwinder "dummy" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 tailcall" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "inline" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "jit" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "python" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm stub" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 signal" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm exidx" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=13(sp) [frame] frame_unwind_register_value: -> register=13 bytes=[901de2b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: yes [frame] frame_unwind_find_by_frame: exit #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 ([frame] frame_id_p: l={!stack,!code,!special} -> 0 ) from /lib/arm-linux-gnueabihf/libpthread.so.0 [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] get_prev_frame_always_1: -> {level=0,type=NORMAL_FRAME,unwinder="arm exidx",pc=0xb6f8681c,id=,func=} // cached [frame] get_prev_frame_always_1: exit (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for debug frame check set debug frame 0 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: set debug frame 0 bt #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0x00010648 in fun (arg=0x0) at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:38 #2 0xb6f7e300 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0 #3 0xb6f02208 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: unwind of pthread_cond_timedwait testcase /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.exp completed in 2 seconds === gdb Summary === # of expected passes 10 Executing on host: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex "set height 0" -iex "set width 0" -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory --version (timeout = 300) builtin_spawn -ignore SIGHUP /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory --version GNU gdb (GDB) 14.0.50.20230118-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/gdb version 14.0.50.20230118-git -nw -nx -iex "set height 0" -iex "set width 0" -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory runtest completed at Wed Jan 18 12:36:14 2023 --dWn9hkAuVEMxacAl--