1 msgmajor problems after upgrade
6 msgHEADSUP: pf 4.1 import
1 msgProblem with MesaLib based ports
9 msgFixit live cd amd64
12 msgLiveCD trouble
1 msggreat job with multithreaded programs
1 msgPipe Call Failed
13 msgNew SCHED_SMP diff.
21 msgGEOM weirdness with SD flash reader?
8 msgssh coredump if gssapi-with-mic preferred, but ...
1 msgCurrent round of IPsec checkins complete...
1 msgWARNING: Removing Kame IPsec and promoting FAST...
1 msg-CURRENT ATA woes
4 msgtcp_input: Listen socket: Spurious RST, segment...
2 msgdhclient-script will reload a module
3 msgtcsh 'nice' problem?
4 msggetcwd in kernel space
3 msgkernel panic on today's CURRENT when running sy...

tcsh hangs in sigsuspend
\ Michiel Boland (30 Jun 2007)
. \ Steve Kargl (30 Jun 2007)
. . \ Rui Paulo (30 Jun 2007)
. . . \ Steve Kargl (30 Jun 2007)
. . . . \ Rui Paulo (30 Jun 2007)

2 msgsigsuspend gets interrupted by ptrace
Subject:tcsh hangs in sigsuspend
Group:Freebsd-current
From:Michiel Boland
Date:30 Jun 2007


 
Hi. I can no longer do simple things like

kill `cat pidfile`

in tcsh.

After some debugging I noticed that tcsh hangs in sigsuspend in line 512
of sh.proc.c. So I guess it (tcsh) executed 'cat pidfile', and now waits
for the process to terminate. But unless I'm not looking properly, there
appears to be a race condition here. Tcsh blocks the SIGCHLD signal
*after* it forks the child, not before. So the child could wel have exited
between the call to fork and the call to sigprocmask. In that case, would
not the sigsuspend hang forever?

Also, I noticed that gdb gets very confused if I try to debug tcsh with
a backticked command like the one above. (I guess this is the same as
bin/112408)

Cheers
Michiel
_______________________________________________
freebsd-current mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe"


© 2004-2008 readlist.com