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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 30 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 05:01:33 2024 UTC