This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/21477] New: gdb sometimes dies when new-ui pty is closed
- From: "Olivier.Perret at mailbox dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 09 May 2017 19:07:47 +0000
- Subject: [Bug mi/21477] New: gdb sometimes dies when new-ui pty is closed
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21477
Bug ID: 21477
Summary: gdb sometimes dies when new-ui pty is closed
Product: gdb
Version: 7.12.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mi
Assignee: unassigned at sourceware dot org
Reporter: Olivier.Perret at mailbox dot org
Target Milestone: ---
Reproducer:
1. Start a gdb session somewhere
2. In a terminal (same cwd), run `socat pty,link=pty STDIO,nonblock=1`.
3. In the gdb session, run `new-ui mi3 pty`.
4. Ctrl+C the socat process.
Repeat steps 2 to 4 until the gdb also exits (about 20% of the time in my
case).
About 20% of the time, the gdb process also exits.
Also reproducible by using a "real" pty such as /dev/pts/*, but my use-case is
with socat.
--
You are receiving this mail because:
You are on the CC list for the bug.