On 06/30/2010 05:14 AM, Julien Cristau wrote:
> From what I can tell the python program in comment 31 appears to open an
> X connection, fork, and then use that X connection from both the child
> and the parent. That can't possibly work.
And yet it does, in Ubuntu < Karmic.
All that the child process is running is (or should be):
time.sleep(1)
while True:
line = raw_input("> ")
sys.stdout.write("< " + line + '\n')
os._exit(0)
Though I may be mistaken, none of this appears to use the X connection.
Comparison to the code in comment 33 shows that this same code executes just
fine in the child process so long as the child process doesn't have the gtk or
vte objects. It's certainly possible that there's a problem in GTK, VTE, or
their python bindings, but it seems strange to me that this problem was
introduced at the same time as a similar one in Qt.
--
apport-kde assert failure: python: ../../src/xcb_io.c:242: process_responses:
Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)'
failed.
https://bugs.launchpad.net/bugs/419501
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs