Bug 28479 - FAIL: gdb.mi/mi-nonstop.exp: wait for thread exit (timeout)
Summary: FAIL: gdb.mi/mi-nonstop.exp: wait for thread exit (timeout)
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 11.1
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-20 15:45 UTC by Tom de Vries
Modified: 2021-10-20 15:45 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2021-10-20 15:45:33 UTC
On OBS with distro Leap 15.3, I ran into:
...
(gdb) ^M
PASS: gdb.mi/mi-nonstop.exp: ask the second thread to exit
~"[Thread 0x7ffff77de700 (LWP 15107) exited]\n"^M
=thread-exited,id="2",group-id="i1"^M
maint print target-stack^M
&"maint print target-stack\n"^M
~"The current target stack is:\n"^M
~"  - multi-thread (multi-threaded child process.)\n"^M
~"  - native (Native process)\n"^M
~"  - exec (Local exec file)\n"^M
~"  - None (None)\n"^M
^done^M
(gdb) ^M
PASS: gdb.mi/mi-nonstop.exp: probe for target remote
FAIL: gdb.mi/mi-nonstop.exp: wait for thread exit (timeout)
...

A passing instance looks like:
...
(gdb) ^M
PASS: gdb.mi/mi-nonstop.exp: ask the second thread to exit
maint print target-stack^M
&"maint print target-stack\n"^M
~"The current target stack is:\n"^M
~"  - multi-thread (multi-threaded child process.)\n"^M
~"  - native (Native process)\n"^M
~"  - exec (Local exec file)\n"^M
~"  - None (None)\n"^M
^done^M
(gdb) ^M
PASS: gdb.mi/mi-nonstop.exp: probe for target remote
~"[Thread 0x7ffff74c4700 (LWP 23607) exited]\n"^M
=thread-exited,id="2",group-id="i1"^M
PASS: gdb.mi/mi-nonstop.exp: wait for thread exit
...
so I'm guessing this is a test-case issue.