php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56284 PHP segfaults when loading APD
Submitted: 2005-02-04 18:51 UTC Modified: 2005-11-04 10:53 UTC
From: benjcarson at digitaljunkies dot ca Assigned:
Status: Closed Package: apd (PECL)
PHP Version: 5_1 CVS-2005-02-04 (dev) OS: Linux
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: benjcarson at digitaljunkies dot ca
New email:
PHP Version: OS:

 

 [2005-02-04 18:51 UTC] benjcarson at digitaljunkies dot ca
Description:
------------
PHP (latest CVS HEAD, 2005-02-04) segfaults on startup when APD 1.0.1 is loaded.

Here's a backtrace:

#0  0xb53dafe5 in zm_startup_apd (type=1, module_number=136571520)
    at /tmp/tmpfFwjn0/apd-1.0.1/php_apd.c:500
#1  0x081e1a88 in zend_register_module_ex (module=0x84d2d10)
    at /usr/src/php/php-src/Zend/zend_API.c:1227
#2  0xb53dc28f in apd_zend_startup (extension=0x84d0960)
    at /tmp/tmpfFwjn0/apd-1.0.1/php_apd.c:968
#3  0x081e4375 in zend_extension_startup (extension=0x84d0960)
    at /usr/src/php/php-src/Zend/zend_extensions.c:138
#4  0x081d784e in zend_llist_apply_with_del (l=0x840c548,
    func=0x81e4350 <zend_extension_startup>)
    at /usr/src/php/php-src/Zend/zend_llist.c:178
#5  0x081e43eb in zend_startup_extensions ()
    at /usr/src/php/php-src/Zend/zend_extensions.c:159
#6  0x081a7920 in php_module_startup (sf=0x0, additional_modules=0x0,
    num_additional_modules=136571520) at /usr/src/php/php-src/main/main.c:1472
#7  0x082533ee in main (argc=1, argv=0xbffff834)
    at /usr/src/php/php-src/sapi/cli/php_cli.c:622


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

Expected result:
----------------
PHP 5.1.0-dev (cli) (built: Feb  4 2005 16:36:48)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.1.0-dev, Copyright (c) 1998-2004 Zend Technologies


Actual result:
--------------
Segmentation Fault

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 09:59 UTC] mike@php.net
Please try the latest package version and report back if you're still experiencing this issue.
 [2005-11-04 10:53 UTC] benjcarson at digitaljunkies dot ca
I tested with APD 1.0.1 and PHP 5.1.0-RC1 and it no longer crashes.  Thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC