ID: 49968
Updated by: sniper@php.net
Reported By: ciny at synapsia dot sk
-Status: Open
+Status: Feedback
Bug Type: mhash related
Operating System: FreeBSD 7.2 amd64
PHP Version: 5.2.11
New Comment:

Well, running something does not require installing it:

# make && sapi/cli/php -v

And are you somehow enabling ZTS too? And you're sure you're loading
the mhash.so from the same build? (I can't reproduce this..)

Previous Comments:

[2009-10-23 18:08:45] ciny at synapsia dot sk

ok here
is the gdb output on the core dump of php 5.2.11 without the suhosin
patch with debugging symbols enabled.
If I remove mhash.so from the extensions php runs without problem. If
mhash is enabled it produces the segmentation fault (heap overflow).
Mhash package works normally and python mhash module works as well so
from what I can see it is probably some kind of issue in php5-mhash.

PS: And yes, I can run it from commandline but I had to recompile php
without the suhosin patch included ;)


[2009-10-23 12:36:20] jani@php.net

You can't run the thing on command line..? I thought that's how you
really meant it to be reproduced: # php -v ? (please don't reply before
you have real feedback)


[2009-10-23 12:33:52] ciny at synapsia dot sk

it was with suhosin patch compiled in but with USE_ZEND_ALLOC set to 0.

I can post a test without suhosin but that will have to wait until
night - I see this behaviour on a production machine so I can not allow

php to segfault during work hours and I don't have a spare one to
reproduce the problem.


[2009-10-23 12:08:43] jani@php.net

Was the backtrace with or without the suhosin patch? (I'm guessing


[2009-10-23 11:38:46] ciny at synapsia dot sk

if by 3rd party patch you mean suhosin then yes, bud instead of the
error message it segfaults.


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

Edit this bug report at http://bugs.php.net/?id=49968&edit=1

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 10 of 12 | next ›
Discussion Overview
groupphp-bugs @
postedOct 23, '09 at 10:11a
activeOct 24, '09 at 9:05p



site design / logo © 2019 Grokbase