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

Re: About patch 7.1.130

Expand Messages
  • Andy Wokula
    ... Btw: How to reproduce this crash? -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message from the vim_dev maillist. For
    Message 1 of 7 , Oct 2, 2007
    • 0 Attachment
      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?

      --
      Andy

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Bram Moolenaar
      ... A.Politz made this script: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Function : Segfault Args : None Purpose : Called
      Message 2 of 7 , Oct 2, 2007
      • 0 Attachment
        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
        new
        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
        endfun


        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
        -~----------~----~----~----~------~----~------~--~---
      • Bram Moolenaar
        ... None of the actual patches should have About in the subject. ... I will. But first finish reading all the messages... -- Bad programs can be written in
        Message 3 of 7 , Oct 2, 2007
        • 0 Attachment
          Edward L. Fox wrote:

          > On 10/2/07, Bram Moolenaar <Bram@...> wrote:
          > >
          > >
          > > > 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
          > >
          > > I shouldn't send out patches late at night... The title should be
          > > without "About"!
          >
          > Could you please tell me that which titles should be with "About" and
          > which shouldn't? It seems that many patches these days are all with
          > "About" prefix.

          None of the actual patches should have "About" in the subject.

          > Any way, good night and sleep tight~

          I will. But first finish reading all the messages...

          --
          Bad programs can be written in any language.

          /// 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.