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

15466Re: stl function crashes vim

Expand Messages
  • Johannes Zellner
    Oct 1, 2000
    • 0 Attachment
      On Sun, Oct 01, 2000 at 03:33:06PM +0200, Bram Moolenaar wrote:
      >
      > Johannes Zellner wrote:
      >
      > > I've
      > >
      > > fun! KeyPressedHandler()
      > > if strpart(getline('.'), 0, col('.')) =~ '^\s*$'
      > > if '' != mapcheck('<tab>', 'i')
      > > iunmap <tab>
      > > endif
      > > elseif '' == mapcheck('<tab>', 'i')
      > > imap <tab> <c-p>
      > > endif
      > > return ''
      > > endfun
      > > set statusline=%{KeyPressedHandler()}%<[%n]%f%y%r%1*%m%*%w%=%(C\ %c%V%)%4(%)%-10(L\ %l(%L)%)%4(%)%p%%
      > >
      > > this crashes from time to time vim if I enter insert mode with 'i'.
      > > Unfortunately I cannot reproduce it with a debugging version, even
      > > if linked against efence :-(
      > >
      > > Maybe someone can reproduce it ? (vim-6.0h)
      >
      > A quick test didn't make it crash for me. Any special conditions (one or two
      > windows, option settings...)?

      well, I've something like ~50 option settings I guess and it
      crashes only every ~10 - 20 time or so. This is really weird.
      Maybe I'll just work on with a debugging version, wait, until
      it crashes, and then examine the core.

      --
      Johannes
    • Show all 5 messages in this topic