#43528 [Opn->Fbk]: gzdeflate - "buffer error" or just "segfault"
ID: 43528
Updated by: iliaa@php.net
Reported By: mi+php at aldan dot algebra dot com
-Status: Open
+Status: Feedback
Bug Type: Zlib Related
Operating System: FreeBSD/amd64
PHP Version: 5.2.5
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2007-12-07 14:13:24] mi+php at aldan dot algebra dot com
Description:
------------
I'm setting up MediaWiki-1.11.0, which uses gzdeflate (if available) to
compress "serialized" objects.
Every once in a while I would get either a:
PHP Warning: gzdeflate() [<a
href='function.gzdeflate'>function.gzdeflate</a>]: buffer error in
/opt/www/mediawiki/includes/BagOStuff.php on line 374
or simply a report about httpd-child segfaulting in the server's
error-log.
I ended up commenting out the gzdeflate-detecting logic in MediaWiki's
file in order to /never/ compress the objects, but that, obviously, is
not a fix.
I'm struggling to convince the server, that it is Ok to dump a
core-file -- so I can not post a trace at the moment. But if you are
aware of this problem already, however, I'd greatly appreciate a fix.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43528&edit=1
Thread (2 messages)