Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Substitution ${...///} slows down when certain UTF character occurs



On Wed, 30 Sep 2015 09:59:50 +0100
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 29 Sep 2015 12:23:56 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > On Sep 29,  7:37pm, Peter Stephenson wrote:
> > }
> > } This uses the new interface.  I haven't done any testing apart from the
> > } normal test suite.
> > 
> > I ran my looping version of Sebastian's test program and got comparable
> > (fast!) times for all of his samples.
> 
> OK, that suggests we're now allocating memory infrequently enough (as
> intended) that it's safe to put it on the heap, which simplifies things
> further.  One other unnecessary chunk removed.

Except it doesn't work yet.

In some complex git completion --- reproducible only in one set up ---
the heap allocation is apparently going out of bounds.  Yet I've checked
and nothing seems able to happen that can affect this.  If I add
debugging, the same pointer is reported as returned from zhalloc() that
is later claimed to be out of bounds.  Yet with more debugging there's
no popheap() or switch_heap() happening, as by eye there can't be.  I'm
a bit stuck; how can a piece of memory returned by zhalloc() suddenly go
invalid?

valgrind agrees with gdb but doesn't give any more help.

Maybe we're just running out of memory after all?  That's a pretty big
stack...  I think it's a clue that the address reported as failed
usually ends in three 000's while as you'd expect the allocated address
is basically randomly 4-byte alligned in general.  A further clue is the
crash is never quite in the same place twice, just in some pattryrefs()
within igetmatch().

pushing and popping the heap locally doesn't work as we need to pass
stuff back on the heap.

Maybe I should just go back to zalloc().

pws

#0  0x0000000000495438 in pattryrefs (prog=0x2b3cc2f29fc0, 
    string=0x2b3cc2f2a000 <Address 0x2b3cc2f2a000 out of bounds>, stringlen=0, 
    unmetalenin=0, patstralloc=0x7fffa76b7fe0, patoffset=0, nump=0x0, 
    begp=0x0, endp=0x0) at pattern.c:2228
#1  0x00000000004953b3 in pattrylen (prog=0x2b3cc2f29fc0, 
    string=0x2b3cc2f2a000 <Address 0x2b3cc2f2a000 out of bounds>, len=0, 
    unmetalen=0, patstralloc=0x7fffa76b7fe0, offset=0) at pattern.c:2158
#2  0x0000000000445e82 in igetmatch (sp=0x7fffa76b8210, p=0x2b3cc2f29fc0, 
    fl=22, n=1, replstr=0x2b3cc2f29f90 ",", repllistp=0x0) at glob.c:3001
#3  0x000000000044502d in getmatch (sp=0x7fffa76b8210, 
    pat=0x2b3cc2f29f8c " ->", fl=22, n=1, replstr=0x2b3cc2f29f90 ",")
    at glob.c:2630
#4  0x00000000004a8d1b in paramsubst (l=0x7fffa76b88c0, n=0x7fffa76b88a0, 
    str=0x7fffa76b8610, qt=0, pf_flags=4) at subst.c:2939
#5  0x00000000004a33c7 in stringsubst (list=0x7fffa76b88c0, 
    node=0x7fffa76b88a0, pf_flags=4, asssub=0) at subst.c:236
#6  0x00000000004a271d in prefork (list=0x7fffa76b88c0, flags=6) at subst.c:77
#7  0x000000000043287a in addvars (state=0x7fffa76b9890, pc=0x1fa8918, 
    addflags=0) at exec.c:2291
#8  0x000000000042e603 in execsimple (state=0x7fffa76b9890) at exec.c:1118
#9  0x000000000042ebfb in execlist (state=0x7fffa76b9890, dont_change_job=1, 
    exiting=0) at exec.c:1255
#10 0x0000000000465f6c in execfor (state=0x7fffa76b9890, do_exec=0)
    at loop.c:175
#11 0x0000000000436a46 in execcmd (state=0x7fffa76b9890, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#12 0x000000000043113e in execpline2 (state=0x7fffa76b9890, pcode=1219, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#13 0x000000000042fbc5 in execpline (state=0x7fffa76b9890, slcode=133122, 
    how=2, last1=0) at exec.c:1525
#14 0x000000000042ed58 in execlist (state=0x7fffa76b9890, dont_change_job=1, 
    exiting=0) at exec.c:1284
#15 0x000000000042e4b8 in execode (p=0x1fa4340, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#16 0x000000000043b4ac in runshfunc (prog=0x1fa4340, wrap=0x0, 
    name=0x2b3cc2f255b8 "__git_recent_commits") at exec.c:5357
#17 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fa4340, w=0x0, 
    name=0x2b3cc2f255b8 "__git_recent_commits") at complete.c:1459
#18 0x000000000043b3f2 in runshfunc (prog=0x1fa4340, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2f255b8 "__git_recent_commits") at exec.c:5342
#19 0x000000000043ae6c in doshfunc (shfunc=0x1fa8e88, doshargs=0x2b3cc2f254e8, 
    noreturnval=0) at exec.c:5223
#20 0x000000000043a0c4 in execshfunc (shf=0x1fa8e88, args=0x2b3cc2f254e8)
    at exec.c:4854
#21 0x0000000000436c0a in execcmd (state=0x7fffa76bace0, input=0, output=0, 
    how=2, last1=2) at exec.c:3525
#22 0x000000000043113e in execpline2 (state=0x7fffa76bace0, pcode=323, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#23 0x000000000042fbc5 in execpline (state=0x7fffa76bace0, slcode=4162, how=2, 
    last1=0) at exec.c:1525
#24 0x000000000042eef6 in execlist (state=0x7fffa76bace0, dont_change_job=1, 
    exiting=0) at exec.c:1326
#25 0x000000000042e4b8 in execode (p=0x1fa41f0, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#26 0x000000000043b4ac in runshfunc (prog=0x1fa41f0, wrap=0x0, 
    name=0x2b3cc2f25280 "__git_commit_objects_prefer_recent") at exec.c:5357
#27 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fa41f0, w=0x0, 
    name=0x2b3cc2f25280 "__git_commit_objects_prefer_recent")
    at complete.c:1459
#28 0x000000000043b3f2 in runshfunc (prog=0x1fa41f0, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2f25280 "__git_commit_objects_prefer_recent") at exec.c:5342
#29 0x000000000043ae6c in doshfunc (shfunc=0x1fa7aa0, doshargs=0x2b3cc2f25168, 
    noreturnval=0) at exec.c:5223
#30 0x000000000043a0c4 in execshfunc (shf=0x1fa7aa0, args=0x2b3cc2f25168)
    at exec.c:4854
#31 0x0000000000436c0a in execcmd (state=0x7fffa76bf790, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#32 0x000000000043113e in execpline2 (state=0x7fffa76bf790, pcode=3971, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#33 0x000000000042fbc5 in execpline (state=0x7fffa76bf790, slcode=3074, 
    how=18, last1=0) at exec.c:1525
#34 0x000000000042ed58 in execlist (state=0x7fffa76bf790, dont_change_job=1, 
    exiting=0) at exec.c:1284
#35 0x0000000000466adc in execwhile (state=0x7fffa76bf790, do_exec=0)
    at loop.c:452
#36 0x0000000000436a46 in execcmd (state=0x7fffa76bf790, input=0, output=0, 
    how=18, last1=2) at exec.c:3473
#37 0x000000000043113e in execpline2 (state=0x7fffa76bf790, pcode=3907, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#38 0x000000000042fbc5 in execpline (state=0x7fffa76bf790, slcode=15362, 
    how=18, last1=0) at exec.c:1525
#39 0x000000000042ed58 in execlist (state=0x7fffa76bf790, dont_change_job=1, 
    exiting=0) at exec.c:1284
#40 0x0000000000466edc in execif (state=0x7fffa76bf790, do_exec=0)
    at loop.c:565
#41 0x0000000000436a46 in execcmd (state=0x7fffa76bf790, input=0, output=0, 
    how=18, last1=2) at exec.c:3473
#42 0x000000000043113e in execpline2 (state=0x7fffa76bf790, pcode=1987, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#43 0x000000000042fbc5 in execpline (state=0x7fffa76bf790, slcode=148482, 
    how=18, last1=0) at exec.c:1525
#44 0x000000000042ed58 in execlist (state=0x7fffa76bf790, dont_change_job=1, 
    exiting=0) at exec.c:1284
#45 0x0000000000466edc in execif (state=0x7fffa76bf790, do_exec=0)
    at loop.c:565
#46 0x0000000000436a46 in execcmd (state=0x7fffa76bf790, input=0, output=0, 
    how=18, last1=2) at exec.c:3473
#47 0x000000000043113e in execpline2 (state=0x7fffa76bf790, pcode=1603, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#48 0x000000000042fbc5 in execpline (state=0x7fffa76bf790, slcode=180226, 
    how=18, last1=0) at exec.c:1525
#49 0x000000000042ed58 in execlist (state=0x7fffa76bf790, dont_change_job=1, 
    exiting=0) at exec.c:1284
#50 0x0000000000465f6c in execfor (state=0x7fffa76bf790, do_exec=0)
    at loop.c:175
#51 0x0000000000436a46 in execcmd (state=0x7fffa76bf790, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#52 0x000000000043113e in execpline2 (state=0x7fffa76bf790, pcode=1539, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#53 0x000000000042fbc5 in execpline (state=0x7fffa76bf790, slcode=186370, 
    how=2, last1=0) at exec.c:1525
#54 0x000000000042ed58 in execlist (state=0x7fffa76bf790, dont_change_job=1, 
    exiting=0) at exec.c:1284
#55 0x0000000000466adc in execwhile (state=0x7fffa76bf790, do_exec=0)
    at loop.c:452
#56 0x0000000000436a46 in execcmd (state=0x7fffa76bf790, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#57 0x000000000043113e in execpline2 (state=0x7fffa76bf790, pcode=1475, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#58 0x000000000042fbc5 in execpline (state=0x7fffa76bf790, slcode=206850, 
    how=2, last1=0) at exec.c:1525
#59 0x000000000042ed58 in execlist (state=0x7fffa76bf790, dont_change_job=1, 
    exiting=0) at exec.c:1284
#60 0x000000000042e4b8 in execode (p=0x1fc1cf0, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#61 0x000000000043b4ac in runshfunc (prog=0x1fc1cf0, wrap=0x0, 
    name=0x2b3cc2f23520 "_alternative") at exec.c:5357
#62 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fc1cf0, w=0x0, 
    name=0x2b3cc2f23520 "_alternative") at complete.c:1459
#63 0x000000000043b3f2 in runshfunc (prog=0x1fc1cf0, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2f23520 "_alternative") at exec.c:5342
#64 0x000000000043ae6c in doshfunc (shfunc=0x1de5530, doshargs=0x2b3cc2f23318, 
    noreturnval=0) at exec.c:5223
#65 0x000000000043a0c4 in execshfunc (shf=0x1de5530, args=0x2b3cc2f23318)
    at exec.c:4854
#66 0x0000000000436c0a in execcmd (state=0x7fffa76c0be0, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#67 0x000000000043113e in execpline2 (state=0x7fffa76c0be0, pcode=963, how=18, 
    input=0, output=0, last1=0) at exec.c:1747
#68 0x000000000042fbc5 in execpline (state=0x7fffa76c0be0, slcode=6146, 
    how=18, last1=0) at exec.c:1525
#69 0x000000000042ed58 in execlist (state=0x7fffa76c0be0, dont_change_job=1, 
    exiting=0) at exec.c:1284
#70 0x000000000042e4b8 in execode (p=0x1fa4228, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#71 0x000000000043b4ac in runshfunc (prog=0x1fa4228, wrap=0x0, 
    name=0x2b3cc2f227f8 "__git_commits") at exec.c:5357
#72 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fa4228, w=0x0, 
    name=0x2b3cc2f227f8 "__git_commits") at complete.c:1459
#73 0x000000000043b3f2 in runshfunc (prog=0x1fa4228, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2f227f8 "__git_commits") at exec.c:5342
#74 0x000000000043ae6c in doshfunc (shfunc=0x1fa7df0, doshargs=0x2b3cc2f22730, 
    noreturnval=0) at exec.c:5223
#75 0x000000000043a0c4 in execshfunc (shf=0x1fa7df0, args=0x2b3cc2f22730)
    at exec.c:4854
#76 0x0000000000436c0a in execcmd (state=0x7fffa76c2030, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#77 0x000000000043113e in execpline2 (state=0x7fffa76c2030, pcode=1155, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#78 0x000000000042fbc5 in execpline (state=0x7fffa76c2030, slcode=5122, 
    how=18, last1=0) at exec.c:1525
#79 0x000000000042ed58 in execlist (state=0x7fffa76c2030, dont_change_job=1, 
    exiting=0) at exec.c:1284
#80 0x000000000042e4b8 in execode (p=0x1fa44c8, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#81 0x000000000043b4ac in runshfunc (prog=0x1fa44c8, wrap=0x0, 
    name=0x2b3cc2d0deb0 "__git_commit_ranges") at exec.c:5357
#82 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fa44c8, w=0x0, 
    name=0x2b3cc2d0deb0 "__git_commit_ranges") at complete.c:1459
#83 0x000000000043b3f2 in runshfunc (prog=0x1fa44c8, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2d0deb0 "__git_commit_ranges") at exec.c:5342
#84 0x000000000043ae6c in doshfunc (shfunc=0x1fa9a00, doshargs=0x2b3cc2d0de18, 
    noreturnval=0) at exec.c:5223
#85 0x000000000043a0c4 in execshfunc (shf=0x1fa9a00, args=0x2b3cc2d0de18)
    at exec.c:4854
#86 0x0000000000436c0a in execcmd (state=0x7fffa76c4a40, input=0, output=0, 
    how=2, last1=2) at exec.c:3525
#87 0x000000000043113e in execpline2 (state=0x7fffa76c4a40, pcode=1923, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#88 0x000000000042fbc5 in execpline (state=0x7fffa76c4a40, slcode=4130, how=2, 
    last1=0) at exec.c:1525
#89 0x000000000042eda7 in execlist (state=0x7fffa76c4a40, dont_change_job=1, 
    exiting=0) at exec.c:1293
#90 0x0000000000466edc in execif (state=0x7fffa76c4a40, do_exec=0)
    at loop.c:565
#91 0x0000000000436a46 in execcmd (state=0x7fffa76c4a40, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#92 0x000000000043113e in execpline2 (state=0x7fffa76c4a40, pcode=1859, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#93 0x000000000042fbc5 in execpline (state=0x7fffa76c4a40, slcode=19458, 
    how=2, last1=0) at exec.c:1525
#94 0x000000000042ed58 in execlist (state=0x7fffa76c4a40, dont_change_job=1, 
    exiting=0) at exec.c:1284
#95 0x000000000046731d in execcase (state=0x7fffa76c4a40, do_exec=0)
    at loop.c:658
#96 0x0000000000436a46 in execcmd (state=0x7fffa76c4a40, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#97 0x000000000043113e in execpline2 (state=0x7fffa76c4a40, pcode=1091, how=2, 
    input=0, output=0, last1=0) at exec.c:1747
#98 0x000000000042fbc5 in execpline (state=0x7fffa76c4a40, slcode=129026, 
    how=2, last1=0) at exec.c:1525
#99 0x000000000042ed58 in execlist (state=0x7fffa76c4a40, dont_change_job=1, 
    exiting=0) at exec.c:1284
#100 0x000000000042e4b8 in execode (p=0x1eca350, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#101 0x000000000043b4ac in runshfunc (prog=0x1eca350, wrap=0x0, 
    name=0x2b3cc2b041b0 "_git-log") at exec.c:5357
#102 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1eca350, w=0x0, 
    name=0x2b3cc2b041b0 "_git-log") at complete.c:1459
#103 0x000000000043b3f2 in runshfunc (prog=0x1eca350, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2b041b0 "_git-log") at exec.c:5342
#104 0x000000000043ae6c in doshfunc (shfunc=0x1ea9648, 
    doshargs=0x2b3cc2b04148, noreturnval=0) at exec.c:5223
#105 0x000000000043a0c4 in execshfunc (shf=0x1ea9648, args=0x2b3cc2b04148)
    at exec.c:4854
#106 0x0000000000436c0a in execcmd (state=0x7fffa76c6950, input=0, output=0, 
    how=2, last1=2) at exec.c:3525
#107 0x000000000043113e in execpline2 (state=0x7fffa76c6950, pcode=1475, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#108 0x000000000042fbc5 in execpline (state=0x7fffa76c6950, slcode=3074, 
    how=2, last1=0) at exec.c:1525
#109 0x000000000042ed58 in execlist (state=0x7fffa76c6950, dont_change_job=1, 
    exiting=0) at exec.c:1284
#110 0x0000000000466edc in execif (state=0x7fffa76c6950, do_exec=0)
    at loop.c:565
#111 0x0000000000436a46 in execcmd (state=0x7fffa76c6950, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#112 0x000000000043113e in execpline2 (state=0x7fffa76c6950, pcode=1411, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#113 0x000000000042fbc5 in execpline (state=0x7fffa76c6950, slcode=40962, 
    how=2, last1=0) at exec.c:1525
#114 0x000000000042ed58 in execlist (state=0x7fffa76c6950, dont_change_job=1, 
    exiting=0) at exec.c:1284
#115 0x000000000042e4b8 in execode (p=0x1fa5a38, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#116 0x000000000043b4ac in runshfunc (prog=0x1fa5a38, wrap=0x0, 
    name=0x2b3cc2b03a18 "_call_function") at exec.c:5357
#117 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fa5a38, w=0x0, 
    name=0x2b3cc2b03a18 "_call_function") at complete.c:1459
#118 0x000000000043b3f2 in runshfunc (prog=0x1fa5a38, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2b03a18 "_call_function") at exec.c:5342
#119 0x000000000043ae6c in doshfunc (shfunc=0x1e24578, 
    doshargs=0x2b3cc2b03938, noreturnval=0) at exec.c:5223
#120 0x000000000043a0c4 in execshfunc (shf=0x1e24578, args=0x2b3cc2b03938)
    at exec.c:4854
#121 0x0000000000436c0a in execcmd (state=0x7fffa76c9e20, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#122 0x000000000043113e in execpline2 (state=0x7fffa76c9e20, pcode=4099, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#123 0x000000000042fbc5 in execpline (state=0x7fffa76c9e20, slcode=5378, 
    how=18, last1=0) at exec.c:1525
#124 0x000000000042ed58 in execlist (state=0x7fffa76c9e20, dont_change_job=1, 
    exiting=0) at exec.c:1284
#125 0x0000000000466e21 in execif (state=0x7fffa76c9e20, do_exec=0)
    at loop.c:549
#126 0x0000000000436a46 in execcmd (state=0x7fffa76c9e20, input=0, output=0, 
    how=18, last1=2) at exec.c:3473
#127 0x000000000043113e in execpline2 (state=0x7fffa76c9e20, pcode=4099, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#128 0x000000000042fbc5 in execpline (state=0x7fffa76c9e20, slcode=41986, 
    how=18, last1=0) at exec.c:1525
#129 0x000000000042ed58 in execlist (state=0x7fffa76c9e20, dont_change_job=1, 
    exiting=0) at exec.c:1284
#130 0x000000000046731d in execcase (state=0x7fffa76c9e20, do_exec=0)
    at loop.c:658
#131 0x0000000000436a46 in execcmd (state=0x7fffa76c9e20, input=0, output=0, 
    how=18, last1=2) at exec.c:3473
#132 0x000000000043113e in execpline2 (state=0x7fffa76c9e20, pcode=3651, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#133 0x000000000042fbc5 in execpline (state=0x7fffa76c9e20, slcode=72706, 
    how=18, last1=0) at exec.c:1525
#134 0x000000000042ed58 in execlist (state=0x7fffa76c9e20, dont_change_job=1, 
    exiting=0) at exec.c:1284
#135 0x0000000000466edc in execif (state=0x7fffa76c9e20, do_exec=0)
    at loop.c:565
#136 0x0000000000436a46 in execcmd (state=0x7fffa76c9e20, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#137 0x000000000043113e in execpline2 (state=0x7fffa76c9e20, pcode=1987, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#138 0x000000000042fbc5 in execpline (state=0x7fffa76c9e20, slcode=144386, 
    how=2, last1=0) at exec.c:1525
#139 0x000000000042ed58 in execlist (state=0x7fffa76c9e20, dont_change_job=1, 
    exiting=0) at exec.c:1284
#140 0x000000000042e4b8 in execode (p=0x1fa53e0, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#141 0x000000000043b4ac in runshfunc (prog=0x1fa53e0, wrap=0x0, 
    name=0x2b3cc2064810 "_git") at exec.c:5357
#142 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1fa53e0, w=0x0, 
    name=0x2b3cc2064810 "_git") at complete.c:1459
#143 0x000000000043b3f2 in runshfunc (prog=0x1fa53e0, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2064810 "_git") at exec.c:5342
#144 0x000000000043ae6c in doshfunc (shfunc=0x1fb5860, 
    doshargs=0x2b3cc20647c8, noreturnval=0) at exec.c:5223
#145 0x000000000043a0c4 in execshfunc (shf=0x1fb5860, args=0x2b3cc20647c8)
    at exec.c:4854
#146 0x0000000000436c0a in execcmd (state=0x7fffa76cb270, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#147 0x000000000043113e in execpline2 (state=0x7fffa76cb270, pcode=131, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#148 0x000000000042fbc5 in execpline (state=0x7fffa76cb270, slcode=3074, 
    how=18, last1=0) at exec.c:1525
#149 0x000000000042ed58 in execlist (state=0x7fffa76cb270, dont_change_job=1, 
    exiting=0) at exec.c:1284
#150 0x000000000042e4b8 in execode (p=0x2b3cc2064758, dont_change_job=1, 
    exiting=0, context=0x4be8bf "eval") at exec.c:1075
#151 0x0000000000425d77 in eval (argv=0x2b3cc20646f0) at builtin.c:5399
#152 0x00000000004262d9 in bin_eval (nam=0x2b3cc20646d8 "eval", 
    argv=0x2b3cc20646f0, ops=0x7fffa76cb360, func=14) at builtin.c:5568
#153 0x000000000040ff88 in execbuiltin (args=0x2b3cc2064690, assigns=0x0, 
    bn=0x6dde00) at builtin.c:484
#154 0x00000000004372f8 in execcmd (state=0x7fffa76cca00, input=0, output=0, 
    how=2, last1=2) at exec.c:3642
#155 0x000000000043113e in execpline2 (state=0x7fffa76cca00, pcode=4099, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#156 0x000000000042fbc5 in execpline (state=0x7fffa76cca00, slcode=4130, 
    how=2, last1=0) at exec.c:1525
#157 0x000000000042eda7 in execlist (state=0x7fffa76cca00, dont_change_job=1, 
    exiting=0) at exec.c:1293
#158 0x0000000000466edc in execif (state=0x7fffa76cca00, do_exec=0)
    at loop.c:565
#159 0x0000000000436a46 in execcmd (state=0x7fffa76cca00, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#160 0x000000000043113e in execpline2 (state=0x7fffa76cca00, pcode=3971, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#161 0x000000000042fbc5 in execpline (state=0x7fffa76cca00, slcode=43010, 
    how=2, last1=0) at exec.c:1525
#162 0x000000000042ed58 in execlist (state=0x7fffa76cca00, dont_change_job=1, 
    exiting=0) at exec.c:1284
#163 0x000000000042e4b8 in execode (p=0x1ec9dd8, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#164 0x000000000043b4ac in runshfunc (prog=0x1ec9dd8, wrap=0x0, 
    name=0x2b3cc2063ed8 "_dispatch") at exec.c:5357
#165 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1ec9dd8, w=0x0, 
    name=0x2b3cc2063ed8 "_dispatch") at complete.c:1459
#166 0x000000000043b3f2 in runshfunc (prog=0x1ec9dd8, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2063ed8 "_dispatch") at exec.c:5342
#167 0x000000000043ae6c in doshfunc (shfunc=0x1e4b4a8, 
    doshargs=0x2b3cc2063d50, noreturnval=0) at exec.c:5223
#168 0x000000000043a0c4 in execshfunc (shf=0x1e4b4a8, args=0x2b3cc2063d50)
    at exec.c:4854
#169 0x0000000000436c0a in execcmd (state=0x7fffa76cde50, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#170 0x000000000043113e in execpline2 (state=0x7fffa76cde50, pcode=2627, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#171 0x000000000042fbc5 in execpline (state=0x7fffa76cde50, slcode=8194, 
    how=18, last1=0) at exec.c:1525
#172 0x000000000042ed58 in execlist (state=0x7fffa76cde50, dont_change_job=1, 
    exiting=0) at exec.c:1284
#173 0x000000000042e4b8 in execode (p=0x1e50be0, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#174 0x000000000043b4ac in runshfunc (prog=0x1e50be0, wrap=0x0, 
    name=0x2b3cc2063a30 "_normal") at exec.c:5357
#175 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1e50be0, w=0x0, 
    name=0x2b3cc2063a30 "_normal") at complete.c:1459
#176 0x000000000043b3f2 in runshfunc (prog=0x1e50be0, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2063a30 "_normal") at exec.c:5342
#177 0x000000000043ae6c in doshfunc (shfunc=0x1e59058, 
    doshargs=0x2b3cc20639c8, noreturnval=0) at exec.c:5223
#178 0x000000000043a0c4 in execshfunc (shf=0x1e59058, args=0x2b3cc20639c8)
    at exec.c:4854
#179 0x0000000000436c0a in execcmd (state=0x7fffa76cfd60, input=0, output=0, 
    how=2, last1=2) at exec.c:3525
#180 0x000000000043113e in execpline2 (state=0x7fffa76cfd60, pcode=7555, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#181 0x000000000042fbc5 in execpline (state=0x7fffa76cfd60, slcode=4130, 
    how=2, last1=0) at exec.c:1525
#182 0x000000000042eda7 in execlist (state=0x7fffa76cfd60, dont_change_job=1, 
    exiting=0) at exec.c:1293
#183 0x0000000000466edc in execif (state=0x7fffa76cfd60, do_exec=0)
    at loop.c:565
#184 0x0000000000436a46 in execcmd (state=0x7fffa76cfd60, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#185 0x000000000043113e in execpline2 (state=0x7fffa76cfd60, pcode=7427, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#186 0x000000000042fbc5 in execpline (state=0x7fffa76cfd60, slcode=117762, 
    how=2, last1=0) at exec.c:1525
#187 0x000000000042ed58 in execlist (state=0x7fffa76cfd60, dont_change_job=1, 
    exiting=0) at exec.c:1284
#188 0x000000000042e4b8 in execode (p=0x1e61cd0, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#189 0x000000000043b4ac in runshfunc (prog=0x1e61cd0, wrap=0x0, 
    name=0x2b3cc2063318 "_complete") at exec.c:5357
#190 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1e61cd0, w=0x0, 
    name=0x2b3cc2063318 "_complete") at complete.c:1459
#191 0x000000000043b3f2 in runshfunc (prog=0x1e61cd0, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2063318 "_complete") at exec.c:5342
#192 0x000000000043ae6c in doshfunc (shfunc=0x1e4abf0, 
    doshargs=0x2b3cc20632b0, noreturnval=0) at exec.c:5223
#193 0x000000000043a0c4 in execshfunc (shf=0x1e4abf0, args=0x2b3cc20632b0)
    at exec.c:4854
#194 0x0000000000436c0a in execcmd (state=0x7fffa76d3dd0, input=0, output=0, 
    how=18, last1=2) at exec.c:3525
#195 0x000000000043113e in execpline2 (state=0x7fffa76d3dd0, pcode=12803, 
    how=18, input=0, output=0, last1=0) at exec.c:1747
#196 0x000000000042fbc5 in execpline (state=0x7fffa76d3dd0, slcode=3074, 
    how=18, last1=0) at exec.c:1525
#197 0x000000000042ed58 in execlist (state=0x7fffa76d3dd0, dont_change_job=1, 
    exiting=0) at exec.c:1284
#198 0x0000000000466e21 in execif (state=0x7fffa76d3dd0, do_exec=0)
    at loop.c:549
#199 0x0000000000436a46 in execcmd (state=0x7fffa76d3dd0, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#200 0x000000000043113e in execpline2 (state=0x7fffa76d3dd0, pcode=12483, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#201 0x000000000042fbc5 in execpline (state=0x7fffa76d3dd0, slcode=48130, 
    how=2, last1=0) at exec.c:1525
#202 0x000000000042ed58 in execlist (state=0x7fffa76d3dd0, dont_change_job=1, 
    exiting=0) at exec.c:1284
#203 0x0000000000465f6c in execfor (state=0x7fffa76d3dd0, do_exec=0)
    at loop.c:175
#204 0x0000000000436a46 in execcmd (state=0x7fffa76d3dd0, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#205 0x000000000043113e in execpline2 (state=0x7fffa76d3dd0, pcode=11971, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#206 0x000000000042fbc5 in execpline (state=0x7fffa76d3dd0, slcode=90114, 
    how=2, last1=0) at exec.c:1525
#207 0x000000000042ed58 in execlist (state=0x7fffa76d3dd0, dont_change_job=1, 
    exiting=0) at exec.c:1284
#208 0x0000000000465f6c in execfor (state=0x7fffa76d3dd0, do_exec=0)
    at loop.c:175
#209 0x0000000000436a46 in execcmd (state=0x7fffa76d3dd0, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#210 0x000000000043113e in execpline2 (state=0x7fffa76d3dd0, pcode=10499, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#211 0x000000000042fbc5 in execpline (state=0x7fffa76d3dd0, slcode=220162, 
    how=2, last1=0) at exec.c:1525
#212 0x000000000042ed58 in execlist (state=0x7fffa76d3dd0, dont_change_job=1, 
    exiting=0) at exec.c:1284
#213 0x00000000004674e9 in exectry (state=0x7fffa76d3dd0, do_exec=0)
    at loop.c:722
#214 0x0000000000436a46 in execcmd (state=0x7fffa76d3dd0, input=0, output=0, 
    how=2, last1=2) at exec.c:3473
#215 0x000000000043113e in execpline2 (state=0x7fffa76d3dd0, pcode=3075, 
    how=2, input=0, output=0, last1=0) at exec.c:1747
#216 0x000000000042fbc5 in execpline (state=0x7fffa76d3dd0, slcode=1631234, 
    how=2, last1=0) at exec.c:1525
#217 0x000000000042ed58 in execlist (state=0x7fffa76d3dd0, dont_change_job=1, 
    exiting=0) at exec.c:1284
#218 0x000000000042e4b8 in execode (p=0x1ec9c88, dont_change_job=1, exiting=0, 
    context=0x4c213a "shfunc") at exec.c:1075
#219 0x000000000043b4ac in runshfunc (prog=0x1ec9c88, wrap=0x0, 
    name=0x2b3cc2056048 "_main_complete") at exec.c:5357
#220 0x00002b3cc22ca8f0 in comp_wrapper (prog=0x1ec9c88, w=0x0, 
    name=0x2b3cc2056048 "_main_complete") at complete.c:1459
#221 0x000000000043b3f2 in runshfunc (prog=0x1ec9c88, wrap=0x2b3cc24e97c0, 
    name=0x2b3cc2056048 "_main_complete") at exec.c:5342
#222 0x000000000043ae6c in doshfunc (shfunc=0x1e54a70, doshargs=0x0, 
    noreturnval=1) at exec.c:5223
#223 0x00002b3cc22cd2d9 in callcompfunc (s=0x2b3cc204bc98 "^ma", 
    fn=0x1e63628 "_main_complete") at compcore.c:838
#224 0x00002b3cc22cdba0 in makecomplist (s=0x2b3cc204bc98 "^ma", incmd=0, 
    lst=0) at compcore.c:987
#225 0x00002b3cc22cb803 in do_completion (dummy=0x2b3cc22bdbc8, 
    dat=0x7fffa76d4780) at compcore.c:347
#226 0x0000000000472f19 in runhookdef (h=0x2b3cc22bdbc8, d=0x7fffa76d4780)
    at module.c:996
#227 0x00002b3cc20a2a75 in docompletion (s=0x1f0c848 "^ma", lst=0, incmd=0)
    at zle_tricky.c:2293
#228 0x00002b3cc209e0a7 in docomplete (lst=0) at zle_tricky.c:859
#229 0x00002b3cc209c4e0 in completeword (args=0x2b3cc22be1b0)
    at zle_tricky.c:232
#230 0x00002b3cc209c3c1 in completecall (args=0x2b3cc22be1b0)
    at zle_tricky.c:208
#231 0x00002b3cc2088d9b in execzlefunc (func=0x2b3cc22ba298, 
    args=0x2b3cc22be1b0, set_bindk=0) at zle_main.c:1360
#232 0x00002b3cc2087ed7 in zlecore () at zle_main.c:1072
#233 0x00002b3cc20888d9 in zleread (lp=0x6f51c8, rp=0x0, flags=7, context=0, 
    init=0x2b3cc20aff88 "zle-line-init", 
    finish=0x2b3cc20aff78 "zle-line-finish") at zle_main.c:1263
#234 0x00002b3cc208b51a in zle_main_entry (cmd=1, ap=0x7fffa76d4dc0)
    at zle_main.c:1929
#235 0x0000000000456c42 in zleentry (cmd=1) at init.c:1523
#236 0x0000000000457df5 in inputline () at input.c:293
#237 0x0000000000457c56 in ingetc () at input.c:226
#238 0x000000000044aa6a in ihgetc () at hist.c:391
#239 0x00000000004621aa in gettok () at lex.c:605
#240 0x00000000004618a3 in zshlex () at lex.c:271
#241 0x00000000004884ea in parse_event (endtok=37) at parse.c:561
#242 0x00000000004532e6 in loop (toplevel=1, justonce=0) at init.c:146
#243 0x0000000000457142 in zsh_main (argc=1, argv=0x7fffa76d5348)
    at init.c:1678
#244 0x000000000040f2e4 in main (argc=1, argv=0x7fffa76d5348) at ./main.c:93



Messages sorted by: Reverse Date, Date, Thread, Author