php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44058 Fresh Install of PHP w/ Extensions Crashes
Submitted: 2008-02-06 07:14 UTC Modified: 2008-02-06 15:58 UTC
From: Paul-PHPBug at Czarnik dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.2.5 OS: FreeBSD 6.2-PRERELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Paul-PHPBug at Czarnik dot com
New email:
PHP Version: OS:

 

 [2008-02-06 07:14 UTC] Paul-PHPBug at Czarnik dot com
Description:
------------
fresh install of php5 & php5-extensions. run php -v = seg fault. Built all w/ debug. Ran gdb bt, results are:
(gdb) bt
#0  0x28b44a16 in hash_lookup (hashtab=0x8435dc0,
    key=0xbfbfe8d0 "?]B)H鿿)\033&(") at misc.c:349
#1  0x29362fd7 in find_alias () from /usr/local/lib/librecode.so.3
#2  0x29364ea0 in recode_new_outer () from /usr/local/lib/librecode.so.3
#3  0x29319d76 in zm_startup_recode ()
   from /usr/local/lib/php/20060613-debug/recode.so
#4  0x081713ff in zend_startup_module_ex (module=0x8359100)
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/Zend/zend_API.c:1466
#5  0x081779d4 in zend_hash_apply (ht=0x8274d40,
    apply_func=0x8171298 <zend_startup_module_ex>)
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/Zend/zend_hash.c:867
#6  0x08171592 in zend_startup_modules ()
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/Zend/zend_API.c:1513
#7  0x081240b1 in php_module_startup (sf=0x82705a0, additional_modules=0x0,
    num_additional_modules=0)
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/main/main.c:1840
#8  0x081d2d5d in php_cli_startup (sapi_module=0x82705a0)
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:358
#9  0x081d389a in main (argc=2, argv=0xbfbfec4c)
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:717


Reproduce code:
---------------
php -v

Expected result:
----------------
the version info

Actual result:
--------------
Segmentation fault (core dumped)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-06 08:57 UTC] scottmac@php.net
Can you run 'bt full' please.
 [2008-02-06 15:58 UTC] Paul-PHPBug at Czarnik dot com
The problem seems to be caused by conflicts between recode & imap and recode & mysql. Loading recode before the other conflict extensions appears to circumvent this problem. This information was found in a Warning note on the GNU Recode Functions page in the Function Reference.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 12:01:33 2025 UTC