[Bug 607646] Re: Segmentation fault in PHP5 with pgsql module
Miroslav Zacek
607646 at bugs.launchpad.net
Wed Jul 21 14:22:26 BST 2010
I think I've found the problem. It is in the pgsql extension. The memory
for the notices is allocated as non persistent but the whole structure
is persistent. The destructor tries to free memory that was already
cleaned by the garbage collector which causes the segmentation fault.
I've created a simple patch and it works for me now.
** Patch added: "pgsql.patch"
http://launchpadlibrarian.net/52262645/pgsql.patch
--
Segmentation fault in PHP5 with pgsql module
https://bugs.launchpad.net/bugs/607646
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list