* Dominique Pellé <dominique.pe...@gmail.com> [2021-09-05 22:48 +0200]:

> Bram Moolenaar <b...@moolenaar.net> wrote:
> 
> > Elimar Riesebieter wrote:
> >
> > > Environment: amd64
> > > Shell: zsh
> > > Term: tmux session
> > > Compiler: clang-12
> > > LANG: C
> > >
> > > Hi all,
> > >
> > > Building 8.2.3404 gives me
> > >
> > > ###
> > > Failures:
> > >         From test_signals.vim:
> > >         Found errors in Test_deadly_signal_TERM():
> > >         Run 1:
> > >         command line..script 
> > > /source/vim/vim-8.2.3404/src/vim-nox/testdir/runtest.vim[486]..function 
> > > RunTheTest[44]..Test_deadly_signal_TERM line 35: Expected ['VimLeavePre 
> > > triggered', 'VimLeave triggered'] but got ['VimLeavePre triggered']
> > >         Run 2:
> > >         command line..script 
> > > /source/vim/vim-8.2.3404/src/vim-nox/testdir/runtest.vim[520]..function 
> > > RunTheTest[44]..Test_deadly_signal_TERM line 35: Expected ['VimLeavePre 
> > > triggered', 'VimLeave triggered'] but got ['VimLeavePre triggered']
> > >         Run 3:
> > >         command line..script 
> > > /source/vim/vim-8.2.3404/src/vim-nox/testdir/runtest.vim[520]..function 
> > > RunTheTest[44]..Test_deadly_signal_TERM line 35: Expected ['VimLeavePre 
> > > triggered', 'VimLeave triggered'] but got ['VimLeavePre triggered']
> > >         Flaky test failed too often, giving up
> > >
> > > TEST FAILURE
> > > ###
> >
> > It's unrelated to the 8.2.3404 patch, with what patch did it start
> > failing?
> >
> > CI doesn't report this error.  Does the failure go away when you change
> > something in your setup?  e.g. not use tmux or use another shell.
> 
> This failure looks related or maybe similar to
> https://github.com/vim/vim/issues/7402
> 
> There it was found that building Vim with `-D_REENTRANT` fixes it.
> 
> Can you  confirm Elimar?

Indeed adding -D_REENTRANT to the CFLAGS (CPPFLAGS) fixes the issue.

Thanks
Elimar
-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20210906153211.x236ukyt634hnfiq%40baumbart.home.lxtec.de.

Raspunde prin e-mail lui