Aron Griffis <agrif...@gmail.com> wrote: > On Sun, Jul 9, 2017 at 3:06 PM, Aron Griffis <agrif...@gmail.com> wrote: >> >> >> >> On Sun, Jul 9, 2017 at 1:19 PM, Bram Moolenaar <b...@moolenaar.net> wrote: >>> >>> >>> Aron Griffis wrote: >>> >>> > On Saturday, July 8, 2017 at 4:38:36 PM UTC-4, Bram Moolenaar wrote: >>> > > Patch 8.0.0702 >>> > > Problem: An error in a timer can make Vim unusable. >>> > > Solution: Don't set the error flag or exception from a timer. Stop >>> > > a timer >>> > > if it causes an error 3 out of 3 times. Discard an >>> > > exception >>> > > caused inside a timer. >>> > > Files: src/ex_cmds2.c, src/structs.h, >>> > > src/testdir/test_timers.vim, >>> > > runtime/doc/eval.txt >>> > >>> > This patch is causing segfaults for me. I've built with and without it >>> > to verify. >>> > >>> > I have a timer to check a couple files and update my color scheme when >>> > they change. I haven't tried to narrow down any specific lines yet, but >>> > when >>> > TryTheme actually triggers then vim segfaults immediately. Maybe because >>> > of >>> > the try/catch? >>> > >>> > Here's the code from my vimrc: >>> >>> [..] >>> >>> I haven't managed to reproduce it. Can you run Vim in a debugger and >>> see the call stack? >>> >> >> [..] >> >> Full disclosure: My build includes a few extra patches from the Fedora >> RPM, but since Christian got a similar backtrace, I don't think those >> patches are related. > > > In fact, I just rebuilt from pristine 702 source to make sure:
Can you reproduce the crash with valgrind? It may give useful information. Just run vim as: $ valgrind --num-callers=50 --track-origins=yes ./vim 2> vg.log and vg.log will contain useful info if you manage to reproduce the bug. Thanks Dominique -- -- 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. For more options, visit https://groups.google.com/d/optout.