zsh-workers
 help / color / mirror / code / Atom feed
From: "Vin Shelton" <acs@alumni.princeton.edu>
To: zsh-workers@sunsite.dk
Subject: Hang on latest kubuntu linux when built with icc
Date: Sat, 10 Jun 2006 21:31:08 -0400	[thread overview]
Message-ID: <20a807210606101831w3170d4aandf94ce83ac5ec8a8@mail.gmail.com> (raw)

Greetings -

On my new kubuntu box - uname -a reports:

Linux samwise 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006
i686 GNU/Linux

when I build the latest CVS sources with icc, the Intel C compiler,
the shell eventually hangs after running a command but before
returning to the prompt.  It usually takes only 1-5 commands before
this happens.

Here's an strace of zsh -f:

write(10, "\r\n", 2)                    = 2
alarm(0)                                = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon
-echo ...}) = 0
ioctl(10, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon
echo ...}) = 0
time(NULL)                              = 1149988783
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
pipe([3, 4])                            = 0
gettimeofday({1149988783, 119463}, {240, 0}) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7b8c708) = 18370
close(4)                                = 0
read(3, "", 1)                          = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[HUP CHLD RTMIN RT_1], [CHLD], 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], ~[HUP KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[HUP KILL STOP RTMIN RT_1], ~[KILL STOP
RTMIN RT_1], 8) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED,
{ru_utime={0, 999}, ru_stime={0, 999}, ...}) = 18370
gettimeofday({1149988783, 123302}, {240, 0}) = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon
echo ...}) = 0
wait4(-1, 0xbfd3ac30, WNOHANG|WSTOPPED, 0xbfd3abd4) = -1 ECHILD (No
child processes)
sigreturn()                             = ? (mask now ~[HUP KILL CHLD
STOP RTMIN])
pause()                                 = ? ERESTARTNOHAND (To be restarted)
--- SIGHUP (Hangup) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], ~[KILL CHLD STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL CHLD STOP RTMIN RT_1], ~[KILL STOP
RTMIN RT_1], 8) = 0
exit_group(1)                           = ?


The SIGHUP is where I killed the shell from another window.  The shell
hangs at the pause just before there.  Is there a race condition on
handling the signals?

Let me know what other info I can provide.

  - Vin
-- 
Whoever you are, no matter how lonely,
the world offers itself to your imagination,
calls to you like the wild geese, harsh and exciting--
over and over announcing your place
in the family of things.			Mary Oliver


             reply	other threads:[~2006-06-11  1:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11  1:31 Vin Shelton [this message]
2006-06-12 13:07 ` Peter Stephenson
2006-06-14  3:23   ` Vin Shelton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20a807210606101831w3170d4aandf94ce83ac5ec8a8@mail.gmail.com \
    --to=acs@alumni.princeton.edu \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).