Vim crash split opening a new file - 8.2.90

20 views
Skip to first unread message

Mike Williams

unread,
Jan 6, 2020, 1:16:07 PM1/6/20
to vim...@googlegroups.com
Hi,

Just updated after the hols and 64bit build on Ubuntu 14.04 is now crashing using nerdtree and opening a new file in a split window.  Looks like an invalid free() processing autocommands but I'm in the early stages of tracking it down.

Is anyone else seeing the crash and already working on it?  Don't want to waste my time if it is already on someone's radar.

TTFN

Mike

Dominique Pellé

unread,
Jan 6, 2020, 1:40:07 PM1/6/20
to vim_dev
Can you give the exact steps so we can reproduce?

Try running Vim with valgrind or asan, as described
in this comment:

https://github.com/vim/vim/issues/5410#issuecomment-569516803

And reports memory errors from valgrind or asan.

Best to try asan first, as valgrind gives noise when using python interpreter.
asan is also faster.

Regards
Dominique

Mike Williams

unread,
Jan 6, 2020, 1:57:59 PM1/6/20
to Dominique Pellé, vim_dev
Hi,

Pinned down the patch that introduced the crash as "8.2.0056: execution stack is incomplete and inefficient".  I'll have a go with asan tomorrow unless someone else works it out first.

TTFN

Mike


From: vim...@googlegroups.com <vim...@googlegroups.com> on behalf of Dominique Pellé <dominiq...@gmail.com>
Sent: 06 January 2020 6:39 PM
To: vim_dev <vim...@googlegroups.com>
Subject: Re: Vim crash split opening a new file - 8.2.90
 
External Sender: Use caution with links/attachments.
--
--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_j9QpAWzgLGQpdhxrzYiNtbwGYoun4a%3DS0LFv7xSztB8g%40mail.gmail.com.

Bram Moolenaar

unread,
Jan 6, 2020, 1:59:41 PM1/6/20
to vim...@googlegroups.com, Mike Williams
I'm not aware of such a problem. Perhaps valgrind can tell you where it
happens.

--
Q: What kind of stuff do you do?
A: I collect hobbies.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Mike Williams

unread,
Jan 8, 2020, 5:22:17 AM1/8/20
to Bram Moolenaar, vim...@googlegroups.com
FTR the crash has been fixed by patch 96.  Nothing more to see, move along now.

Mike

From: Bram Moolenaar <Br...@moolenaar.net>
Sent: 06 January 2020 6:59 PM
To: vim...@googlegroups.com <vim...@googlegroups.com>
Cc: Mike Williams <Mike.W...@globalgraphics.com>

Subject: Re: Vim crash split opening a new file - 8.2.90
External Sender: Use caution with links/attachments.

Reply all
Reply to author
Forward
0 new messages