majutsushi/tagbar — Issue #54: Crash on buffer deletion.
Author: totallymike
Created: 2011-12-12 18:13:29+00:00
State: open

To reproduce:
Start vim,
open a file for which tagbar can generate tags,
ToggleTagbar.
Switch the main window to a different buffer.

The tagbar remains active. If the different buffer is taggable, the TagBar will be updated, otherwise the TagBar will retain the tags of the previous buffer.

Now, delete the buffer you switched to, which is now the current buffer:
:bd[elete]

Vim will crash.

If you deactivate the TagBar before you delete the buffer, no crash.