I've built a version of Vim, v8.2.3321, with huge features and no gui on a debian-based system and see intermittent failures in the regression test Test_conceal_two_windows. The specific test that fails is when option concealcursor is set to "v" and visual mode is entered (test_conceal.vim, line 88). The only reason it fails is because the cursor position is incorrect. In particular, the cursor position is where it would be if the string |hidden| were not concealed. By the way, this places the cursor beyond the end-of-line. Furthermore, this error only occurs in an xterm, i.e., when the X server is running; it does not occur in a console window without X.
To investigate this problem I decided to use gdb to attach to the instance of Vim that the test creates in a terminal window. However, the "attach" fails with the diagnostic "ptrace: Operation not permitted". If I understand this correctly, it means that I, as an unprivileged user, or gdb lack the CAP_SYS_PTRACE capability. So I'm looking for answers/advice/guidance as follows: 1) If using gdb makes sense, how do I acquire that capability? 2) To the developers of these tests, how would you investigate the failure? Thanks in advance, -mike -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/4bb81f2e-edd4-4c32-9a66-34bc76d9456bn%40googlegroups.com.
