GNOME Bugzilla – Bug 470408
cannot spawn zsh with python bindings
Last modified: 2014-04-06 17:42:46 UTC
I've been playing around with the python bindings for vte and have encountered a very odd situation. If I edit the vte-demo.py file included with vte and change the fork_command() to fork_command("/usr/bin/zsh") I get an empty terminal. stracing shows that zsh segfaulted, but doesn't give a great clue as to why.
Works here. Can you still reproduce this with vte trunk ?
I just built trunk, copied gnome-pty-helper to libexec, edited vte-demo.py and ran it, LD_PRELOAD'ing the libvte I'd built (I prefer not to make install things on my main systems) and it was still broken, but it's possible that this way of testing was not suffcient.
vte 0.22.1 started to kill zsh here. Wasn't hard to notice I used to use zsh as my shell until yesterday both gnome-terminal and vte started to close themselves as soon as I launch them.
I don't think that's the same issue as comment 0; since here vte itself segfaults, not zsh. $ gdb --args .libs/lt-vte -c /usr/bin/zsh (gdb) r Program received signal SIGSEGV, Segmentation fault.
+ Trace 217863
Thread 3071912208 (LWP 19007)
I can observe same problems on my setup: 0.22.0 works, 0.22.1 kills vte based apps (zsh as main sh) gdb trace same as above.
...but it not the same issue as originally reported (see #596460)
The crash is fixed. I have no idea what's the thing with zsh.
I still can't repro the original problem in comment 0: $ ./vte -c zsh $ ./vte-demo.py -c zsh both work on vte git master.
*** Bug 603843 has been marked as a duplicate of this bug. ***