Fixed: deadlock occures when the signal sigprof interrupt execution of malloc