From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 165633898506; Tue, 25 May 2021 08:44:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 165633898506 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/27908] New: FAIL: gdb.base/run-attach-while-running.exp: threaded=1: run-or-attach=attach: non-stop=on: test: attach to process (timeout) Date: Tue, 25 May 2021 08:44:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Tue, 25 May 2021 08:44:10 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27908 Bug ID: 27908 Summary: FAIL: gdb.base/run-attach-while-running.exp: threaded=3D1: run-or-attach=3Dattach: non-stop=3Don: te= st: attach to process (timeout) Product: gdb Version: 10.1 Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I build gdb with -O2 -g (instead of the usual -O0 -g) and ran the testsuite. With test-case gdb.base/run-attach-while-running.exp, I ran into: ... FAIL: gdb.base/run-attach-while-running.exp: threaded=3D1: run-or-attach=3D= attach: non-stop=3Don: test: attach to process (timeout) ... In more detail: ... (gdb) PASS: gdb.base/run-attach-while-running.exp: threaded=3D1: run-or-attach=3Dattach: non-stop=3Don: test: set confirm off spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/run-att= ach-while-running/run-attach-while-running-threads^M attach 18201^M Attaching to program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/run-att= ach-while-running/run-attach-while-running-threads, process 18201^M [New LWP 18206]^M Reading symbols from /lib64/libpthread.so.0...^M Reading symbols from /usr/lib/debug/lib64/libpthread-2.26.so-2.26-lp152.26.6.1.x86_64.debug...^M [Thread debugging using libthread_db enabled]^M Using host libthread_db library "/lib64/libthread_db.so.1".^M Reading symbols from /lib64/libm.so.6...^M Reading symbols from /usr/lib/debug/lib64/libm-2.26.so-2.26-lp152.26.6.1.x86_64.debug...^M Reading symbols from /lib64/libc.so.6...^M Reading symbols from /usr/lib/debug/lib64/libc-2.26.so-2.26-lp152.26.6.1.x86_64.debug...^M Reading symbols from /lib64/ld-linux-x86-64.so.2...^M Reading symbols from /usr/lib/debug/lib64/ld-2.26.so-2.26-lp152.26.6.1.x86_64.debug...^M 0x00007f13c85a74c0 in __GI___nanosleep (requested_time=3Drequested_time@entry=3D0x7ffc00aa0b60, remaining=3Dremaining@entry=3D0x7ffc00aa0b60) at ../sysdeps/unix/sysv/linux/nanosleep.c:27^M 27 return SYSCALL_CANCEL (nanosleep, requested_time, remaining);^M (gdb) ^M Thread 2 "run-attach-whil" stopped.^M 0x00007f13c85a74c0 in __GI___nanosleep (requested_time=3Drequested_time@entry=3D0x7f13c84dcea0, remaining=3Dremaining@entry=3D0x7f13c84dcea0) at ../sysdeps/unix/sysv/linux/nanosleep.c:27^M 27 return SYSCALL_CANCEL (nanosleep, requested_time, remaining);^M FAIL: gdb.base/run-attach-while-running.exp: threaded=3D1: run-or-attach=3D= attach: non-stop=3Don: test: attach to process (timeout) killing 18201 Executing on build: kill -9 18201 (timeout =3D 300) spawn -ignore SIGHUP kill -9 18201^M closing exp24 waiting for exp24 testcase /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/run-attach-while-= running.exp completed in 23 seconds ... --=20 You are receiving this mail because: You are on the CC list for the bug.=