Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: changes to signal handling with respect to ksh ?
To:
"Todd C. Miller" <millert@openbsd.org>
Cc:
Walter Alejandro Iglesias <wai@roquesor.com>, Theo Buehler <tb@theobuehler.org>, Marc Espie <marc.espie.openbsd@gmail.com>, ports@openbsd.org
Date:
Fri, 9 Aug 2024 20:57:59 +0200

Download raw body.

Thread
  • Todd C. Miller:

    changes to signal handling with respect to ksh ?

  • On Fri, Aug 09, 2024 at 09:30:29AM -0600, Todd C. Miller wrote:
    > On Fri, 09 Aug 2024 10:20:33 +0200, Claudio Jeker wrote:
    > 
    > > No. It could be but it may as well be something else.
    > > Is it enough to play a movie in mpv and ^Z the thing to see the problem?
    > 
    > I think the signal handler gets called multiple times (one for each
    > thread?) so multiple PIPE_STOP commands are sent down the pipe.
    > When you resume, it reads the next one and suspends again.
    
    This is probably the case since SIGTSTP is sent to every thread. This is
    the brokenness I have a fix for in the pipeline. We do certainly something
    wrong here.
    
    Maybe I manage to get all my signal handling and ptrace bits in before the
    next release. We will see....
    
    -- 
    :wq Claudio
    
    
    
  • Todd C. Miller:

    changes to signal handling with respect to ksh ?