I see a crash with Vim 8.0.0502 in test64.out when running the testsuite
and DEBUG is defined:

backtrace:
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff4ce3da3 in _IO_vfprintf_internal (s=0x555555ae7090, 
format=<optimized out>, ap=ap@entry=0x7fffffffba58) at vfprintf.c:1637
#2  0x00007ffff4cea157 in __fprintf (stream=<optimized out>, format=<optimized 
out>) at fprintf.c:32
#3  0x00005555556de7ca in log_subexpr (sub=0x7fffffffc3e0) at regexp_nfa.c:3932
#4  0x00005555556de64a in log_subsexpr (subs=0x7fffffffc3e0) at 
regexp_nfa.c:3907
#5  0x00005555556e1e88 in nfa_regmatch (prog=0x555555ae8470, 
start=0x555555ae85d8, submatch=0x7fffffffc5d0, m=0x7fffffffc3e0) at 
regexp_nfa.c:5802
#6  0x00005555556e0e25 in recursive_regmatch (state=0x555555ae8650, pim=0x0, 
prog=0x555555ae8470, submatch=0x7fffffffc5d0, m=0x7fffffffc3e0, 
listids=0x7fffffffc250) at regexp_nfa.c:5219
#7  0x00005555556e2001 in nfa_regmatch (prog=0x555555ae8470, 
start=0x555555ae8740, submatch=0x7fffffffc5d0, m=0x7fffffffc3e0) at 
regexp_nfa.c:5846
#8  0x00005555556e4b81 in nfa_regtry (prog=0x555555ae8470, col=1, tm=0x0) at 
regexp_nfa.c:6990
#9  0x00005555556e52b4 in nfa_regexec_both (line=0x555555ad71c0 " if then 
else", startcol=0, tm=0x0) at regexp_nfa.c:7182
#10 0x00005555556e56c0 in nfa_regexec_nl (rmp=0x7fffffffca40, 
line=0x555555ad71c0 " if then else", col=0, line_lbr=1) at regexp_nfa.c:7341
#11 0x00005555556e5b1e in vim_regexec_both (rmp=0x7fffffffca40, 
line=0x555555ad71c0 " if then else", col=0, nl=1) at regexp.c:8213
#12 0x00005555556e5d91 in vim_regexec_nl (rmp=0x7fffffffca40, 
line=0x555555ad71c0 " if then else", col=0) at regexp.c:8287
#13 0x00005555555c92c5 in find_some_match (argvars=0x7fffffffce70, 
rettv=0x7fffffffd530, type=3) at evalfunc.c:7305
#14 0x00005555555c9c7f in f_matchlist (argvars=0x7fffffffce70, 
rettv=0x7fffffffd530) at evalfunc.c:7592
#15 0x00005555555bee3b in call_internal_func (name=0x555555ac7ec0 "matchlist", 
argcount=2, argvars=0x7fffffffce70, rettv=0x7fffffffd530) at evalfunc.c:991
#16 0x00005555557579b6 in call_func (funcname=0x555555ae0f40 "matchlist(text, 
pat)", len=9, rettv=0x7fffffffd530, argcount_in=2, argvars_in=0x7fffffffce70, 
argv_func=0x0, firstline=1464, lastline=1464,
    doesrange=0x7fffffffd054, evaluate=1, partial=0x0, selfdict_in=0x0) at 
userfunc.c:1426
#17 0x0000555555755b86 in get_func_tv (name=0x555555ae0f40 "matchlist(text, 
pat)", len=9, rettv=0x7fffffffd530, arg=0x7fffffffd4e0, firstline=1464, 
lastline=1464, doesrange=0x7fffffffd054, evaluate=1, partial=0x0,
    selfdict=0x0) at userfunc.c:455
#18 0x00005555555b46d2 in eval7 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1, want_string=0) at eval.c:4332
#19 0x00005555555b3e97 in eval6 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1, want_string=0) at eval.c:3969
#20 0x00005555555b3a46 in eval5 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1) at eval.c:3785
#21 0x00005555555b2f4d in eval4 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1) at eval.c:3484
#22 0x00005555555b2da3 in eval3 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1) at eval.c:3401
#23 0x00005555555b2c1c in eval2 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1) at eval.c:3333
#24 0x00005555555b2a51 in eval1 (arg=0x7fffffffd4e0, rettv=0x7fffffffd530, 
evaluate=1) at eval.c:3261
#25 0x00005555555b29a8 in eval0 (arg=0x555555a51d4f "matchlist(text, pat)", 
rettv=0x7fffffffd530, nextcmd=0x7fffffffd6a8, evaluate=1) at eval.c:3221
#26 0x00005555555aea1e in ex_let (eap=0x7fffffffd6a0) at eval.c:1228
#27 0x00005555555ef232 in do_one_cmd (cmdlinep=0x7fffffffdd48, sourcing=0, 
cstack=0x7fffffffd8a0, fgetline=0x5555555ec8c9 <get_loop_line>, 
cookie=0x7fffffffd810) at ex_docmd.c:2981
#28 0x00005555555ebd57 in do_cmdline (cmdline=0x0, fgetline=0x555555606a23 
<getexline>, cookie=0x0, flags=0) at ex_docmd.c:1120
#29 0x0000555555680469 in nv_colon (cap=0x7fffffffde70) at normal.c:5398
#30 0x0000555555678a9b in normal_cmd (oap=0x7fffffffdf50, toplevel=1) at 
normal.c:1150
#31 0x0000555555797ef5 in main_loop (cmdwin=0, noexmode=0) at main.c:1323
#32 0x000055555579766b in vim_main2 () at main.c:885
#33 0x0000555555796d4e in main (argc=11, argv=0x7fffffffe148) at main.c:418
(gdb) frame 3
#3  0x00005555556de7ca in log_subexpr (sub=0x7fffffffc3e0) at regexp_nfa.c:3932
3932                fprintf(log_fd, "*** group %d, start: \"%s\", end: 
\"%s\"\n",
(gdb) p j
$1 = 1
(gdb) p s
$2 = 0x555555ad71c4 "then else"
(gdb) p e
$3 = 0x293735392d282029 <error: Cannot access memory at address 
0x293735392d282029>
(gdb) p sub->list.line[j]
$4 = {start = 0x555555ad71c4 "then else", end = 0x293735392d282029 <error: 
Cannot access memory at address 0x293735392d282029>}


I usually do #undef DEBUG in regexp.c and regexp_nfa.c so i did not see 
this error before, so I don't know if this is a new error or not.

Best,
Christian

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui