This may fix the problem:

https://gerrit.fd.io/r/#/c/14711/

-- 
Damjan

> On 6 Sep 2018, at 14:32, Dave Barach via Lists.Fd.Io 
> <[email protected]> wrote:
> 
> In future, please refer to https://wiki.fd.io/view/VPP/BugReports 
> <https://wiki.fd.io/view/VPP/BugReports>. The issue you’re reporting is not 
> trivially reproducible.
>  
> At a minimum: we’ll need a backtrace from a debug image, the vpp version 
> string, the vpp startup config, and the connection method you used.  
>  
> D.  
>  
> From: [email protected] <mailto:[email protected]> <[email protected] 
> <mailto:[email protected]>> On Behalf Of Liu Anhua
> Sent: Wednesday, September 5, 2018 10:55 PM
> To: [email protected] <mailto:[email protected]>
> Subject: [vpp-dev] crash when pressing TAB on CLI
>  
> Hi,
> I have a problem with the latest code. When I execute 'set interface ip' on 
> the command line and press TAB, it will crash. The current direct reason is 
> found in the qsort function. When comparing strings, the access is Illegal 
> memory, the specific code is as follows:
>  
> for (min = base; (hi = min += q->qsz) < max;)
>     {
>       while ((*q->qcmp) (hi -= q->qsz, min) > 0);
>       if ((hi += q->qsz) != min)
>            {
>              for (lo = min + q->qsz; --lo >= min;)
>                {
>                  c = *lo;
>                  for (i = j = lo; (j -= q->qsz) >= hi; i = j)
>                           *i = *j;
>                  *i = c;
>                }
>            }
>     }
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10406): https://lists.fd.io/g/vpp-dev/message/10406 
> <https://lists.fd.io/g/vpp-dev/message/10406>
> Mute This Topic: https://lists.fd.io/mt/25216850/675642 
> <https://lists.fd.io/mt/25216850/675642>
> Group Owner: [email protected] <mailto:[email protected]>
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
> <https://lists.fd.io/g/vpp-dev/unsub>  [[email protected] 
> <mailto:[email protected]>]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10422): https://lists.fd.io/g/vpp-dev/message/10422
Mute This Topic: https://lists.fd.io/mt/25216850/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to