Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.0.1: problem with sourcing on Solaris



Here's a clue: for some reason, after re-running configure (because I changed a
couple of entries in config.modules), BROKEN_KILL_ESRCH got define'd. When
defined, I see the problem; when I undefine BROKEN_KILL_ESRCH (the default),
the shell works fine. I'm wondering how this could end up being define'd...

On Tue, Jun 05, 2001 at 06:11:04AM +0000, Bart Schaefer wrote:
> } 29084:      Received signal #2, SIGINT, in sigsuspend() [caught]
> } 29084:  sigsuspend(0xFFBEF000)                          Err#4 EINTR
> 
> It would have been nice to see what came after that, but my guess is
> that `errflag' became true and we exited the loop that way.  The real
> question still is, why didn't we see the ESRCH error from kill(pid, 0)?

29084:  sigprocmask(SIG_BLOCK, 0x000DABE0, 0x000DABFC)  = 0
29084:  sigprocmask(SIG_SETMASK, 0xFFBEEBD8, 0xFFBEEB48) = 0
29084:  setcontext(0xFFBEECE8)
29084:  sigprocmask(SIG_BLOCK, 0x000DABE0, 0x000DABFC)  = 0
29084:  sigprocmask(SIG_UNBLOCK, 0x000DABE0, 0x000DABFC) = 0
29084:  llseek(11, 0, SEEK_CUR)                         = 13
29084:  close(11)                                       = 0
29084:  sigprocmask(SIG_BLOCK, 0x000DABE0, 0x000DABFC)  = 0
29084:  sigprocmask(SIG_UNBLOCK, 0x000DABE0, 0x000DABFC) = 0
29084:  ioctl(10, TIOCGSID, 0xFFBEF964)                 = 0
29084:  getsid(0)                                       = 9149
29084:  ioctl(10, TIOCSPGRP, 0xFFBEFA10)                = 0
29084:  fstat64(0, 0xFFBEF988)                          = 0
29084:  fcntl(0, F_GETFL, 0x00000000)                   = 2
29084:  fstat64(0, 0xFFBEF820)                          = 0
29084:  time()                                          = 991690436
29084:  time()                                          = 991690436
29084:  sigaction(SIGINT, 0xFFBEF988, 0x00000000)       = 0
29084:  sigaction(SIGINT, 0xFFBEF5E0, 0x00000000)       = 0
29084:  getuid()                                        = 3387 [3387]
29084:  ioctl(10, FIONREAD, 0xFFBEF644)                 = 0
29084:  ioctl(10, TIOCGSID, 0xFFBEF50C)                 = 0
29084:  getsid(0)                                       = 9149
29084:  ioctl(10, TIOCSPGRP, 0xFFBEF5B8)                = 0
29084:  ioctl(10, TCSETSW, 0xFFBEF648)                  = 0
29084:  write(10, "\r1B [ m1B [ m1B [ m1B [".., 20)     = 20
29084:  write(10, "1B [ K", 3)                          = 3
29084:  read(10, 0xFFBEF4CB, 1)         (sleeping...)
29084:  read(10, "04", 1)                               = 1
29084:  write(10, "\r\n", 2)                            = 2
29084:  alarm(0)                                        = 0
29084:  ioctl(10, TCSETSW, 0x000DAB04)                  = 0
29084:  getpid()                                        = 29084 [29083]
29084:  llseek(0, 0, SEEK_CUR)                          = 6483602
29084:  _exit(1)

Thanks,
-- 
Jos Backus                 _/  _/_/_/        "Modularity is not a hack."
                          _/  _/   _/                -- D. J. Bernstein
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb@xxxxxxxxxx     _/_/   _/_/_/            use Std::Disclaimer;



Messages sorted by: Reverse Date, Date, Thread, Author