I came up with a change that appears to fix it. But I don't know the vim code and X enough to say whether it's the correct way to fix it. But at least, it no longer crashes.
I only added a call to test_x11_window(x11_display) at line 1698 in os_unix.c: *************** *** 1695,1701 **** int retval = FALSE; Status status; ! if (get_x11_windis() == OK) { /* Get window/icon name if any */ if (get_title) --- 1695,1701 ---- int retval = FALSE; Status status; ! if (get_x11_windis() == OK && test_x11_window(x11_display) == OK) { /* Get window/icon name if any */ if (get_title) I will post the patch to the vim_dev mailing list for review. -- [gutsy] Vim crash when gnome terminal tab is detached https://bugs.launchpad.net/bugs/129106 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs