[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xterm in malloc(): warning: recursive call.



Theo de Raadt wrote:

>Can't you read manual pages:
>
>     ``recursive call.''
>                 An attempt was made to call recursively into these functions,
>                 i.e., from a signal handler.  This behavior is not supported.
>                 In particular, signal handlers should not use any of the
>                 malloc() functions nor utilize any other functions which may
>                 call malloc() (e.g., stdio(3) routines).
>
>Obviously xterm is calling illegal functions in signal handlers.
>man signal to see a list of legal functions.
>
>Then fix that code.
>
>
>  
>
>> From time to time I see this warning:
>>
>>xterm in malloc(): warning: recursive call.
>>
>>How can I find which xterm is the crying one
>>or does it refer to the one where it is
>>printed?
>>
>>(I tend to (xterm &)& a lot)
>>
>>    
>>
>
>
>  
>

oh! "can't you read messages?" hehe

tedu@'s answer did help, thanks.