This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]