Google search leads me to this report.
I got the same on bash 4.4-5 (stretch).
I don't know what I have typed, but I'm in a ssh and got the message:

malloc: .././bashline.c:1824: assertion botched
free: called with already freed block argument
last command: sudo jou
Aborting...Connection to xxx closed.

The affect code is the same with previous report.

char *
command_word_completion_function (hint_text, state)
     const char *hint_text;
     int state;
{
[...]
  /* We have to map over the possibilities for command words.  If we have
     no state, then make one just for that purpose. */
  if (state == 0)
    {
      rl_filename_stat_hook = bash_command_name_stat_hook;

      if (dequoted_hint && dequoted_hint != hint)
free (dequoted_hint);
      if (hint)
free (hint); <--- this line
[...]

I don't have bash-completion installed.
And I can't reproduce it.

Thanks,
Shengjing Zhu

Reply via email to