Re: [Rd] [R] Fwd: Help: malloc/free deadlock in unsafe signal handler 'Rf_onsigusr1'

2016-08-03 Thread Ming Li
> without doing things that really shouldn't be done in a signal handler. > That is all these handlers are intended for. If you are using them > programatically you should rethink what you are doing. If you explain > what you are trying to do you might get some help with tha

[Rd] Help: malloc/free deadlock in unsafe signal handler 'Rf_onsigusr1'

2016-07-28 Thread Ming Li
Hi all, I am working on a bug, which running PLR on HAWQ. The process hung and can't be terminated. >From my investigation, it seems signal handler 'Rf_onsigusr1' trigger a malloc/free deadlock. The calling stack is below. Thread 1 (Thread 0x7f4c93af48e0 (LWP 431263)): #0 0x7f4c9015805e i