well i downloaded the latest patches, did a 'make clean', and presto, no
more seg faults

i know i don't say this enough, but thanks bram


On Fri, Sep 16, 2022 at 6:29 AM Bram Moolenaar <[email protected]> wrote:

>
> Marius Gedminas wrote:
>
> > On Fri, Sep 16, 2022 at 01:09:32PM +0300, Marius Gedminas wrote:
> > > On Fri, Sep 16, 2022 at 01:07:06PM +0300, Marius Gedminas wrote:
> > > > vim 9.0.0475 segfauls whenever I try to edit a file, including a
> > > > nonexistent file (e.g. vim newfile.txt).
> > >
> > > git bisect blames
> > >
> > > commit b46c083a5ed9e0c4ac5f3aec577946dcbe8c9dc5
> > > Author: Bram Moolenaar <[email protected]>
> > > Date:   Thu Sep 15 17:19:37 2022 +0100
> > >
> > >     patch 9.0.0470: in :def function all closures in loop get the same
> variables
> >
> > The segfault went away when I did a full rebuild after git clean -dfx.
> >
> > Weird.  Perhaps some data structure layout changed and the Makefile
> > didn't have the correct dependencies to rebuild everything affected?
>
> I think, based on the stack trace and what changed, that the dependency
> of vim9type.c on vim9.h is missing.  The dependencies are not 100%
> complete to avoid rebuilding everything on the smallest change.
> It does mean that a "make clean" may be needed once in a while.
>
> --
> From "know your smileys":
>  :-H    Is missing teeth
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
>  \\\
> ///
> \\\
> \\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/
> ///
>  \\\            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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_dev/20220916112942.4203A1C0846%40moolenaar.net
> .
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CALfSX1zXSzBpHGTSreY_Pqyx2viD019b6AVFAvSmfHBg-xKnAw%40mail.gmail.com.

Raspunde prin e-mail lui