From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10683 invoked from network); 5 Jun 2001 10:13:23 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jun 2001 10:13:23 -0000 Received: (qmail 19941 invoked by alias); 5 Jun 2001 10:13:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14719 Received: (qmail 19926 invoked from network); 5 Jun 2001 10:13:04 -0000 Message-ID: To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: 4.0.1: problem with sourcing on Solaris In-reply-to: "Jos Backus"'s message of "Mon, 04 Jun 2001 14:37:59 PDT." <20010604143759.A91833@lizzy.bugworks.com> Date: Tue, 05 Jun 2001 11:12:45 +0100 From: Peter Stephenson Jos Backus wrote: > taiko:/depot/src/zsh-4.0.1% cat x > a=`uname -s` > taiko:/depot/src/zsh-4.0.1% uname -s > SunOS > taiko:/depot/src/zsh-4.0.1% truss -f -o out Src/zsh -f > taiko% . ./x > [hangs][press ^C] > taiko% exit I don't get this. > Relevant section of truss output: > ... > 29084: setcontext(0xFFBEECE8) > 29084: sigprocmask(SIG_BLOCK, 0x000DABE0, 0x000DABFC) = 0 > 29084: kill(29085, SIG#0) Err#3 ESRCH > 29084: kill(29085, SIGCONT) Err#3 ESRCH ^^^^^^^ In particular, this is missing from my output. Could /etc/zshenv have anything to do with it? Or there could be a race --- there are a couple of cases where zsh will send an explicit SIGCONT, in particular a whole set in jobs.c. Or it could be a red herring, to do with you interrupting it, and the real problem is earlier. > 29084: sigsuspend(0xFFBEF000) (sleeping...) > 29084: Received signal #2, SIGINT, in sigsuspend() [caught] > 29084: sigsuspend(0xFFBEF000) Err#4 EINTR -- Peter Stephenson Software Engineer CSR Ltd., Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************