PHP 4.0 Bug #3380: Zend crashes during imap operation
| From: | bbauman at wgate dot com | Date: | Tue, 01 Feb 2000 20:30:11 +0000 |
| Subject: | PHP 4.0 Bug #3380: Zend crashes during imap operation | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15134@lists.php.net to get a copy of this message | ||
From: bbauman@wgate.com
Operating system: FreeBSD 3.4-stable
PHP version: 4.0 Latest CVS (01/02/2000)
PHP Bug Type: Reproduceable crash
Bug description: Zend crashes during imap operation
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 ()