bug-bash
[Top][All Lists]
Advanced

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

Re: segfault on rl_completion_matches() interrupt


From: Roman Rakus
Subject: Re: segfault on rl_completion_matches() interrupt
Date: Mon, 15 Apr 2013 01:44:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 04/15/2013 01:08 AM, Raphaël Droz wrote:
Using both 4.2 and 4.3, I can reproduce a segfault on completion (though
not using gdb)

This can happen very consistently using a time-consuming completion like
the one for `man`, eg:
$ man g<tab><tab>^C


Attached is the trace from a core-file using `man gpg-agent g<tab><tab>^C`
with bash 4.3.


Side note: as more and more completions take time to finish (think ssh,
dpkg, ...), having ^G to interrupt the completion process and not having
to use ^C which discard the whole line could be useful.
From quick look I see missing memory allocation and probably dislocation.

RR



reply via email to

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