php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3380 Zend crashes during imap operation
Submitted: 2000-02-01 15:30 UTC Modified: 2000-07-29 02:12 UTC
From: bbauman at wgate dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (01/02/2000) OS: FreeBSD 3.4-stable
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bbauman at wgate dot com
New email:
PHP Version: OS:

 

 [2000-02-01 15:30 UTC] bbauman at wgate dot com
When executing the following PHP code:

<?
echo "I got here\n<br>";
$mbox = imap_open('{localhost:143}','cyrus','abc123');
echo "I got past the imap_open\n<br>";
if ($mbox == FALSE) {
        error_log('Error in initial IMAP open',0);
        return 1;
}
echo "I got past the if statement\n<br>";
imap_close($mbox);
echo "I got past the imap_close\n<br>";
?>

Here is the traceback:


(gdb) where
#0  0x80892e2 in zend_get_executed_filename () at zend_execute_API.c:186
#1  0x807e4f1 in php_error (type=2, format=0x81e9500 "Mailbox does not exist")
    at main.c:381
#2  0x809893a in php_rshutdown_imap (type=1, module_number=70) at imap.c:351
#3  0x808fbde in module_registry_cleanup (module=0x82a3700) at zend_API.c:847
#4  0x80911e7 in zend_hash_apply (ht=0x81a1b08, 
    destruct=0x808fbb8 <module_registry_cleanup>) at zend_hash.c:694
#5  0x808e51e in zend_deactivate () at zend.c:462
#6  0x807ec28 in php_request_shutdown (dummy=0x0) at main.c:733
#7  0x810c6ca in run_cleanups ()
#8  0x810af20 in ap_clear_pool ()
#9  0x810af95 in ap_destroy_pool ()
#10 0x810af0c in ap_clear_pool ()
#11 0x8119814 in child_main ()
#12 0x8119eb8 in make_child ()
#13 0x8119f67 in startup_children ()
#14 0x811a518 in standalone_main ()
#15 0x811ad77 in main ()
#16 0x8064af1 in _start ()





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 20:55 UTC] zak@php.net
There have been several bug fixes on various imap functions.
Please try installing a new release of PHP.
If the problem occurs again, please submit a new bug report.
 [2000-07-29 02:12 UTC] sniper@php.net
Forgot to close, Zak? 

--Jani
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 09:01:25 2020 UTC