| Summary: | 'tcsetpgrp failed in terminal_inferior' messages in gdb output in beaker environment | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Petr Muller <pmuller> |
| Component: | beah | Assignee: | beaker-dev-list |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 0.7 | CC: | bpeck, jan.kratochvil, mcsontos, ohudlick, stl, tklohna, tools-bugs |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | SimpleHarness | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-03 11:53:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Petr Muller
2011-03-01 13:13:15 UTC
Could you run GDB there wrapped in http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob_plain;f=gdb-orphanripper.c;hb=f15/master like instead of gdb args... to run orphanripper gdb args... If it works then to run there: /usr/bin/tty and I have no imagination which pty it can be but that pty seems to be broken. GDB autodetects if it runs on a terminal, if it does not GDB does try to call tcsetpgrp at all. I've modded the test so it uses orphanripper, and the messages do not appear in this case. /usr/bin/tty shows /dev/console there. This is unrelated to GDB. While trying to reproduce it I guess bash would print in such case: -bash: cannot set terminal process group (-1): Inappropriate ioctl for device -bash: no job control in this shell The tty is not properly setup, such as that its owner process is not set to gdb being run or that there are multiple owners etc., I do not understand this tty magic much. It is about ioctl TIOCSPGRP. Assigning to beah Bulk reassignment of issues as Bill has moved to another team. Closing the issue due inactivity and availability of newer test harness. If you still run into this issue, feel free to reopen. |