Loading ...
Sorry, an error occurred while loading the content.

Re: SEGFAULT related to tabline and resize.

Expand Messages
  • Bram Moolenaar
    ... OK, I managed to reproduce the problem with the help of the efence library. The tabline was made too long, writing past the number of columns. I have
    Message 1 of 5 , Mar 1, 2006
    • 0 Attachment
      Groleo Marius wrote:

      > I just built the latest CVS checkout, and the bug is still reproductible.
      >
      > At line 6887, in screen.c I have
      > #ifdef FEAT_WINDOWS
      > FOR_ALL_TAB_WINDOWS(tp, wp)
      > =09win_free_lsize(wp);
      > #else
      > win_free_lsize(curwin);
      > #endif
      >
      > The core comes from the attempt to free a NULL pointer
      > (gdb) p wp->w_lines
      > $5 =3D (wline_T *) 0x0
      >
      > The steps I follow are
      > :tabnew, so the tabline becomes visible.
      > doubleclick an active tab to create new tabs, until they go beyond the clos=
      > ing X
      > now, try to resize the window in which Vim is started.
      > You might need to try to resize it a couple of times.

      OK, I managed to reproduce the problem with the help of the efence
      library. The tabline was made too long, writing past the number of
      columns. I have fixed it.

      --
      hundred-and-one symptoms of being an internet addict:
      25. You believe nothing looks sexier than a man in boxer shorts illuminated
      only by a 17" inch svga monitor.

      /// Bram Moolenaar -- Bram@... -- 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://www.ICCF.nl ///
    Your message has been successfully submitted and would be delivered to recipients shortly.