| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
|
| |
|
|
| |
close #11898
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Uses runtime suppressions instead of a blacklist, which can only ignore
whole files/functions.
Ref: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Check shada_pack_xx() result, abort on failure.
- Use xcalloc() to zero-initialize `wms`, fixes below ASAN failure.
ASAN failure (running vim_spec.lua in a loop):
../src/nvim/shada.c:1773:13: runtime error: load of value 224, which is not a valid value for type 'bool'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/nvim/shada.c:1773:13
Adding an explicit check just before the ASAN failed line:
case kSDItemRegister: {
if (*((int *)(void *)&entry.data.reg.is_unnamed) != 1
&& *((int *)(void *)&entry.data.reg.is_unnamed) != 0) {
abort();
(gdb) p entry.data.reg
+p entry.data.reg
$5 = {name = 49 '1', type = kMTLineWise, contents = 0x60200000c250, is_unnamed = true, contents_size = 1, width = 0, additional_data = 0x0}
(gdb) p *((uint8_t *)(void *)&entry.data.reg.is_unnamed)
+p *((uint8_t *)(void *)&entry.data.reg.is_unnamed)
$7 = 2049
|
| |
|
|
| |
- tutor: emphasize K
|
| |
|
|
|
|
|
| |
Removed by e0e41b30c61922e099a067ac5c137e745699a1aa, probably
unintentionally. Useful for ye olde redraw debugging.
TODO: Also delay redraw of statusline.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Get terminal debugging info by starting Nvim with 'verbose' level 3:
nvim -V3log
This is like Vim's `:set termcap`, which was removed in Nvim (and would
be very awkward to restore because of the decoupled UI).
|
| |
|
|
|
| |
This makes it trivial to log the callstack to, e.g., stderr, which can
simplify debug cycles.
|
| | |
|
| |
|
|
| |
Rename ui_bridge.c:UI_CALL to UI_BRIDGE_CALL.
|
| |
|
| |
Closes #6712
|
| | |
|
| |
|