I assume this is coming from a Vim plugin, but I get no leads on where to look. What's the best way of debugging it?
Vim: Caught deadly signal SEGV Vim: Finished.  8119 segmentation fault
This has been here for four hours, I'll give you what help I can. The classical way of debugging programs is with
$ ulimit -c unlimited $ # [do whatever generates the segmentation fault] $ ls -ld *core* # see new core file that I'll call $core $ file $core # see program name that I'll call $program $ gdb $program $core (gdb) bt
That should hopefully give a backtrace of function calls. If you're unlucky you'll get lots of ??, which means that debugging symbols are not enabled. You could get around that with access to the original program objects, but I don't suppose you'd have those.
Instead, one might also run
$ gdb $program (gdb) run arg1 arg2 argetc
However my experience with this is almost only with non-UI programs. I have no idea if either method will work when the segmentation fault happens inside a vim plugin . . .