Dominique Pelle wrote:
> I glanced at vim bugs opened in Ubuntu launchpad. I found there a > crashing bug which I could reproduce with latest vim-7.1.156. > > Steps to reproduce bug: > - use GNOME terminal > - open 2 tabs in GNOME terminal (File -> Open Tab) > - start vim in one of the tabs > - detach the GNOME terminal tab where vim is running (Tabs -> Detach Tabs) > - in vim, type <CTRL>-Z to suspend vim (goes into the shell) > - type fg in shell, to go back to vim > - observe that vim crashes with following error message: > > BadWindow (invalid Window parameter) > Vim: Got X error > Vim: preserving files... > Vim: Finished. > > Error happens when trying to set the terminal title. > > More information at: > https://bugs.launchpad.net/ubuntu/+source/vim/+bug/129106 > > I found a way to fix it, but I do not know the code and X Window > enough to say whether it's the correct/best way to fix it. Please > review it. In any case, vim no longer crashes with the attached > patch. > > It's a one line fix (add call to test_x11_window(x11_display)) > > Patch also contain fixes for typos in comments. Thanks, I'll put it in my todo list. -- FIXME and XXX are two common keywords used to mark broken or incomplete code not only since XXX as a sex reference would grab everbodys attention but simply due to the fact that Vim would highlight these words. -- Hendrik Scholz /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---