Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Hang on latest kubuntu linux when built with icc
- X-seq: zsh-workers 22485
- From: "Vin Shelton" <acs@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Hang on latest kubuntu linux when built with icc
- Date: Sat, 10 Jun 2006 21:31:08 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=RwPcckGARGcnYk3mz1U7pYb84Huu25UCXEVVUU0wwz/d+juNPHiwhjvQ+oh4fyrT6t21xAq3/W3SnKumRKR608I1JhNrzKGVeCqJUkDm4ymlViku7EmNlBJfuFHWbjZlq6/zHqwy1T1dE6KKCDZhlN5RGHpgJ6Yw5L8aODm7gF8=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: ethersoft@xxxxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author