php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56639 segmention fault when enabling the extension
Submitted: 2005-11-11 20:18 UTC Modified: 2005-11-12 04:40 UTC
From: pecl dot bugs at depoll dot de Assigned:
Status: Closed Package: expect (PECL)
PHP Version: 5.0.3 OS: UbuntuBreezy(Linux 2.6.12-9-686)
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: pecl dot bugs at depoll dot de
New email:
PHP Version: OS:

 

 [2005-11-11 20:18 UTC] pecl dot bugs at depoll dot de
Description:
------------
Using PHP 5.0.5 the expect module from CVS and expect 5.43 PHP segfaults whenever I enable the extension.

Reproduce code:
---------------
php -r 'print_r(stream_get_wrappers());'

Expected result:
----------------
Array
(
    [0] => php
    [1] => file
    [2] => http
    [3] => ftp
    [4] => compress.zlib
    [5] => https
    [6] => ftps
    [7] => expect
)


Actual result:
--------------
(gdb) bt
#0  0x08263cc2 in OnUpdateLong ()
#1  0xb76d80f9 in OnSetExpectTimeout (entry=0x8544a18, new_value=0xb76d884a "10", new_value_length=2, mh_arg1=0x0,
    mh_arg2=0x0, mh_arg3=0x0, stage=1, tsrm_ls=0x84960a8) at /home/ng/tmp/expect-cvs/expect.c:60
#2  0x08263504 in zend_register_ini_entries ()
#3  0xb76d8279 in zm_startup_expect (type=1, module_number=26, tsrm_ls=0x84960a8)
    at /home/ng/tmp/expect-cvs/expect.c:109
#4  0x0825902f in zend_register_module_ex ()
#5  0x081b2b09 in php_dl ()
#6  0x0821c488 in display_ini_entries ()
#7  0x0824dd0c in zend_llist_apply ()
#8  0x0821ca8e in php_ini_delayed_modules_startup ()
#9  0x0821797c in php_module_startup ()
#10 0x08285152 in main ()


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-12 04:40 UTC] michael at zend dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/expect


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 12:01:27 2024 UTC