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

Re: About patch 7.1.130

Expand Messages
  • Bram Moolenaar
    ... A.Politz made this script: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Function : Segfault Args : None Purpose : Called
    Message 1 of 7 , Oct 2, 2007
      Andy Wokula wrote:

      > Bram Moolenaar schrieb:
      > > Patch 7.1.130
      > > Problem: Crash with specific order of undo and redo. (A.Politz)
      > > Solution: Clear and adjust pointers properly. Add u_check() for debugging.
      > > Files: src/undo.c, src/structs.h
      > Btw: How to reproduce this crash?

      A.Politz made this script:

      "Function : Segfault
      "Args : None
      "Purpose : Called by the "UserGettingBored" aucommand.
      func! Segfault()
      setl noswapfile
      setl noswapfile
      set undolevels=3
      put =0
      put =1
      set undolevels=3
      put =2
      set undolevels=3
      put =3
      set undolevels=3
      put =4
      set undolevels=1
      norm 3u
      set undolevels=3
      put =5
      set undolevels=1
      norm 3u

      call Segfault()

      Even with some small changes it still crashes, tries to free memory
      that's already free, hangs, and other nasty things.

      OLD WOMAN: Well, how did you become king, then?
      ARTHUR: The Lady of the Lake, her arm clad in the purest shimmering samite,
      held Excalibur aloft from the bosom of the water to signify by Divine
      Providence ... that I, Arthur, was to carry Excalibur ... That is
      why I am your king!
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// 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://ICCF-Holland.org ///

      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.