Tony Mechelynck wrote: > Don't know if this has been reported yet. > > With the line > > set lines=99999 columns=99999 > > in my vimrc, gvim crashes at GUI startup with (if there is a stderr) a > cryptic message from X. > > Running gvim within gdb shows that the GUI screen appears, but it is > empty (no menu, no toolbar, no buffer text, no nothing), then > gdk_x_error() is called and then the X message appears on the console, > and gvim exits with status 1. > > I'm attaching the gdb output, with a stack trace at the gdk_x_error() > breakpoint (using the unstripped vim executable as it is after "make" > but before "make install", and running it with --sync to force > synchronous X error reporting). > > This is in gvim 7.3.162 (Huge) with GTK2/Gnome2 GUI for Linux x86_64. > > Changing the line to > > set lines=99 columns=999 > > makes the problem disappear. > > According to the help: > 'lines' maximum value is 1000 > 'columns' maximum value is 10000 > > However IMHO if the maximum value is exceeded, Vim should either use the > maximum (and then of course, in this case, possibly reduce it further so > as not to exceed the actual display size), or give an error, but not let > itself get crashed by X.
Smells like a GTK problem. For me I get the gdk warnings, but Vim does start up. On another screen though, without me asking for that. It's unlikely I will be able to fix this, I hope someone can figure out what happens. -- How To Keep A Healthy Level Of Insanity: 5. Put decaf in the coffee maker for 3 weeks. Once everyone has gotten over their caffeine addictions, switch to espresso. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
