[Bug mi/21477] New: gdb sometimes dies when new-ui pty is closed

Olivier.Perret at mailbox dot org sourceware-bugzilla@sourceware.org
Tue May 9 19:07:00 GMT 2017


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.


More information about the Gdb-prs mailing list