Re: [PHP-DEV] free deadlock in timeout signal handler

2013-09-19 Thread Lazy
2013/9/18 Ángel González : > On 13/09/13 22:10, Lazy wrote: >> >> Hello internals, >> >> I'm trying to fix deadlock in an ancient php 5.2.17, php hangs on >> internal libc lock. >> From my understanding free is not safe to use in a signal handler, an

[PHP-DEV] free deadlock in timeout signal handler

2013-09-13 Thread Lazy
Hello internals, I'm trying to fix deadlock in an ancient php 5.2.17, php hangs on internal libc lock. Backtrace follows #0 0x030b555024cb in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x030b554986b8 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x030b55496aa1 in free () fro