tcsh-6.15 and gdb on FreeBSD is hanging

Mark Peek mark at peek.org
Mon May 14 19:32:38 EEST 2007


On 5/14/07 7:50 AM, Christos Zoulas wrote:
> On May 14, 10:11am, alan at pair.com (Alan Ferrency) wrote:
> -- Subject: Re: tcsh-6.15 and gdb on FreeBSD is hanging
> 
> | Hello,
> | 
> | I'm not familiar with the signal handling changes in tcsh in 6.15, but I
> | am familiar with signal handling changes in the FreeBSD-5 and -6
> | branches, compared to FreeBSD-4.
> | 
> | As a test, try tcsh 6.15 on FreeBSD 4, and see if it hangs similarly. If
> | not, then it is likely related to this.

tcsh-6.15.00 with the gdb test works fine on a FreeBSD 4.9 system. However, 
since 6.14 works correctly on FreeBSD -current (7.0), there is something that 
got introduced into 6.15 which caused this behavior to change.

> | > Note: I suspect this is due to the signal handling changes in 6.15 since 6.14
> | > works fine on the same system.
> 
> Perhaps, yes.

I'm trying to narrow this down a bit by checking the intermediate 6.14.XX 
versions. On the same system running these work fine (i.e., no hang):

( setenv SHELL /root/tcsh-6.14.00/tcsh ; gdb z )
( setenv SHELL /root/tcsh-6.14.02/tcsh ; gdb z )

This one hangs:
( setenv SHELL /root/tcsh-6.14.07/tcsh ; gdb z )

The builds from 6.14.03 through 6.14.06 don't compile correctly due to missing 
sigset/sighold/sigignore/sigrelse macros. I stubbed them into 6.14.03 (which 
may not be correct) and got a hang:

( setenv SHELL /root/tcsh-6.14.03/tcsh ; gdb z )

I'm still making the (uninformed) guess that it is due to the large signal 
change from 1/12/06. Is the CVS repository still private? Trying a snapshot 
from right before and after that change could help narrow it down.

Mark




More information about the Tcsh-Bugs mailing list