#39529 [Bgs]: recode.so dynamic loading causing junk pointer

From: Date: Wed, 29 Nov 2006 14:59:20 +0000
Subject: #39529 [Bgs]: recode.so dynamic loading causing junk pointer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105636@lists.php.net to get a copy of this message
ID: 39529 Updated by: bjori@php.net Reported By: mediahack at gmail dot com Status: Bogus Bug Type: Dynamic loading Operating System: FreeBSD 6.1 RELEASE PHP Version: 5.2.0 New Comment: And make sure you read the docs: "Crashes and startup problems of PHP may be encountered when loading the recode as extension after loading any extension of mysql or imap. Loading the recode before those extension has proved to fix the problem. This is due a technical problem that both the c-client library used by imap and recode have their own hash_lookup() function and both mysql and recode have their own hash_insert function." Previous Comments: ------------------------------------------------------------------------ [2006-11-16 09:47:00] tony2001@php.net It might be stock from FreeBSD, but this line: "with Suhosin-Patch 0.9.6.2" means it's not stock PHP. You can also get the latest snapshot @ http://snaps.php.net and try it. ------------------------------------------------------------------------ [2006-11-16 09:37:28] mediahack at gmail dot com Ok, well this is stock from FreeBSD tree. I didn't do anything special. So are you telling me I need to report this to the FreeBSD package maintainer instead? ------------------------------------------------------------------------ [2006-11-16 09:33:51] tony2001@php.net We do not support third party patches and builds, which likely to change the behaviour of PHP. Please reopen the report, if you're able to reproduce this problem with stock PHP. ------------------------------------------------------------------------ [2006-11-16 09:30:11] mediahack at gmail dot com Description: ------------ Fresh install of PHP 5.2.0 caused error when running command: php -v. This was fatal and prevented other software from being installed. Here is the error message. Reproduce code: --------------- #php -v Expected result: ---------------- PHP 5.2.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 16 2006 00:40:36) (DEBUG) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies Actual result: -------------- PHP 5.2.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 16 2006 00:40:36) (DEBUG) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies php in free(): error: junk pointer, too high to make sense Abort (core dumped) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39529&edit=1

« previous php.bugs (#105636) next »