Hi,
On Wed, Feb 6, 2019 at 8:00 AM mattn <[email protected]> wrote:
>
> When triggered WinEnter and there are 1 window, curwin->w_llist will not be
> allocated.
>
Yes. The below fix may not address the issue (as the 'win' pointer is invalid).
I am trying out a fix. But the crash has moved to another location (as the
location list is freed when the window is closed). Once I have a fix for this,
I will post a patch.
Regards,
Yegappan
>
> diff --git a/src/quickfix.c b/src/quickfix.c
> index 3bfa027d6..ced19d2dc 100644
> --- a/src/quickfix.c
> +++ b/src/quickfix.c
> @@ -3963,7 +3963,7 @@ qf_open_new_cwindow(qf_info_T *qi, int height)
> return FAIL; // not enough room for window
> RESET_BINDING(curwin);
>
> - if (IS_LL_STACK(qi))
> + if (IS_LL_STACK(qi) && win->w_llist != NULL)
> {
> // For the location list window, create a reference to the
> // location list from the window 'win'.
>
--
--
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].
For more options, visit https://groups.google.com/d/optout.