Bug #3333 [Com]: PHP crashes wen I open an empty mailbox

From: Date: Tue, 24 Nov 2020 16:47:20 +0000
Subject: Bug #3333 [Com]: PHP crashes wen I open an empty mailbox
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230588@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=3333&edit=1 ID: 3333 Comment by: lucywilliamsusa at rediffmail dot com Reported by: sutter at mygale dot org Summary: PHP crashes wen I open an empty mailbox Status: Closed Type: Bug Package: IMAP related Operating System: NT PHP Version: 3.0.14 Block user comment: N Private report: N New Comment: http://www.findbodyinshape.net/phenq-review.html <a href=" http://www.findbodyinshape.net/ ">findbodyinshape.net</a> Previous Comments: ------------------------------------------------------------------------ [2001-02-10 15:26:37] jimw@php.net no feedback, closing. ------------------------------------------------------------------------ [2000-08-01 21:32:23] hholzgra@php.net is this reproduceable with latest php and c-client versions? if so - what's the pop server you are using? i cannot reproduce this ... ------------------------------------------------------------------------ [2000-02-29 15:37:33] chagenbu at cvs dot php dot net I should also add that this is reproducible on Linux, so it's not just an NT problem. ------------------------------------------------------------------------ [2000-02-29 15:34:19] chagenbu at cvs dot php dot net The test case for this can be reduced to: <html> <?php $MAILSERVER= "{pop.mail.com/pop3}"; $link=imap_open($MAILSERVER,"login", "pass"); ?> </html> Same cleanup crash. Anyone have an idea what's different about empty pop3 mailboxes that seem to close the resource early? ------------------------------------------------------------------------ [2000-02-29 14:20:02] chagenbu at cvs dot php dot net here's a backtrace for this one as well. Once again, it doesn't give me the slightest clue as to what's going wrong. Program received signal SIGSEGV, Segmentation fault. 0x40231555 in zend_plist_delete () at zend_list.c:204 204 } (gdb) bt #0 0x40231555 in zend_plist_delete () at zend_list.c:204 #1 0x40377ba0 in __DTOR_END__ () from /usr/lib/apache/1.3/libphp4.so #2 0x4023172b in zend_fetch_resource () at zend_list.c:204 #3 0x4022e063 in add_index_unset () at zend_API.c:774 #4 0x4020b06f in php_init_config () at configuration-parser.y:138 #5 0x8051bdc in run_cleanups (c=0x80f7a14) at alloc.c:1939 #6 0x8050c54 in ap_clear_pool (a=0x80f598c) at alloc.c:682 #7 0x8050cb4 in ap_destroy_pool (a=0x80f598c) at alloc.c:712 #8 0x8050c40 in ap_clear_pool (a=0x80a556c) at alloc.c:675 #9 0x805c09f in child_main (child_num_arg=0) at http_main.c:3845 #10 0x805c5cc in make_child (s=0x8099c24, slot=0, now=951851762) at http_main.c:4235 #11 0x805c6e9 in startup_children (number_to_start=5) at http_main.c:4317 #12 0x805cb9b in standalone_main (argc=2, argv=0xbffff7a4) at http_main.c:4605 #13 0x805d24d in main (argc=2, argv=0xbffff7a4) at http_main.c:4933 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=3333 -- Edit this bug report at https://bugs.php.net/bug.php?id=3333&edit=1

« previous php.bugs (#230588) next »