bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: daily: vim problem again


From: Paul Dufresne
Subject: Re: daily: vim problem again
Date: Sun, 28 Feb 2021 01:01:10 -0500
User-agent: Zoho Mail

Rebuild vim again... this time the error was double free or prec != ... something.

Also the error is in vim-gtk3.
I have use ps, to find pid of the test.
run gdb
attach pid_of_the_test
file vim (in gtk3)
bt
note that 0 is the last thing happened.
So in a vim_free (#30), it aborted, much later in #5 it allocated 4080, and detected double_free or corruption at #0 where it hangs there.
Between the two, I see it try to do... test some regular _expression_...
#0  0x031e769c in  () at /lib/i386-gnu/libc.so.0.3
#1  0x031e7e46 in mach_msg () at /lib/i386-gnu/libc.so.0.3
#2  0x03a75612 in gsync_wait () at /lib/i386-gnu/libmachuser.so.1
#3  0x03285c74 in malloc () at /lib/i386-gnu/libc.so.0.3
#4  0x0817e85a in lalloc (size=4080, message=1) at misc2.c:925
#5  0x0817e6e6 in alloc (size=4080) at misc2.c:828
#6  0x081f66f3 in nfa_regmatch (prog=0x1007e690, start=0x1007e704, submatch=0x1001407c, m=0x10013f34) at regexp_nfa.c:5591
#7  0x081f8ee2 in nfa_regtry (prog=0x1007e690, col=0, tm=0x0, timed_out=0x0) at regexp_nfa.c:7043
#8  0x081f94cd in nfa_regexec_both (line=0x10074b40 "", startcol=0, tm=0x0, timed_out=0x0) at regexp_nfa.c:7238
#9  0x081f986a in nfa_regexec_nl (rmp=0x1001433c, line=0x10074b40 "", col=0, line_lbr=0) at regexp_nfa.c:7418
#10 0x081f9b9b in vim_regexec_string (rmp=0x1001433c, line=0x10074b40 "", col=0, nl=0) at regexp.c:2796
#11 0x081f9d31 in vim_regexec (rmp=0x1001433c, line=0x10074b40 "", col=0) at regexp.c:2862
#12 0x0811d690 in match_file_pat (pattern=0x0, prog=0x10084468, fname=0x10074b40 "", sfname=0x0, tail=0x10074b40 "", allow_dirs=0) at fileio.c:5308
#13 0x080885a9 in auto_next_pat (apc=0x1001446c, stop_at_last=0) at autocmd.c:2280
#14 0x0808807f in apply_autocmds_group (event=EVENT_VIMLEAVEPRE, fname=0x10074b40 "", fname_io=0x0, force=0, group=-3, buf=0x1007f950, eap=0x0) at autocmd.c:2082
#15 0x080878fd in apply_autocmds (event=EVENT_VIMLEAVEPRE, fname=0x0, fname_io=0x0, force=0, buf=0x1007f950) at autocmd.c:1624
#16 0x0831f2c2 in getout (exitval=1) at main.c:1601
#17 0x0817ca97 in preserve_exit () at misc1.c:2189
#18 0x081b524c in deathtrap (sigarg=6) at os_unix.c:1115
#19 0x03209f62 in <signal handler called> () at /lib/i386-gnu/libc.so.0.3
#20 0x031e769c in  () at /lib/i386-gnu/libc.so.0.3
#21 0x031e7e46 in mach_msg () at /lib/i386-gnu/libc.so.0.3
#22 0x03ad83cc in msg_sig_post () at /lib/i386-gnu/libhurduser.so.0.3
#23 0x03209bf6 in _hurd_raise_signal () at /lib/i386-gnu/libc.so.0.3
#24 0x0269b0bc in pthread_kill () at /lib/i386-gnu/libpthread.so.0.3
#25 0x03234aa7 in raise () at /lib/i386-gnu/libc.so.0.3
#26 0x031e5fa4 in abort () at /lib/i386-gnu/libc.so.0.3
#27 0x03279e6f in  () at /lib/i386-gnu/libc.so.0.3
#28 0x0328177d in  () at /lib/i386-gnu/libc.so.0.3
#29 0x03282bbd in  () at /lib/i386-gnu/libc.so.0.3
#30 0x0817f5f1 in vim_free (x=0x100a4e30) at misc2.c:1807
#31 0x081232e5 in unix_expandpath (gap=0x4805234, path=0x100328c0 "Xdir/", 'd' <repeats 195 times>..., wildoff=773, flags=34, didstar=1) at filepath.c:3665
#32 0x081231f1 in unix_expandpath (gap=0x4805234, path=0x1002b380 "Xdir/", 'd' <repeats 195 times>..., wildoff=517, flags=34, didstar=1) at filepath.c:3622
#33 0x081231f1 in unix_expandpath (gap=0x4805234, path=0x10083380 "Xdir/", 'd' <repeats 195 times>..., wildoff=261, flags=34, didstar=1) at filepath.c:3622
#34 0x081231f1 in unix_expandpath (gap=0x4805234, path=0x100280f0 "Xdir/**/*.txt", wildoff=0, flags=34, didstar=0) at filepath.c:3622
#35 0x081bb44a in mch_expandpath (gap=0x4805234, path=0x100280f0 "Xdir/**/*.txt", flags=34) at os_unix.c:6465
#36 0x081237ca in gen_expand_wildcards (num_pat=1, pat=0x83dfd8c <NameBuff>, num_file=0x48052a0, file=0x480529c, flags=34) at filepath.c:3864
#37 0x0813d808 in helptags_one (dir=0x1007f440 "Xdir", ext=0x4805349 ".txt", tagfname=0x4805341 "tags", add_help_tags=1, ignore_writeerr=0) at help.c:981
#38 0x0813e3ff in do_helptags (dirname=0x1007f440 "Xdir", add_help_tags=1, ignore_writeerr=0) at help.c:1272
#39 0x0813e5a6 in ex_helptags (eap=0x4805478) at help.c:1322
#40 0x080fe1d7 in do_one_cmd (cmdlinep=0x4805a60, flags=7, cstack=0x48055cc, fgetline=0x8285ed4 <get_func_line>, cookie=0x100826e0) at ex_docmd.c:2585
#41 0x080fb935 in do_cmdline (cmdline=0x0, fgetline=0x8285ed4 <get_func_line>, cookie=0x100826e0, flags=7) at ex_docmd.c:1000
#42 0x0828043b in call_user_func (fp=0x1007f720, argcount=0, argvars=0x480607c, rettv=0x4806294, funcexe=0x4806228, selfdict=0x0) at userfunc.c:1884
#43 0x0828096d in call_user_func_check (fp=0x1007f720, argcount=0, argvars=0x480607c, rettv=0x4806294, funcexe=0x4806228, selfdict=0x0) at userfunc.c:2025
#44 0x0828138f in call_func (funcname=0x1002fc30 "Test_helptag_cmd", len=-1, rettv=0x4806294, argcount_in=0, argvars_in=0x480607c, funcexe=0x4806228) at userfunc.c:2491
#45 0x0827e5d1 in get_func_tv (name=0x1002fc30 "Test_helptag_cmd", len=-1, rettv=0x4806294, arg=0x48062a8, evalarg=0x4806250, funcexe=0x4806228) at userfunc.c:906
#46 0x08285a7a in ex_call (eap=0x4806368) at userfunc.c:4470
#47 0x080fe1d7 in do_one_cmd (cmdlinep=0x4806950, flags=3, cstack=0x48064bc, fgetline=0x8285ed4 <get_func_line>, cookie=0x1002be90) at ex_docmd.c:2585
#48 0x080fb935 in do_cmdline (cmdline=0x100735a0 "call Test_helptag_cmd()", fgetline=0x8285ed4 <get_func_line>, cookie=0x1002be90, flags=3) at ex_docmd.c:1000
#49 0x080d7585 in ex_execute (eap=0x4806af8) at eval.c:6124
#50 0x080fe1d7 in do_one_cmd (cmdlinep=0x48070e0, flags=7, cstack=0x4806c4c, fgetline=0x8285ed4 <get_func_line>, cookie=0x1002be90) at ex_docmd.c:2585
#51 0x080fb935 in do_cmdline (cmdline=0x0, fgetline=0x8285ed4 <get_func_line>, cookie=0x1002be90, flags=7) at ex_docmd.c:1000
#52 0x0828043b in call_user_func (fp=0x100306c0, argcount=1, argvars=0x48076fc, rettv=0x4807914, funcexe=0x48078a8, selfdict=0x0) at userfunc.c:1884
#53 0x0828096d in call_user_func_check (fp=0x100306c0, argcount=1, argvars=0x48076fc, rettv=0x4807914, funcexe=0x48078a8, selfdict=0x0) at userfunc.c:2025
#54 0x0828138f in call_func (funcname=0x10084e00 "RunTheTest", len=-1, rettv=0x4807914, argcount_in=1, argvars_in=0x48076fc, funcexe=0x48078a8) at userfunc.c:2491
#55 0x0827e5d1 in get_func_tv (name=0x10084e00 "RunTheTest", len=-1, rettv=0x4807914, arg=0x4807928, evalarg=0x48078d0, funcexe=0x48078a8) at userfunc.c:906
#56 0x08285a7a in ex_call (eap=0x48079e8) at userfunc.c:4470
#57 0x080fe1d7 in do_one_cmd (cmdlinep=0x4807fd0, flags=7, cstack=0x4807b3c, fgetline=0x80fc505 <get_loop_line>, cookie=0x4807ae4) at ex_docmd.c:2585
#58 0x080fb935 in do_cmdline (cmdline=0x1006d5c0 "\" This script is sourced while editing the .vim file with the tests.", fgetline=
    0x820b99e <getsourceline>, cookie=0x4808090, flags=7) at ex_docmd.c:1000
--Type <RET> for more, q to quit, c to continue without paging--

I guess I can add and remove stuff in the test to figure out what exact part it happens... and/or learn to inspect memory locations in gdb.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]