xcb_io.c assertion error following forkpty and raw_input in PyGTK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxcb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am writing a PyGTK application which involves a vte Terminal. I use a forkpty() call to launch a child process in the terminal. When the child process runs a raw_input(), it dies with the message:
python: ../../src/
(Actually, the child process seems to survive until there is either a keystroke or mouse movement over the terminal.) The parent process survives. This behavior is on an up-to-date Karmic install. On Jaunty, this error does not occur. The attached file provides a test-case program.
This is the same error message reported in bug #419501. I've reported separately, as it is triggered in quite different circumstances. But if it is the same, please mark this as a duplicate.
[Aside - the submission page asked me to submit this using `ubuntu-bug -p libxcb`. But that failed in two ways: First, it warns that -p is deprecated. Second, it tells me "Package libxcb does not exist", and quits.]
This seems to be the same issue we're encountering in bug 419501 in GASP, as we do a similar thing to handle interactive interpreter sessions. Please repost your testcase at that bug, and thank you for taking the time to report this!
In reply to your aside, you might want to mention this on #launchpad on freenode or file a bug against malone, the bug tracker.