The problem is that the signal handler isn't blocked in the mallopt()
calls. The attached patch fixes it. The patch is based on the fix made
in emacs 22, and I've also looked through the sources for mallopt()
calls and DOUG_LEA_MALLOC code to ensure all instances are fixed.

** Attachment added: "Fix for reentrancy bug through mallopt() (ported from 
emacs22)."
   http://launchpadlibrarian.net/21867961/emacs21-mallopt-hang-fix.patch

-- 
Emacs hangs occasionally due to malloc calls in signal handler
https://bugs.launchpad.net/bugs/291871
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to