Gary Mills wrote:
>> # psig 3520
>> 3520:   /usr/sbin/in.ftpd -a
>> HUP     caught  randomsig       RESETHAND,NODEFER
>> ...
>> PIPE    ignored
>> ALRM    blocked,caught  0x8056a6d
>>       RESETHAND,NODEFER
>>   default
>> The signal is never delivered.  All I need to figure
>> out
>> now is why it was blocked.
> 
> I added some code to test if SIGALRM is blocked
> just before the read() that never ends.  The signal
> is always blocked!  How is that possible?  I can't
> find anything in the source that explicitly blocks
> it.  This is typically what it does before a transfer:
> 
>         (void) signal(SIGALRM, draconian_alarm_signal);
>         alarm(timeout_data);

Could it be that the script that launched this program had blocked the
signal itself?

-- 
James Carlson         42.703N 71.076W         <[email protected]>

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to