php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57858 Crash after install
Submitted: 2007-10-01 05:19 UTC Modified: 2008-02-08 04:11 UTC
From: igor at webta dot net Assigned: mike (profile)
Status: Not a bug Package: pecl_http (PECL)
PHP Version: 5_2 CVS-2007-10-01 OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: igor at webta dot net
New email:
PHP Version: OS:

 

 [2007-10-01 05:19 UTC] igor at webta dot net
Description:
------------
I use command: "pecl upgrade pecl_http":
...
upgrade ok: channel://pecl.php.net/pecl_http-1.5.6
You should add "extension=http.so" to php.ini
Segmentation fault (core dumped)


(gdb) backtrace
#0  0x00000000 in ?? ()
#1  0x2925f680 in zm_info_http (zend_module=0x82f1f00) at /var/tmp1/pear/cache/pecl_http-1.5.6/http.c:408
#2  0x081342c5 in zend_hash_apply (ht=0x84f1ab8, apply_func=0x812ec5c <module_registry_cleanup>)
    at /usr/ports/lang/php5/work/php-5.2.3/Zend/zend_hash.c:867
#3  0x0812aaaa in zend_deactivate_modules () at /usr/ports/lang/php5/work/php-5.2.3/Zend/zend.c:919
#4  0x080f1509 in php_request_shutdown (dummy=0x0) at /usr/ports/lang/php5/work/php-5.2.3/main/main.c:1307
#5  0x081a6097 in main (argc=12, argv=0xbfbfebc8) at /usr/ports/lang/php5/work/php-5.2.3/sapi/cli/php_cli.c:1325


Expected result:
----------------
No SIGSEGV

Actual result:
--------------
SIGSEGV

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-01 05:53 UTC] mike@php.net
Does it still crash?
Could have been happened because the module was replaced while running PHP, especially as module shutdown does not call zm_info_http().
 [2007-10-01 06:20 UTC] igor at webta dot net
After apache restart there is no SIGSEGV. But while apache with old pecl_http php extension running, there is always SIGSEGV received from worker process.
 [2007-10-01 06:36 UTC] mike@php.net
Then this is not a bug. Thank you.
You should of course restart after you install a new shared extension.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 17:01:30 2024 UTC