develooper Front page | perl.perl5.porters | Postings from January 2003

Re: [perl #20491] $SIG{RTMIN} on gentoo

Thread Previous | Thread Next
From:
Arthur Bergman
Date:
January 26, 2003 14:37
Subject:
Re: [perl #20491] $SIG{RTMIN} on gentoo
Message ID:
BA0DD58C-317E-11D7-BA47-003065D64CBE@contiller.se

On söndag, jan 26, 2003, at 23:40 Europe/Stockholm, Rafael 
Garcia-Suarez wrote:

> Shevek wrote:
>>> Could you include also the output of
>>> 	$ perl '-V:sig_.*'
>>> (maybe Configure guesses something wrong)
>>
>> The requested information is attached.
>
> Note that the signal number listed for for RTMIN is "-1" :
>
> sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", 
> "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", 
> "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", 
> "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", 
> "NUM32", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", 
> "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", 
> "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", 
> "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", 
> "NUM60", "NUM61", "NUM62", "NUM63", "RTMIN", "IOT", "CLD", "POLL", 
> "UNUSED", 0'
> sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 
> 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 
> 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 
> 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, -1, 6, 17, 29, 
> 31, 0'
>
> That's strange. What does your signal.h say about it ? (it maybe a 
> file asm/signal.h or
> another sig*.h under /usr/include). There's possibly a bug in the 
> Configure script if
> your signal number is different from -1.
>
> Anyway, perl should't dump core when given a signal number of -1.
> (for reference the core dump is produced by
> 	$ perl -e '$SIG{RTMIN} = "DEFAULT"'
> )

A machine with RTMIN being -1 must be a weird beast since RTMIN/RTMAX 
combo describes what signals can used for realtime signals.

Arthur


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About