Bug #52389 [Fbk->NoF]: Memory (de)allocation problem for pgsql notices

From: Date: Tue, 15 Oct 2013 11:54:26 +0000
Subject: Bug #52389 [Fbk->NoF]: Memory (de)allocation problem for pgsql notices
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182174@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=52389&edit=1

 ID:               52389
 Updated by:       php-bugs@lists.php.net
 Reported by:      miroslav dot zacek at skype dot net
 Summary:          Memory (de)allocation problem for pgsql notices
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          PostgreSQL related
 Operating System: Linux (Kubuntu)
 PHP Version:      5.3.2
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2013-06-26 22:19:10] yohgaki@php.net

Please try using this snapshot:

  http://snaps.php.net/php-trunk-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Could you try current master and report?

------------------------------------------------------------------------
[2011-11-18 20:34:47] felipe@php.net

Try disabling suhosin.

------------------------------------------------------------------------
[2011-11-18 20:30:44] ecrist at claimlynx dot com

The backtrace for this we were able to come up with was as follows:


#0  0x000000080571f741 in _zend_mm_free_canary_int () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#1  0x0000000808b9bc81 in _php_pgsql_notice_ptr_dtor () from 
/usr/local/lib/php/20090626/pgsql.so
No symbol table info available.
#2  0x000000080570da48 in zend_hash_clean () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#3  0x0000000808ba2474 in zm_deactivate_pgsql () from 
/usr/local/lib/php/20090626/pgsql.so
No symbol table info available.
#4  0x00000008057029ac in module_registry_cleanup () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#5  0x000000080570d544 in zend_hash_reverse_apply () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#6  0x00000008057009dc in zend_deactivate_modules () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#7  0x00000008056acbe5 in php_request_shutdown () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#8  0x000000080578c245 in php_handler () from 
/usr/local/libexec/apache22/libphp5.so
No symbol table info available.
#9  0x00000000004361fa in ap_run_handler (r=0x809ffa0a0) at config.c:157
	n = 2
	rv = Variable "rv" is not available.
(gdb)

------------------------------------------------------------------------
[2011-11-10 19:06:09] ecrist at claimlynx dot com

Tried the patch attached to this report against 5.3.8 and we get more segfaults 
than before.  Additionally, we've added a call session_write_close() to every 
page and that also doesn't solve the problem for us.  I can provide backtraces or 
anything else needed to aid a solution to this bug.

------------------------------------------------------------------------
[2011-11-09 21:49:37] ecrist at claimlynx dot com

This bug is seen on FreeBSD 8.2-STABLE as of Nov 4, 2011 with PHP 5.3.8 on Apache 
2.2.21 and Postgres 8.4.9.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=52389


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=52389&edit=1


Thread (24 messages)

« previous php.bugs (#182174) next »