[Top][All Lists]

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

Re: Is this a bug?

From: George R Goffe
Subject: Re: Is this a bug?
Date: Wed, 19 Aug 2020 17:14:50 +0000 (UTC)


How can I help capture data about this problem?

When I run bash in one konsole and it hangs, I do an strace on that pid and the 
strace -xvfp <pid> always shows pselect. Eventually, the results come back but 
til then, the session is frozen.

I suppose I could run strace to a file on bash and make (or try) the failure 
appear. Your thoughts?




On Wednesday, August 19, 2020, 5:58:03 AM PDT, Chet Ramey <chet.ramey@case.edu> 

On 8/19/20 12:02 AM, George R Goffe wrote:
> Chet,
> I've been thinking about what you've said below... that bash is waiting for 
> input. If this were the case, ctrl-c would return to the bash prompt 
> immediately. Yes? What I'm seeing is that with a partial filename entered 
> followed by the tab key is hit which results in nothing due to an 
> uninterriputible sleep. Ctrl-c does not stop the filename completion process.
> Does this make any sense?

If that were the case, and it might be, the pselect is a red herring.
The filename completion process doesn't use pselect.


``The lyf so short, the craft so long to lerne.'' - Chaucer
        ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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